nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_support_ext_scan()

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().

Return values
0Success
-NRF_EPERMThis API must be called before sdc_cfg_set() or sdc_enable().
-NRF_EOPNOTSUPPExtended scanning state is not supported.