BLE_GAP_GetRssi
C
uint16_t BLE_GAP_GetRssi(uint16_t connHandle, int8_t *p_rssi);Description
Retrieves the absolute Received Signal Strength Indication (RSSI) value in dBm.
Note
The RSSI metric represents 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 where the RSSI value will be stored. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Successfully retrieves the RSSI value. |
| MBA_RES_OOM | Internal memory allocation failure occurred. |
| MBA_RES_INVALID_PARA | Connection with the specified handle does not exist. |
