You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modules: implement controller with SMF state machine and ZBUS comm
Add a new controller module that serves as the central coordination unit
for the fire detection system. The module implements a hierarchical
state machine using Zephyr's SMF framework to manage application logic
and coordinate inter-module communication via ZBUS.
Key features:
- SMF-based state machine (Init/Idle/Active/Error/Recovery states)
- Automatic sensor coordination and error recovery
- Thread-safe ZBUS communication with configurable parameters
- Clean separation of concerns from main.c
- Clean-up and alignment of sensor module to controller module
This refactoring simplifies main.c to basic initialization while
establishing a scalable architecture for future module expansion.
Refs: #13
Signed-off-by: Natalia Pluta <pluta.natalia.m@gmail.com>
0 commit comments