A lightweight, hybrid routing mesh protocol for packet radios
open sourceMITfree
MeshCore is an off-grid, encrypted mesh messaging system for LoRa radios, and the lightweight C++ library behind it that routes packets over multiple hops on embedded devices. Nodes have fixed roles: companion nodes connect a person's phone or computer over Bluetooth, USB or WiFi and don't repeat messages, while repeaters (often solar powered, placed high) and room servers extend the network, so messages get through without WiFi, cellular or the internet. Prebuilt firmware for supported ESP32, nRF52 and Raspberry Pi RP2040/RP2350 boards installs from the web flasher, and repeaters are configured from a web config tool, over USB, or remotely over LoRa. The MeshCore app runs on Android, iOS, Windows, macOS, Linux and the web, and messages and channels are end-to-end encrypted. Compared with Meshtastic, it focuses on lightweight multi-hop routing.
Problems it solves
- send text messages when there's no cell coverage or internet, like on a hike or after a disaster
- build a long-range encrypted messaging network with cheap LoRa radios
- put a solar-powered repeater on a hill to extend our off-grid radio network
- add multi-hop mesh routing to my own LoRa embedded project
- chat with friends and family on a private encrypted channel without any phone network
- relay readings from remote sensors back to base over LoRa
- a lighter alternative to Meshtastic where my phone's node doesn't repeat everyone's traffic
Features
- multi-hop packet routing with a configurable hop limit
- companion, repeater and room server firmware roles
- end-to-end encrypted messages, public and private channels
- companion nodes connect over Bluetooth, USB or WiFi
- web flasher for prebuilt firmware
- web config tool for repeaters and room servers, and remote management over LoRa
- KISS modem firmware for host applications
- sensor node example with telemetry and alerting
- C++ library with example applications built with PlatformIO
- command-line interface over the serial console
Alternatives
The same job
These do what MeshCore does.
- Meshtastic An open-source, off-grid mesh communication system
