nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ sdc_support_parallel_scanning_and_initiating()

int32_t sdc_support_parallel_scanning_and_initiating ( void )

#include <softdevice_controller/include/sdc.h>

Support for scanning and initiating at the same time.

After this API is called, the controller will support:

  • Creating a connection while passive or active scanning is enabled
  • Enabling passive or active scanning while a connection attempt is ongoing

This API should be called only when centrals are supported (the application should call either 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 and initiating in parallel is not supported.