nrfxlib API 0.1.0
|
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.
0 | Success |
-NRF_EPERM | This API must be called before sdc_cfg_set() or sdc_enable(). |
-NRF_EOPNOTSUPP | Peripheral role is not supported. |