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

◆ sdc_support_adv()

int32_t sdc_support_adv ( void  )

#include <softdevice_controller/include/sdc.h>

Support Advertising State.

After this API is called, the controller will support the HCI commands and events related to the Advertising State. Only non-connectable advertising is supported. To support connectable advertising, call sdc_support_peripheral().

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