LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
serializer.hpp File Reference

Declares functions for serializing data structures into JSON or MsgPack format. More...

Include dependency graph for serializer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Serializer
 Provide functions to emit bridge payloads with the active serial codec.
 

Functions

auto Serializer::serializeStaticPayload (constants::payloads::StaticType payloadType) -> bool
 Send one compile-time pre-serialized static control payload.
 
auto Serializer::serializeDetails () -> bool
 Send the generated device-details payload using the active serial codec.
 
auto Serializer::serializeActuatorsState () -> bool
 Send an actuator-state payload with a bitpacked byte array.
 
auto Serializer::serializeNetworkClick (uint8_t clickableIndex, constants::ClickType clickType, bool confirm, uint8_t correlationId) -> bool
 Send a network click request/confirmation payload using the active serial codec.
 

Detailed Description

Declares functions for serializing data structures into JSON or MsgPack format.

Author
Jacopo Labardi (labodj)

Copyright 2026 Jacopo Labardi

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.