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

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[out] p_rssiPointer to the buffer where the RSSI value will be stored.

Return values

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