6294044569a21f450035043134691faf2a8f2659
Adds the core data structures and interfaces for the comms refactor. No behaviour change — old CommandHandler is completely untouched. New files: CommandEnvelope.hpp — universal message wrapper (transport + command + reply lambda) CommandResult.hpp — standardised return type with ok/err/info factories ICommandHandler.hpp — interface every domain handler will implement ITransport.hpp — interface every transport layer will implement CommandBus.hpp/.cpp — registry + dispatcher (std::map, O(log n) lookup) Two minor corrections vs. plan: std::unordered_map → std::map (Arduino String has no std::hash) LOG_WARN → LOG_WARNING (codebase macro name) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
Project Vesper is an ESP32-powered controller board with multiple sensors and outputs to control electromechanical bell-ringing and clock mechanisms (e.g., church bells).
The project is written in C++ using the Arduino Framework.
16 MiB
Languages
C++
99.2%
C
0.8%