1.1.2.1.1.4.18 BLE_GAP_ExtScanInit

C

uint16_t BLE_GAP_ExtScanInit(uint16_t maxDataLen, uint8_t maxNumOfSecPkts);

Description

Initialize BLE GAP extended scanning module.

Parameters

ParameterDescription
[in] maxDataLenThis is the maximum pdu payload size that the scan is able to receive. See Extended scan data length.
[in] maxNumOfSecPktsThis is the maximum advertising packets on the secondary channel that the scan is able to receive. See Maximum secondary adv for extended scan. If value 0 is used, The maximum number would be adjusted automatically.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully initialize BLE GAP extended scanning module.
MBA_RES_OOMInternal memory allocation failure.