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

◆ sdc_support_le_periodic_adv()

int32_t sdc_support_le_periodic_adv ( void  )

#include <softdevice_controller/include/sdc.h>

Support LE Periodic Advertising in the Advertising state.

After this API is called, the controller will support the HCI commands related to the Periodic Advertising State.

The application shall also call sdc_support_ext_adv() to enable support for extended advertising before enabling support for periodic advertising.

Note
This API also enables support for ADI in periodic advertising packets.
Return values
0Success
-NRF_EPERMThis API must be called before sdc_cfg_set() or sdc_enable().
-NRF_EOPNOTSUPPLE Periodic advertising is not supported.