Please sign in to comment.
samples: mesh: single timer to handle all transitions
This commit upgrade the implementation to reduce complexity in algorithm. Previously there was different timers for lightness as well as temperature transitions. But at time only single transition is remain activated & hence there is no need of multiple timer for each entiity. Signed-off-by: Vikrant More <firstname.lastname@example.org>
- Loading branch information...
Showing with 165 additions and 85 deletions.
- +2 −2 samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/main.c
- +117 −21 samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/device_composition.c
- +28 −0 samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/state_binding.c
- +4 −0 samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/state_binding.h
- +7 −52 samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/transition.c
- +7 −10 samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/transition.h
Oops, something went wrong.