Nordic Thingy:52 v2.2.0
Environment

Environment module API. More...

Modules

 Environment flash configuration
 Environment module flash configuration.
 

Data Structures

struct  m_environment_init_t
 Initialization parameters. More...
 

Macros

#define ENVIRONMENT_CONFIG_DEFAULT
 Weather station default configuration.
 

Functions

uint32_t m_environment_init (m_ble_service_handle_t *p_handle, m_environment_init_t *p_params)
 Function for initializing the environment module. More...
 
uint32_t m_environment_start (void)
 Function for starting the environment module. More...
 
uint32_t m_environment_stop (void)
 Function for stopping the environment module. More...
 

Detailed Description

Environment module API.

Function Documentation

◆ m_environment_init()

uint32_t m_environment_init ( m_ble_service_handle_t p_handle,
m_environment_init_t p_params 
)

Function for initializing the environment module.

Parameters
[in]p_handlePointer to the location to store the service handle.
[in]p_paramsPointer to the init parameters.
Return values
NRF_SUCCESSIf initialization was successful.

◆ m_environment_start()

uint32_t m_environment_start ( void  )

Function for starting the environment module.

This function should be called after m_environment_init to start the environment module.

Return values
NRF_SUCCESSIf initialization was successful.

◆ m_environment_stop()

uint32_t m_environment_stop ( void  )

Function for stopping the environment module.

This function should be called after m_environment_start to stop the environment module.

Return values
NRF_SUCCESSIf initialization was successful.