Update a repeater or room server over the air¶
Before you start¶
Bootloader first
Only do this if the repeater has the OTAFIX bootloader. The repeater setup tool walks through the bootloader update for nRF52 boards.
Android only: iOS not recommended
These steps are for Android. iOS technically works, but we've had several failed OTA updates from iOS. Until that changes, don't use an iOS device for OTA updates.
This only applies to nRF-based boards (for example the RAK4630, Heltec T114 and XIAO nRF52). We strongly recommend updating over USB instead.
OTA risks
An OTA update can fail even when the app says it worked, and then the repeater needs a USB re-flash. We had one fail in winter and had to wait until spring to reach the repeater. Proceed at your own risk.
Save the repeater's private key first, in case a failed update forces a USB
re-flash: log in as admin, open Command Line and send get prv.key. Keep the
reply in a password manager and never share it.
These steps summarise the official instructions on the MeshCore blog.
1. Download the firmware .zip¶
- Open the MeshCore flasher and find your device.
- Select the Repeater or Room Server role, then the latest version.
- Click Download at the bottom right and choose the
.zipfile.
You can also download the .zip for your board (for example, the T114 repeater)
from the MeshCore GitHub releases.
2. Log in and start OTA¶
- In the MeshCore app, log in to the device with the admin password.
-
Open the Command Line tab and send:
start ota -
You should see a reply like:
OK - mac: FF:AA:BB ...
Tip: a standalone device such as a T-Deck running Ripple can also send
start ota.
3. Connect with your phone¶
Install Nordic's nRF Device Firmware Update app from Google Play if you don't have it.
DFU app settings¶
Tap the Settings icon and set:
- Packet receipts notification: ON
- Number of packets: 8
- Request high MTU: OFF
- Disable resume: ON
- Prepare object delay: 0 ms
- Force scanning: ON
Start the update¶
- Select the
.zipfile you downloaded. - Select your device from the scan list.
- Press Start and wait for the update to finish.
4. Check it updated¶
- Log out and log back in, with the app or a standalone device.
- Check the clock with
clock. If it's wrong, sendclock sync. - Send
verto confirm the firmware version changed.
Recovery if it fails¶
If the update stalls or fails, send this from your phone or a standalone device, then try again:
reboot
RAK4631 with the updated bootloader: the app will likely say the flash failed. Scan again: the device shows up with a generic name (such as AdaDFU or RAK4631_DFU). Select it and upload the update again.