1.1.2.1.1.4.23 BLE_GAP_GetRssi
C
uint16_t BLE_GAP_GetRssi(uint16_t connHandle, int8_t *p_rssi);Description
Get the absolute Received Signal Strength Indication (RSSI) value. (Units: dBm)
Note
The meaning of the RSSI metric is an absolute receiver signal strength value in dBm.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | Connection handle associated with this connection. |
| [out] p_rssi | Pointer to the buffer to store RSSI value. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Successfully get RSSI value. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | Connection with the specified handle does not exist. |
