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

◆ sdc_support_dle_peripheral()

int32_t sdc_support_dle_peripheral ( void )

#include <softdevice_controller/include/sdc.h>

Support Data Length Extensions for a peripheral device.

After this API is called, the controller will support data length extension in the peripheral role. That is:

  • DLE is marked supported in the LL Feature Exchange procedure.
  • All DLE HCI APIs are supported. The controller replies with LL_LENGTH_RSP when a LL_LENGTH_REQ is received.
Note
The application is required to call both sdc_support_dle_central() and sdc_support_dle_peripheral() if both central and peripheral roles are supported.
Return values
0Success
-NRF_EPERMThis API must be called before sdc_cfg_set() or sdc_enable().
-NRF_EOPNOTSUPPData Length Extension or Peripheral Role is not supported.