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

sd_ble_gap_rssi_start not supported?

After I connected a BLE device (HRM sample program on dev kit), I call sd_ble_gap_rssi_start to do a RSSI measurement, it returns error code 6.

Apparently error code 6 means NRF_ERROR_NOT_SUPPORTED.

Is RSSI measurement not supported yet (I'm using API nrf51-ble-driver_win_0.4.1).

Attached (main.c) is the original HRM sample program modified to toggle RSSI measurement ON/OFF (rather than toggling HRM's CCCD descriptor). It makes it easy to reproduce the problem.

Parents
  • Yes, this code acts as a central on a PC with NRF USB dongle programmed with softdevice S120 v7.1.0 - SDK v7.2.0 (not 6.1.0 as my earlier comment). We use the firmware connectivity_1m_with_s120_1.0.1.hex provided by Nordic. So you mean rssi measurement is not supposed to work from the PC with this configuration? Is there any plan to support that later?

Reply
  • Yes, this code acts as a central on a PC with NRF USB dongle programmed with softdevice S120 v7.1.0 - SDK v7.2.0 (not 6.1.0 as my earlier comment). We use the firmware connectivity_1m_with_s120_1.0.1.hex provided by Nordic. So you mean rssi measurement is not supposed to work from the PC with this configuration? Is there any plan to support that later?

Children
No Data
Related