1.2.2.1.1.4.61 BLE_GAP_SetPeriAdvRxEnable

C

uint16_t BLE_GAP_SetPeriAdvRxEnable(uint16_t syncHandle, bool enable);

Parameters

ParameterDescription
[in] syncHandleIdentity of the periodic advertising train.
[in] enableEnable or disable reports. Set true to enable reports.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully enables or disables reports for the periodic advertising train.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.
MBA_RES_UNKNOWN_ADV_IDUnknown advertising identifier.