This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

softdevicee s120 rssi problem

Hi everyone

now i used softdevice s120 scan and connect two s110 device and i used sd_ble_gap_rssi_start() when connect event , then get the rssi in BLE_GAP_EVT_RSSI_CHANGED because i connect two s110 device so i get two rssi value but how can i know which rssi value is first device and which is second device?

thanks

Parents
  • Hi Peter,

    This is a GAP type event (ble_gap_evt_rssi_changed_t), so the connection handle should be available in the evt->gap_evt.conn_handle struct. The connection handle should correspond to the connection handle you got in the initial CONNECTED event.

    Is this not the case for you?

Reply
  • Hi Peter,

    This is a GAP type event (ble_gap_evt_rssi_changed_t), so the connection handle should be available in the evt->gap_evt.conn_handle struct. The connection handle should correspond to the connection handle you got in the initial CONNECTED event.

    Is this not the case for you?

Children
Related