Mesh Guide
On this page

Running a MeshCore repeater#

Repeaters are what make a MeshCore mesh work: they relay everyone's messages, so where you put one and how you set it up affects everyone nearby. Talk to your local mesh before putting one up.

Setting it up#

Flash the Repeater firmware, then connect over USB at config.meshcore.io to set its name, location and passwords. Some settings, including the frequency, can only be changed over the serial console, which the flasher also provides:

set name Hilltop Repeater
set freq 910.525
password a-long-unique-password

Every command should answer OK.

Change the default password

Every repeater and room server ships with the admin password password. Anyone in range can manage it over the air until you change it.

Run repeaters and room servers on separate boards. A room server can repeat too, but MeshCore's own FAQ recommends against it.

If your local mesh uses regions, set those up too. A repeater with Wi-Fi can also report what it hears as an observer.

Settings worth knowing#

Most defaults are fine for a single repeater. These are the settings local meshes most often tune. Ask what yours recommends rather than changing them on your own, since several only help when nearby repeaters use them too.

Setting Range Default What it does
advert.interval 60–240 minutes Off once configured How often the repeater announces itself to nodes in direct range
flood.advert.interval 3–168 hours How often it announces itself across the whole mesh
txdelay 0–2 0.5 Scales the random wait before relaying a flood packet. Higher means fewer collisions between repeaters but slower delivery
rxdelay 0–20 0 Makes copies heard with a weak signal wait before being relayed, so strong paths go first and the weak copies get dropped as duplicates
loop.detect off, minimal, moderate, strict off Drops flood packets that have already passed through this repeater several times
path.hash.mode 0–2 0 Size of each repeater's ID in a packet's path: 1, 2 or 3 bytes. Bigger IDs mean fewer clashes but fewer hops (64, 32 or 21)
multi.acks 0 or 1 0 Enables multiple acknowledgements for direct messages
agc.reset.interval 0–1020 seconds 0 (off) Resets the radio periodically to cure "deafness". See Choosing a radio

Set any of them with set <setting> <value>, and check one with get <setting>.

A few notes on these:

  • Flood adverts reach every repeater in the mesh, so they cost airtime everywhere. Busy meshes often set flood.advert.interval toward the top of its range. MeshCore's own docs disagree on the default (the CLI reference says 47 hours, the FAQ 12), so set it explicitly.
  • path.hash.mode above 0 needs care: MeshCore's FAQ says repeaters older than 1.14 silently drop packets with multi-byte path hashes. Check that the repeaters around you are up to date first.
  • agc.reset.interval costs the occasional packet on every reset, so only turn it on for a repeater that's actually going deaf. MeshCore's FAQ suggests 4.

Every setting is documented in MeshCore's CLI reference.

Updating#

Update a repeater the same way you flashed it. Don't use full erase when updating: it wipes the repeater's identity, and every node that knew it would see it as a new repeater.