int ble_gap_conn_rssi( uint16_t conn_handle, int8_t *out_rssi )
Retrieves the most-recently measured RSSI for the specified connection. A connection's RSSI is updated whenever a data channel PDU is received.
Parameter | Description |
---|---|
conn_handle | Specifies the connection to query. |
out_rssi | On success, the retrieved RSSI is written here. |
Value | Condition |
---|---|
0 | Success. |
HCI return code | The controller rejected the request. |
Core return code | Unexpected error. |