1.2.2.1.1.4.68 BLE_GAP_SetTxPowerReportingEnable
C
uint16_t BLE_GAP_SetTxPowerReportingEnable(uint16_t connHandle, bool localEnable, bool remoteEnable);
Description
Enable or disable the reporting to the transmit power level changes in the local and remote device for the specific connection.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] localEnable | Enable or disable local transmit power reports. Set true to enable the local transmit power reports. |
[in] remoteEnable | Enable or disable remote transmit power reports. Set true to enable the remote transmit power reports. |
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. |