BLE_GAP_ExtScanInit

C

uint16_t BLE_GAP_ExtScanInit(uint16_t maxDataLen, uint8_t maxNumOfSecPkts);

Description

Initializes the BLE GAP extended scanning module.

Parameters

ParameterDescription
[in] maxDataLenThe maximum PDU payload size that the scanner can receive. See Extended scan data length.
[in] maxNumOfSecPktsThe maximum number of advertising packets on the secondary channel that the scanner can receive. See Maximum secondary adv for extended scan. A value of 0 adjusts the maximum number automatically.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully initializes the BLE GAP extended scanning module.
MBA_RES_OOMInternal memory allocation failure occurred.