Meshtastic vs MeshCore Explained: Why One Floods Every Message and the Other Learns a Path

User Avatar Aswinth Raj
Author
Share
HackerGadgets 4-in-1 Raspberry Pi HAT Board

A new 4-in-1 Raspberry Pi HAT from HackerGadgets puts an RTL-SDR receiver, a GPS/BeiDou receiver, a PCF85063A real-time clock and a Semtech SX1262 LoRa radio on one board, and the maker advertises Meshtastic support out of the box. The LoRa side (860 to 960 MHz, up to 22 dBm) is the part most buyers will put to work first, and it raises the question many people now ask before flashing any LoRa board: Meshtastic or MeshCore? Both build off-grid text networks from cheap LoRa radios, but they move messages through the mesh in very different ways.

Meshtastic: every node helps by rebroadcasting

According to the Meshtastic mesh algorithm docs, most of the protocol is built around managed flooding: a node that hears a packet rebroadcasts it, and every relay lowers the hop limit by one until it reaches zero. The default hop limit is 3 and the maximum is 7. Since firmware 2.6, direct messages use next-hop routing, so once a route is known only the relay that matches the next-hop byte repeats the packet. Broadcasts to a channel still flood.

The upside is zero setup. Turn on two radios with the same region and preset and they talk; every extra node on a hill makes the mesh stronger. The downside shows up in busy areas: lots of nodes repeating lots of packets eat airtime, and LoRa airtime is the scarce resource.

MeshCore: only repeaters repeat

MeshCore splits devices into fixed roles. A companion radio (paired to a phone over BLE, USB or Wi-Fi) never repeats anything. Only nodes flashed as repeaters, or room servers with repeat enabled, forward traffic. The first message to a contact goes out as a flood; the reply carries back the list of repeaters it passed through, and later messages embed that path so only the repeaters on it retransmit. Group channels still flood, but repeater owners can cap flood hops. The firmware allows up to 64 hops. Room servers act like a small BBS that stores posts, so a user who was out of range can log back in and get missed messages.

Side by side

Meshtastic MeshCore
Who repeats Every node by default (roles can change this) Only repeaters and room servers
Routing Managed flooding; next-hop for DMs since 2.6 Flood once, then stored source path
Hop limit Default 3, max 7 Up to 64
Offline messages Limited store-and-forward module Room servers keep history
Licence GPL-3.0 firmware MIT firmware (some clients closed)
Linux / Pi support meshtasticd on Linux Mainly MCU boards

Which one to run

  • Pick Meshtastic if there is already a local Meshtastic mesh near you, you want phone apps and broad hardware support, or you are adding a Pi-based node like this HAT. It is the default the HAT is sold for.
  • Pick MeshCore if you plan a deliberate network with a few well-placed repeaters, expect many users, or care about range across many hops more than plug-and-play.
  • The two are not compatible on air. A radio speaks one or the other, so the real question is which network your neighbours already run. Most popular boards (Heltec, RAK, LilyGO, Seeed XIAO nRF52 kits) can be flashed with either from a browser, so trying both costs only a reflash.

For the radio basics behind both projects, see the CircuitDigest guide to what LoRa is and how it works, and for a recent build, the pocket Meshtastic node that snaps onto a phone.

Image credit: HackerGadgets, product photo, resized.

About the author: Aswinth Raj is an electronics engineer and the editor of CircuitDigest, where he has published more than 150 hands-on projects and tutorials across Arduino, PIC, ESP32, Raspberry Pi and EV battery systems. He selects the stories on this page for what engineers and makers can actually learn or build from. Connect on LinkedIn

Have any question related to this Article?

Add a comment

No account needed. Your comment appears once a moderator has reviewed it.

Never shown publicly.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.