Mocktastic is a small, customizable Meshtastic-compatible LoRa client designed for ESP32 boards using the ArduinoIDE. It serves as an educational and experimental project demonstrating Meshtastic packet handling in C++, with two modes: DECODER for serial shell interaction and SENSOR to function as a DHT22 temperature and humidity sensor. The project targets LilyGO T3 LoRa32 V1.6.1 hardware but can be adapted to other ESP32/LoRa devices. It uses MBDTLS for cryptography during testing and Nano-Protobuf for encoding, with unit tests implemented via the Doctest framework. Users configure channel keys and node identities in keys.h, ensuring private cryptographic keys are kept secret. The DECODER mode enables sending and receiving text messages via various commands over Meshtastic channels, while the SENSOR mode responds to sensor data requests on a private channel. The project emphasizes separation of protocol logic from hardware for easier testing. It is not intended for production or safety-critical deployment, and battery life and radio configuration may require further adaptation for specific applications.
Source:
https://opengraph.githubassets.com/8b7bc00e65f29f9e7a1d6ec92e91c291ec25b90c9294644a0f2ff0eacb604078/Vapmuz/Mocktastic
#news_en #lora #esp32 #meshtastic #github_com
GitHub
GitHub - Vapmuz/Mocktastic: Custom client implementation in C++ of Meshtastic for ArduinoIDE and ESP32 (Lilygo T3 v1.6.1).
Custom client implementation in C++ of Meshtastic for ArduinoIDE and ESP32 (Lilygo T3 v1.6.1). - Vapmuz/Mocktastic