v1.18.0-KW7JOE-1.0.1
Our own build of the MeshCore Companion firmware, with a location tracker and a few extras. Based on stock MeshCore v1.18.0, and it works with the normal MeshCore app.
Downloads
Pick your board, then the way your phone or computer connects to it. Most people want Bluetooth. Plug the radio into USB and hit Flash now to load it right from this page (Chrome or Edge on a computer).
| BOARD | CHIP | LINK | FILE | SIZE | FLASH FROM BROWSER | |
|---|---|---|---|---|---|---|
| 1 | RAK 1 W (RAK3401 + RAK13302) | nRF52840 | Bluetooth | DRAG + DROPble-v1.18.0-KW7JOE-1.0.1.uf2BT UPDATEble-v1.18.0-KW7JOE-1.0.1.zip | 0.8 MB0.4 MB | |
| 2 | RAK 1 W (RAK3401 + RAK13302) | nRF52840 | USB | DRAG + DROPusb-v1.18.0-KW7JOE-1.0.1.uf2BT UPDATEusb-v1.18.0-KW7JOE-1.0.1.zip | 0.8 MB0.4 MB | |
| 3 | RAK 1 W (RAK3401 + RAK13302) | nRF52840 | WiFi | -- No WiFi on this board. | ||
| 4 | LilyGo T-LoRa V2.1-1.6 | ESP32 | Bluetooth | FIRST INSTALLble-v1.18.0-KW7JOE-1.0.1-merged.binUPDATEble-v1.18.0-KW7JOE-1.0.1.bin | 1.9 MB1.8 MB | |
| 5 | LilyGo T-LoRa V2.1-1.6 | ESP32 | USB | FIRST INSTALLusb-v1.18.0-KW7JOE-1.0.1-merged.binUPDATEusb-v1.18.0-KW7JOE-1.0.1.bin | 1.0 MB1.0 MB | |
| 6 | LilyGo T-LoRa V2.1-1.6 | ESP32 | WiFi | FIRST INSTALLwifi-v1.18.0-KW7JOE-1.0.1-merged.binUPDATEwifi-v1.18.0-KW7JOE-1.0.1.bin | 1.5 MB1.5 MB | |
| 7 | LilyGo T-Beam (SX1276) | ESP32 | Bluetooth | FIRST INSTALLble-v1.18.0-KW7JOE-1.0.1-merged.binUPDATEble-v1.18.0-KW7JOE-1.0.1.bin | 1.5 MB1.4 MB | |
| 8 | LilyGo T-Beam (SX1276) | ESP32 | USB | -- Not built yet. Ask if you need it. | ||
| 9 | LilyGo T-Beam (SX1276) | ESP32 | WiFi | -- Not built yet. Ask if you need it. | ||
Companion only. Repeater and Room Server builds are not here yet. Use the stock ones from the MeshCore flasher.
WiFi build: set your network over USB first with set wifi.ssid NAME and set wifi.pwd PASSWORD, then reboot.
Have a board that is not listed? Ask and we will build it.
MODs
What this build adds on top of stock MeshCore.
Location tracker
The radio sends its own position by itself, to a private channel or to one contact. Every 30 seconds while moving, every 9 minutes sitting still. The channel beacon uses the same format the MeshCore SAR app draws on its map.
Auto-adverts
Stock companion radios only advert when you tap the button. This one can do it on a timer, local and flood, each set in minutes.
Smaller changes
- Companion "repeat" mode works on any frequency, and has its own command (
set repeat on) because the app will not send it. - 2-byte path hashes by default.
- Bluetooth PIN is always
123456, also on boards with a screen.
Commands
Every command this firmware adds on top of stock MeshCore. All of it is off until you turn it on. Type them in the radio's command line, for example with the CLI console. Hit Copy, paste, and swap anything in <brackets> for your own value. Settings are saved and survive a reboot.
| GROUP | COMMAND | WHAT IT DOES | VALUES | DEFAULT | ||
|---|---|---|---|---|---|---|
| 1 | Tracker | get track | Show the tracker target and timing. | — | — | |
| 2 | Tracker | set track.target chan <n> | Send positions to a private channel, as the 16-byte beacon the MeshCore SAR app maps. | channel number, not 0 (Public) | off | |
| 3 | Tracker | set track.target contact <key> | Send positions to one contact as a text message. | first 12 characters of the contact's public key | off | |
| 4 | Tracker | set track.target off | Turn the tracker off. | — | — | |
| 5 | Tracker | set track.interval <secs> | Time between sends while moving. | 5 to 3600 | 30 | |
| 6 | Tracker | set track.idle <secs> | Time between sends while sitting still. | 30 to 43200 | 540 | |
| 7 | Tracker | set track.move <metres> | Distance from the last sent position that counts as moving. | 1 to 1000 | 10 | |
| 8 | Tracker | track | Send one position right now. | — | — | |
| 9 | Repeat | get repeat | Show whether the companion is repeating packets. | — | — | |
| 10 | Repeat | set repeat on | Repeat packets it hears, on the frequency the radio is already set to. Works on any frequency. | on, off | off | |
| 11 | Repeat | set repeat off | Stop repeating. | — | — | |
| 12 | Adverts | get advert.interval | Show the local (zero-hop) auto-advert timer. | — | — | |
| 13 | Adverts | set advert.interval <mins> | Send a local advert on a timer. | 0 = off, 1 to 1440 | 0 | |
| 14 | Adverts | get flood.advert.interval | Show the flood auto-advert timer. | — | — | |
| 15 | Adverts | set flood.advert.interval <mins> | Send a flood advert on a timer. | 0 = off, 1 to 10080 | 0 | |
| 16 | Adverts | advert | Send one local advert right now. | — | — | |
| 17 | Adverts | advert.flood | Send one flood advert right now. | — | — |
Tracker notes: a board with GPS only sends when it has a fix. A board without GPS sends the position you set on it. For the SAR app to draw a tracker, the tracker has to be in that phone's contact list.
Tools
Everything here runs in Chrome or Edge on a computer, with the radio plugged into USB.
How to flash
RAK (nRF52), the easy way
Plug the radio into USB and click Flash now. Step 1 reboots it into update mode, step 2 sends the firmware. Settings and contacts stay.
RAK (nRF52), by hand
Double-tap the reset button. A drive shows up on the computer. Drag the .uf2 file onto it. The radio reboots by itself.
LilyGo (ESP32), the easy way
Plug the radio into USB, click Flash now next to your board, and pick its serial port. It asks if you want to erase the radio first: say yes for a first install, no to keep your settings and contacts.
LilyGo (ESP32), by hand
Use the First install file. Open Espressif's web flasher in Chrome, connect, and flash the file at address 0x0. To update a radio that is already on MeshCore, flash the Update file at 0x10000 instead and your settings and contacts stay.
This is a hobby build with no warranty. MeshCore is MIT licensed: license. Every change we made to the stock source is in this patch file.