nRF5 SDK for Mesh v2.2.0
Functions
SoftDevice initialization helper module

Application support module for performing a typical SoftDevice initialization. More...

Functions

uint32_t mesh_softdevice_init (nrf_clock_lf_cfg_t lfc_cfg)
 Initialize the SoftDevice. More...
 

Detailed Description

Application support module for performing a typical SoftDevice initialization.

Function Documentation

◆ mesh_softdevice_init()

uint32_t mesh_softdevice_init ( nrf_clock_lf_cfg_t  lfc_cfg)

Initialize the SoftDevice.

Parameters
[in]lfc_cfgLow frequency clock configuration.
Return values
NRF_ERROR_INVALID_ADDRInvalid or NULL pointer supplied.
NRF_ERROR_INVALID_STATESoftDevice is already enabled, and the clock source and fault handler cannot be updated.
NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATIONSoftDevice interrupt is already enabled, or an enabled interrupt has an illegal priority level.
NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWNUnknown low frequency clock source selected.
NRF_SUCCESSSoftDevice was successfully initialized.

Documentation feedback | Developer Zone | Subscribe | Updated