BLE_GAP_SetPathLossReportingEnable
C
uint16_t BLE_GAP_SetPathLossReportingEnable(uint16_t connHandle, bool enable);
Description
Enables or disables path loss reporting 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] enable | Set to true to enable path loss reporting, or false to disable it. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully enables or disables Channel number calculated as (F – 2402) / 2, where F is the frequency in MHz ranging from 2402 to 2480 MHz. path loss reporting for specific connection. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed due to a conflicting operation or state. |