Nordic Thingy:52
|
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... | |
Environment module API.
uint32_t m_environment_init | ( | m_ble_service_handle_t * | p_handle, |
m_environment_init_t * | p_params | ||
) |
Function for initializing the environment module.
[in] | p_handle | Pointer to the location to store the service handle. |
[in] | p_params | Pointer to the init parameters. |
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.
NRF_SUCCESS | If initialization was successful. |
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.
NRF_SUCCESS | If initialization was successful. |