BLE_GAP_ReadRemoteTxPowerLevel

C

uint16_t BLE_GAP_ReadRemoteTxPowerLevel(uint16_t connHandle, uint8_t phy);

Description

Requests the transmit power level used by the remote device on a specific connection.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] phyThe PHY for which to request the power level. See Transmitter PHY type.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issues the request for the remote device's transmit power level.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.