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" 45 #if (SCENE_SETUP_SERVER_INSTANCES_MAX > 0) || (DOXYGEN) 46 #include "app_scene.h" 87 #define APP_LIGHT_LC_SETUP_SERVER_DEF(_name, _force_segmented, _mic_size) \ 88 APP_TIMER_DEF(_name ## _fsm_timer); \ 89 APP_TIMER_DEF(_name ## _light_pi_timer); \ 90 APP_TIMER_DEF(_name ## _sensor_delay_timer); \ 91 static app_light_lc_setup_server_t _name = \ 93 .light_lc_setup_srv.settings.force_segmented = _force_segmented, \ 94 .light_lc_setup_srv.settings.transmic_size = _mic_size, \ 95 .light_lc_setup_srv.fsm_timer.p_timer_id = &_name ## _fsm_timer, \ 96 .light_lc_setup_srv.light_pi_timer.p_timer_id = &_name ## _light_pi_timer, \ 97 .light_lc_setup_srv.sensor_delay_timer.p_timer_id = &_name ## _sensor_delay_timer, \ 111 #if (SCENE_SETUP_SERVER_INSTANCES_MAX > 0) || (DOXYGEN) 141 uint8_t element_index,
142 app_light_lightness_setup_server_t *
p_app_ll);
164 #if (SCENE_SETUP_SERVER_INSTANCES_MAX > 0) || (DOXYGEN) 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.
app_scene_model_interface_t scene_if
Internal variable.
app_scene_setup_server_t * p_app_scene
Internal variable.
uint32_t app_light_lc_scene_context_set(app_light_lc_setup_server_t *p_app, app_scene_setup_server_t *p_app_scene)
Sets the scene context.
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.