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

◆ sdc_support_dle_central()

int32_t sdc_support_dle_central ( void  )

#include <softdevice_controller/include/sdc.h>

Support Data Length Extensions for a central device.

After this API is called, the controller will support data length extension in the central 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 Central Role is not supported.