Mocktastic is a small, customizable Meshtastic-compatible LoRa client for ESP32 boards using ArduinoIDE environment. It is an educational and experimental implementation, not a fork of the official Meshtastic firmware. The project demonstrates how to build and decode Meshtastic packets in C++, and includes a working environmental-sensor example.
The firmware has two compile-time modes:
-
DECODER provides an interactive serial shell for receiving, decoding, and sending text messages on configured Meshtastic channels and direct messages.
-
SENSOR turns the board into a DHT22 temperature and humidity sensor. It can send measurements and respond to
/dht
messages on its configured private channel.
The implementation targets the LilyGO T3 LoRa32 V1.6.1 (ESP32-PICO and SX1276) and is intended to be adapted to other compatible ESP32/LoRa hardware.
The project uses MBDTLS for the cryptographic part during the test phase and Nano-Protobuf as a lightweight protobuf encoder. The tests are written using Doctest’s lightweight C++ tests.
The repository root contains meshtastic_decoder/
, which holds the firmware
and host-side tests:
File or directory | Purpose |
---|---|
|
Arduino entry point, board integration, radio setup, and compile-time…