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

◆ sdc_support_scan()

int32_t sdc_support_scan ( void  )

#include <softdevice_controller/include/sdc.h>

Support Scanning state.

After this API is called, the controller will support the HCI commands and events related to the scanning state.

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_EOPNOTSUPPScanning state is not supported.