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.
Note
BLE_GAP_ScanInit is also required for this module enabling.
Parameters
Parameter | Description |
---|---|
[in] maxDataLen | This is the maximum pdu payload size that the scan is able to receive. See Extended scan data length. |
[in] maxNumOfSecPkts | This 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 value | Description |
---|---|
MBA_RES_SUCCESS | Successfully initialize BLE GAP extended scanning module. |
MBA_RES_OOM | Internal memory allocation failure. |