Application support module for performing a typical SoftDevice initialization.
More...
Application support module for performing a typical SoftDevice initialization.
◆ mesh_softdevice_init()
uint32_t mesh_softdevice_init |
( |
nrf_clock_lf_cfg_t |
lfc_cfg | ) |
|
Initialize the SoftDevice.
- Parameters
-
[in] | lfc_cfg | Low frequency clock configuration. |
- Return values
-
NRF_ERROR_INVALID_ADDR | Invalid or NULL pointer supplied. |
NRF_ERROR_INVALID_STATE | SoftDevice is already enabled, and the clock source and fault handler cannot be updated. |
NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION | SoftDevice interrupt is already enabled, or an enabled interrupt has an illegal priority level. |
NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN | Unknown low frequency clock source selected. |
NRF_SUCCESS | SoftDevice was successfully initialized. |