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.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] localEnableEnable (true) or disable (false) local transmit power reports.
[in] remoteEnableEnable (true) or disable (false) remote transmit power reports.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issues the request.
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.