nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_support_peripheral()

int32_t sdc_support_peripheral ( void  )

#include <softdevice_controller/include/sdc.h>

Support Peripheral role.

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

The application shall call either sdc_support_adv() or sdc_support_ext_adv() to be able to support connection establishment.

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