This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S130 ble_app_hrs_rscs_relay

Hi, i have a question about s130 ble_app_hrs_rscs_relay demo, i want to add nus service to this demo, so i transplant the code from the nus demo ,

1:advertising_init use follow param, can't find any service on nrf tool。

static ble_uuid_t m_adv_uuids[] = {{BLE_UUID_HEART_RATE_SERVICE, BLE_UUID_TYPE_BLE}, {BLE_UUID_RUNNING_SPEED_AND_CADENCE, BLE_UUID_TYPE_BLE}, {BLE_UUID_NUS_SERVICE, 0x02}};*/ /**< Universally unique service identifiers. */

2:advertising_init use follow param, can‘t find nus service,but can find rate & running speed and cadence。

static ble_uuid_t m_adv_uuids[] = {{BLE_UUID_HEART_RATE_SERVICE, BLE_UUID_TYPE_BLE}, {BLE_UUID_RUNNING_SPEED_AND_CADENCE, BLE_UUID_TYPE_BLE}, {BLE_UUID_NUS_SERVICE, 0x01}};*/ /**< Universally unique service identifiers. */

3.advertising_init use follow param, can find nus service。

static ble_uuid_t m_adv_uuids[] = {{BLE_UUID_NUS_SERVICE, 0x02}};

how can i add nus service to the ble_app_hrs_rscs_relay demo?

Related