48 #ifndef __ENVIRONMENT_H__ 49 #define __ENVIRONMENT_H__ 55 #include "nrf_drv_twi.h" 60 const nrf_drv_twi_t * p_twi_instance;
64 #define ENVIRONMENT_CONFIG_DEFAULT { \ 65 .temperature_interval_ms = 2000, \ 66 .pressure_interval_ms = 2000, \ 67 .humidity_interval_ms = 2000, \ 68 .color_interval_ms = 1500, \ 75 .gas_interval_mode = GAS_MODE_10S \ 78 #define ENVIRONMENT_BASELINE_DEFAULT { \ uint32_t m_environment_stop(void)
Function for stopping the environment module.
uint32_t m_environment_start(void)
Function for starting the environment module.
BLE service handle structure.
Definition: m_ble.h:83
uint32_t m_environment_init(m_ble_service_handle_t *p_handle, m_environment_init_t *p_params)
Function for initializing the environment module.
Initialization parameters.
Definition: m_environment.h:58