BLE_GAP_SetTxPowerReportingEnable
C
uint16_t BLE_GAP_SetTxPowerReportingEnable(uint16_t connHandle, bool localEnable, bool remoteEnable);
Description
Enables or disables reporting of transmit power level changes for a specific connection.
Note
This command should be used only after the BLE_GAP_EVT_FEATURE_EXCHANGE_COMPL event has been received.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] localEnable | Enable (true) or disable (false) local transmit power reports. |
[in] remoteEnable | Enable (true) or disable (false) remote transmit power reports. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issues the request. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed due to a conflicting operation or state. |