BLE_GAP_SetPeriAdvRxEnable

C

uint16_t BLE_GAP_SetPeriAdvRxEnable(uint16_t syncHandle, bool enable);

Parameters

ParameterDescription
[in] syncHandleIdentity of the periodic advertising train.
[in] enableSet to true to enable reports, or false to disable them.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully enables or disables for the periodic advertising train.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.
MBA_RES_UNKNOWN_ADV_IDUnknown advertising identifier.