When a Notify comes in to my Central, I'd like to know the RSSI associated with that message. Is that data stored in the event somewhere?
When a Notify comes in to my Central, I'd like to know the RSSI associated with that message. Is that data stored in the event somewhere?
Enable RSSI with sd_ble_gap_rssi_start. A new event is reported whenever the RSSI value changes, until sd_ble_gap_rssi_stop is called. See BLE_GAP_EVT_RSSI_CHANGED.
How do I know which peripheral is associated with the RSSI_CHANGED event? It will be quite different for each peripheral, of course.
How do I know which peripheral is associated with the RSSI_CHANGED event? It will be quite different for each peripheral, of course.