Nordic Thingy:52 v2.2.0
BLE flash configuration

BLE handling module flash configuration. More...

Functions

uint32_t m_ble_flash_config_load (ble_tcs_params_t **p_config)
 Function for loading the configuration. More...
 
uint32_t m_ble_flash_config_store (const ble_tcs_params_t *p_config)
 Function for storing the configuration. More...
 
uint32_t m_ble_flash_init (const ble_tcs_params_t *p_default_config, ble_tcs_params_t **p_config)
 Function for initializing Thingy configuration flash handling. More...
 

Detailed Description

BLE handling module flash configuration.

Function Documentation

◆ m_ble_flash_config_load()

uint32_t m_ble_flash_config_load ( ble_tcs_params_t **  p_config)

Function for loading the configuration.

Parameters
[out]p_configPointer to loaded configuration.
Return values
NRF_SUCCESSOperation was successful.
Othercodes from the underlying drivers.

◆ m_ble_flash_config_store()

uint32_t m_ble_flash_config_store ( const ble_tcs_params_t *  p_config)

Function for storing the configuration.

Parameters
[in]p_configPointer to configuration to be stored.
Return values
NRF_SUCCESSOperation was successful.
NRF_ERROR_NULLIf a NULL pointer was supplied.
Othercodes from the underlying drivers.

◆ m_ble_flash_init()

uint32_t m_ble_flash_init ( const ble_tcs_params_t *  p_default_config,
ble_tcs_params_t **  p_config 
)

Function for initializing Thingy configuration flash handling.

Parameters
[in]p_default_configPointer to default configuration.
[out]p_configPointer to current configuration.
Return values
NRF_SUCCESSOperation was successful.
NRF_ERROR_NULLIf a NULL pointer was supplied.
Othercodes from the underlying drivers.