LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
deserializer.hpp
Go to the documentation of this file.
1
21#ifndef LSH_CORE_COMMUNICATION_DESERIALIZER_HPP
22#define LSH_CORE_COMMUNICATION_DESERIALIZER_HPP
23
24#include <ArduinoJson.h>
25
29namespace Deserializer
30{
36{
37 bool stateChanged = false;
38 bool networkClickHandled = false;
39};
40
41auto deserializeAndDispatch(const JsonDocument &doc) -> DispatchResult;
42
43} // namespace Deserializer
44
45#endif // LSH_CORE_COMMUNICATION_DESERIALIZER_HPP
Provides the entry point that validates and dispatches one inbound bridge payload.
Definition deserializer.cpp:34
auto deserializeAndDispatch(const JsonDocument &doc) -> DispatchResult
Main entry point for command processing.
Definition deserializer.cpp:233
Represents the result of a dispatch operation.
Definition deserializer.hpp:36
bool stateChanged
True if the device state was changed by the command.
Definition deserializer.hpp:37
bool networkClickHandled
True if network click timer processing must remain active after this dispatch.
Definition deserializer.hpp:38