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

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] enableSet to true to enable path loss reporting, or false to disable it.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully 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 reportingfor specific connection.
MBA_RES_INVALID_PARAThe parameters provided are invalid.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.