1.2.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

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[out] p_rssiPointer to the buffer to store RSSI value.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully get RSSI value.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAConnection with the specified handle does not exist.