nrfxlib API 2.8.99
|
int32_t sdc_support_ext_scan | ( | void | ) |
#include <softdevice_controller/include/sdc.h>
Support scanning for extended advertising PDUs.
After this API is called, the controller will support the HCI commands and events related to both legacy and extended scanning.
To reduce the size of the final linked image, the application should not call both sdc_support_scan() and sdc_support_ext_scan().
This API shall not be called together with sdc_support_central() or sdc_support_ext_central().
0 | Success |
-NRF_EPERM | This API must be called before sdc_cfg_set() or sdc_enable(). |
-NRF_EOPNOTSUPP | Extended scanning state is not supported. |