1.2.2.1.1.4.30 BLE_GAP_ReadRemoteTxPowerLevel
C
uint16_t BLE_GAP_ReadRemoteTxPowerLevel(uint16_t connHandle, uint8_t phy);
Description
Read the transmit power level used by remote device on the specific connection.
Events generated
BLE_GAP_EVT_TRANSMIT_POWER_REPORTING Generated for Tx power level information.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] phy | PHY. See Transmitter PHY type. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue the request. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | Invalid parameters. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed. |