A clean-room, header-only C/C++ implementation of the Meshtastic LoRa mesh protocol designed for embedded systems. This standalone library allows devices to interoperate with the Meshtastic network without requiring heavy dependencies like Arduino, RadioLib, or FreeRTOS. It handles everything from raw LoRa byte processing to decoded messages including text, position, and telemetry data.
Key features include:
- Packet parsing and AES-256-CTR encryption/decryption
- PKI direct messages using x25519 key exchange
- Channel management and PSK expansion
- Protobuf decoding for various message types without Nanopb dependency
- Radio configuration including regional settings and modem presets
- CSMA/CA implementation for MAC protocol compliance