Defines build-time configurable parameters for the controller-to-bridge serial link. More...
#include <ArduinoJson.h>#include <stdint.h>#include "internal/etl_bit.hpp"#include "internal/user_config_bridge.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | constants |
| Namespace that groups compile-time constants. | |
| namespace | constants::bridgeSerial |
Constants that configure the serial link shared with lsh-bridge. | |
Variables | |
| constexpr uint16_t | constants::bridgeSerial::PACKED_STATE_BYTES |
| Number of bytes required to represent all actuator states on wire. | |
| constexpr uint16_t | constants::bridgeSerial::RECEIVED_DOC_MIN_SIZE |
| Calculated minimum size for the decoded bridge document. | |
| constexpr uint16_t | constants::bridgeSerial::RECEIVED_DOC_SIZE |
| Final allocated size for the received document, ensuring a minimum of 48 bytes. | |
| constexpr uint16_t | constants::bridgeSerial::RAW_INPUT_BUFFER_FIXED_CMD_SIZE |
| Minimum JSON-line buffer size required by the widest fixed-width command. | |
| constexpr uint16_t | constants::bridgeSerial::RAW_INPUT_BUFFER_VARIABLE_CMD_SIZE |
Maximum JSON-line size of a packed SET_STATE command. | |
| constexpr uint16_t | constants::bridgeSerial::RAW_INPUT_BUFFER_SIZE |
| Final allocated size for the raw serial input buffer used by the active codec. | |
Defines build-time configurable parameters for the controller-to-bridge serial link.
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.