38 #ifndef APP_LIGHT_LC_H__ 39 #define APP_LIGHT_LC_H__ 43 #include "app_light_lightness.h" 44 #include "light_lc_setup_server.h" 84 #define APP_LIGHT_LC_SETUP_SERVER_DEF(_name, _force_segmented, _mic_size) \ 85 APP_TIMER_DEF(_name ## _fsm_timer); \ 86 APP_TIMER_DEF(_name ## _light_pi_timer); \ 87 APP_TIMER_DEF(_name ## _sensor_delay_timer); \ 88 static app_light_lc_setup_server_t _name = \ 90 .light_lc_setup_srv.settings.force_segmented = _force_segmented, \ 91 .light_lc_setup_srv.settings.transmic_size = _mic_size, \ 92 .light_lc_setup_srv.fsm_timer.p_timer_id = &_name ## _fsm_timer, \ 93 .light_lc_setup_srv.light_pi_timer.p_timer_id = &_name ## _light_pi_timer, \ 94 .light_lc_setup_srv.sensor_delay_timer.p_timer_id = &_name ## _sensor_delay_timer, \ 130 uint8_t element_index,
131 app_light_lightness_setup_server_t *
p_app_ll);
uint32_t app_light_lc_ponoff_binding(app_light_lc_setup_server_t *p_app, bool *p_lc_control)
Informs the model that the system is ready to have the powerup onoff bindings.
uint32_t app_light_lc_model_init(app_light_lc_setup_server_t *p_app, uint8_t element_index, app_light_lightness_setup_server_t *p_app_ll)
Initializes the behavioral module for the Light LC Setup Server model.
light_lc_setup_server_t light_lc_setup_srv
LC setup server context.
Application level structure holding the LC Setup server model context.
app_light_lightness_setup_server_t * p_app_ll
Pointer to the light lightness app structure.