BLE_GAP_SetExtScanningParams

C

uint16_t BLE_GAP_SetExtScanningParams(uint8_t filterPolicy, BLE_GAP_ExtScanningPhy_T *p_extScanPhy);

Description

Sets the extended scan parameters for advertising physical channels.

Note

This API is part of the extended advertising feature and is disallowed if any legacy advertising feature API has been used previously. See BLE_GAP_ADV_CATS for details on advertising APIs. Initialization with BLE_GAP_ScanInit and BLE_GAP_ExtScanInit is required before using this API.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully sets the extended scan parameters.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.