nrfxlib API 2.8.99
|
int32_t sdc_cfg_set | ( | uint8_t | config_tag, |
uint8_t | config_type, | ||
sdc_cfg_t const * | p_resource_cfg ) |
#include <softdevice_controller/include/sdc.h>
Change or add a SoftDevice Controller configuration.
To change the default configuration, update SDC_DEFAULT_RESOURCE_CFG_TAG. To create or update a new configuration, provide another resource_cfg_tag.
[in] | config_tag | Configuration tag. |
[in] | config_type | Configuration type. See also sdc_cfg_type. |
[in] | p_resource_cfg | Configuration to be changed. |
-NRF_EOPNOTSUPP | Unsupported configuration. |
-NRF_ENOMEM | Configuration required over 64 kB of RAM that is not supported currently. |
-NRF_EINVAL | Invalid argument provided. |
-NRF_EPERM | This API was called after sdc_enable(). |