Expand description
Wire protocol types and fixed-size little-endian serialization.
Every integer is fixed-width LE. No varints, no zigzag.
See docs/PROTOCOL.md for the complete specification.
Modules§
- framing
- COBS framing for the DongLoRa wire protocol.
Structs§
- Radio
Config - Complete LoRa radio configuration.
Enums§
- Bandwidth
- LoRa signal bandwidth.
- Command
- Host → firmware commands.
- Error
Code - Error codes reported to the host.
- Response
- Firmware → host responses.
Constants§
- MAX_
PAYLOAD - Maximum LoRa payload size in bytes.
- PREAMBLE_
DEFAULT - Sentinel value for
preamble_len: use the firmware default (16 symbols). - RADIO_
CONFIG_ SIZE - RadioConfig wire size (fixed).
- TX_
POWER_ MAX - Sentinel value for
tx_power_dbm: use the board’s maximum TX power.