Repository navigation
mups18-5-rc1 – MeshCore v1.18.0.mups5-rc1 (pre-release)
Pre-releaseUse at your own risk. This firmware may contain bugs, and I accept no liability for its use.
Before flashing, make a backup if at all possible. Back up the device's private key first and keep it safe –
without it a device gets a new identity after a full erase or a change of firmware.
mups18-5-rc1 – MeshCore v1.18.0.mups5-rc1 (pre-release)
This is a pre-release of the coming mups18-5, meant for people who want to try it before the release.
It may still change; a newer pre-release replaces this one. If you want the current stable version, use
mups18-4.
Feedback and problems: GitHub issues.
Custom MeshCore firmware based on IoTThinks PowerSaving-v18 (MeshCore main v1.18.0, PowerSaving-v18 commit 5aea3c20).
Documentation: MUPS18.md (not yet fully updated for this pre-release; the changes are listed below).
What is new compared to mups18-4
- Base: PowerSaving-v18 commit
5aea3c20(was3957b6f4), among others: noise-floor settle fix (IoTThinks meshcore-dev#36, mups18-4 had taken it ahead, now it comes from the base), charge LED on the T1000-E, BME280 no longer detected as BME680, Heltec Tracker V2 display power, ThinkNode M3 GPS and sensor. - Packet filter updated to Dutch-MeshCore dmc-dev
d405b797:- Blocked channels are matched by their key (Dutch-MeshCore PR #50). mups already did this with its own code, which is now replaced by the Dutch version; the behaviour stays the same.
- New:
filter channel add hash <#name>blocks by the channel hash byte alone, including every other channel that shares it (from Dutch-MeshCore). Together with the mups hop limit:filter channel add [hash] <#name> [hops <N>]. Adding a channel that is already listed sets both options again. - Fixes from Dutch-MeshCore:
filter malformedwith an unknown argument now replies with a syntax error, the group text rate limit runs after the channel list and the content rules, out-of-range values forfilter hops,filter rateandfilter hashare refused instead of wrapping, channel names longer than 31 characters are refused. - Statistics replies have a space after each comma.
- mups: group data is rate-limited after the channel list as well, like group text.
- The filter is still off by default and in dry-run mode.
Details: docs/packet_filter_reference.md.
- New repeater command
get resend.hops: diagnostics for repeated sending (PR meshcore-dev#2670), per next hop: how many resend sequences started, how many were cancelled because the next hop's forward was heard, and how many ran to the end without that. Counters live in RAM and are reset byclear stats. No change in behaviour.
Changed defaults
These apply to new installs / after erasing the settings only. Existing devices keep their stored settings.
- Repeater
flood.max: 12 (was 15). - Packet filter channel list of a new install (also after
filter reset):#bot,#test,#pingand#wetter, each forwarded only below 3 hops, and#wardriving, never forwarded. The filter itself is still off and in dry-run mode, so the list only takes effect afterfilter onandfilter dryrun off.
To apply them on an existing repeater:
set flood.max 12
filter channel add #bot hops 3
filter channel add #test hops 3
filter channel add #ping hops 3
filter channel add #wetter hops 3
filter channel add #wardriving
What to look at
- Update of an existing repeater:
filter channel liststill shows your own list,get flood.maxyour stored value. - New install of a repeater:
get flood.maxshows 12,filter channel listthe five default channels,filtershows off and dry-run. get resend.hopsafter some hours of operation.- Clock setting with
clock syncfrom the app ortime <epoch>on the serial console. - T1000-E: the red LED shows the charge state.
Included
| Component | Source | Notes |
|---|---|---|
RX duty-cycle power saving (radio.rxps), powersaving (companion), powerlog, sensor, reboot.interval, repeater reply path (outpath), noise-floor settle fix |
IoTThinks PowerSaving-v18 | base |
| Release fixes | MeshCore main |
pinned to v1.18.0 |
| Allow setting the clock backwards, elapsed-time underflow fix | PR #1349 | |
| Separate replay counters for login and messages | PR #2834 | repeater, room server, sensor |
| Flood ACK on DM retries | PR #3260 | |
| Beeps for buzzer on/off, T1000-E button debounce 20 ms | PR #3536 | companion |
Repeated sending of direct packets (max.resend, on by default, 3) |
PR #2670 | port of the current PR state, with a guard for the RX power saving sleep phase; own diagnostics get resend.hops (repeater) |
| nRF52 clock / uptime jump every 48.5 days | PR #3595 | repeater, room server; hand port |
Fixes from MeshCore dev (meshcore-dev#3950, meshcore-dev#3903, sec patch, meshcore-dev#3945, meshcore-dev#3835, meshcore-dev#3926, meshcore-dev#3807) |
MeshCore dev |
taken ahead of an official release |
Repeater packet filter (filter …) |
Dutch-MeshCore dmc-dev (d405b797) |
repeater only, off by default; own defaults (dry-run on, advert cache 1024, default channel list); own fixes: limiter setup; own extensions: hop limit per channel, group data, filter path mode |
Airtime reserve for scoped floods (fwd.scoped.reserve) |
own, idea from ACETyr/MeshCore | repeater only, off by default |
Own changes
Radio preset (all roles): 869.618 MHz, BW 62.5, SF 8, CR 8
Duty cycle (all roles): 10 % (af 9.0)
Companion: hardware CAD before TX (cad) on by default, as on the repeater (set cad on|off).
Repeater defaults:
| Setting | Value |
|---|---|
rxdelay / txdelay / direct.txdelay |
2 / 1.0 / 0.4 |
advert.interval / flood.advert.interval |
238 min / 167 h |
flood.max / flood.max.unscoped / flood.max.advert |
12 / 3 / 3 |
multi.acks / path.hash.mode |
1 / 2 |
loop.detect |
moderate |
agc.reset.interval |
0 (off) |
cad |
on |
WiFi companions: the firmware contains no WiFi credentials of mine. The Heltec V3 WiFi image has the placeholders myssid / mypwd compiled in. Set your own with the companion CLI or the rescue CLI (long press of the PRG button within 8 s after boot, serial console 115200 baud):
set wifi.ssid <your SSID>
set wifi.pwd <your password>
then reboot. get wifi.status shows the state, set wifi.clear removes the stored credentials. The Heltec V3 BLE companion, the Heltec V4 (OLED) BLE companion and the Heltec V4.3 (OLED) BLE companion also contain the WiFi interface, but keep WiFi off until an SSID is set. The Heltec V4.3 TFT BLE companion is built without the WiFi interface.
Defaults apply to new installs / after erasing the settings only – existing devices keep their stored settings.
Devices and files
Repeater: Heltec V3, Heltec V4 (OLED), Heltec V4.3 (R8, OLED and TFT), Heltec T096, Heltec T114 (without display), RAK4631, SenseCAP Solar, Xiao S3 WIO, Xiao nRF52, T1000-E, Wio Tracker L1 (standard variant, not 1W), ThinkNode M6, GAT562 30S Mesh Kit, LilyGo T-Beam 1W (SX1262), UnitEng Station G2.
Room server: Heltec V3.
Companion (BLE): Heltec V3, Heltec V4 (OLED), Heltec V4.3 (R8, OLED and TFT), RAK WisMesh Tag, GAT562 30S Mesh Kit, T1000-E, Wio Tracker L1, LilyGo T-Echo, LilyGo T-Deck, Xiao S3 WIO. Companion (WiFi): Heltec V3.
| Device type | File | Use |
|---|---|---|
| ESP32 (Heltec V3, Heltec V4, Heltec V4.3, Xiao S3 WIO, LilyGo T-Deck, LilyGo T-Beam 1W, Station G2) | *.bin |
Update (app image only) – web flasher (non-merged) or OTA; settings are kept |
| ESP32 (same) | *-merged.bin |
New install / recovery (bootloader + partitions + app, written at 0x0). The web flasher erases the whole flash when a merged image is selected |
| nRF52 (RAK4631, RAK WisMesh Tag, GAT562 30S Mesh Kit, SenseCAP Solar, Heltec T096, Heltec T114, Xiao nRF52, ThinkNode M6, T1000-E, Wio Tracker L1, LilyGo T-Echo) | *.zip |
Update via DFU – web flasher (serial) or nRF Connect app (BLE); settings are kept |
| nRF52 (same) | *.uf2 |
Update via drag & drop – enter bootloader (usually double reset), copy file to the USB drive; settings are kept |
.zip and .uf2 contain the same firmware – two ways to flash it. Neither erases settings.
For a clean install on nRF52, erase first (web flasher erase function, or rescue CLI erase on a companion), then flash.
Firmware version on the device: v1.18.0.mups5-rc1 (ver).
Default TX power (Heltec V4, Heltec V4.3 and Heltec T096; repeater and companion builds): the default is taken unchanged from the base (IoTThinks PowerSaving-v18) and is 17 dBm on these boards. The base's source comments say that 17 gives roughly 28 dBm at the antenna on these boards (the amplifier stage adds gain). I have not measured the real output. Please check what is permitted in your region and with your antenna, and set your own value with set tx <dBm> if needed. Like all defaults, this only applies to new installs / after erasing the settings.
Default TX power (LilyGo T-Beam 1W repeater): the default is taken unchanged from the base and is 22 dBm. The base's source comment says the board's amplifier module adds about 10 dB, i.e. roughly 32 dBm at the antenna. I have not measured the real output. This is well above what is usually permitted in the EU 868 MHz band. Set a suitable value with set tx <dBm> before putting the repeater into operation, taking your region and antenna into account. Like all defaults, this only applies to new installs / after erasing the settings.
Default TX power (UnitEng Station G2 repeater): the default is taken unchanged from the base and is 7 dBm. The base's source comment says this gives about 27 dBm (~0.5 W) at the output with the amplifier enabled; the base also limits the setting to a maximum of 19 ("max output without burning out the PA"). I have not measured the real output. Please check what is permitted in your region and with your antenna, and set your own value with set tx <dBm> if needed. Like all defaults, this only applies to new installs / after erasing the settings.
The Heltec V4 repeater and companion (BLE) builds are the OLED variant (same environments as the official heltec_v4_repeater and heltec_v4_companion_radio_ble); the Heltec T114 repeater build is the variant without display. For the Heltec V4.3 there is one OLED and one TFT build each (heltec_v4_r8_… and heltec_v4_r8_tft_…); the name "V4.3 = R8" is taken from the base's commit message, so please check that your board is an R8 before flashing.
The LilyGo T-Echo build covers only the LilyGo T-Echo companion (BLE), not the T-Echo Lite or T-Echo Card.