OTA Update for RAK Devices


These steps are compatible with both Android and iOS, as the nRF DFU app interface is identical on both platforms.

[!Note] These instructions were summarized from: meshcore.io

1. Prerequisites

2. Prepare the Device

  1. Open the MeshCore app and log in remotely to the repeater you wish to update (requires admin privileges).
  2. Navigate to the Command Line tab.
  3. Enter the following command:
  start ota
  1. Confirm that the response says OK. The device is now in OTA mode.

3. Configure the nRF DFU App

  1. Open the nRF DFU app and tap Settings in the top right corner.
  2. Enable Packets receipt notifications.
  3. Change the Number of Packets based on your hardware:
  • RAK: 10 (or 8)
  • T114: 8
  1. Select the firmware ZIP file you downloaded earlier.

4. Perform the Update

  1. Select the device you want to update from the list.

  2. Wait for the update to complete. This may take several minutes.

Troubleshooting

  • Connection issues: Toggle Bluetooth off and back on, or reboot your phone.
  • Bootloader Errors: If the update fails at the “Enabling Bootloader” step, “Forget” the nRF board in your phone’s Bluetooth settings and re-pair it directly through the DFU app.

Set a new private key

[!Note] Setting a private key is not required for an update. This information is here since it might be a convienent time to perform a key change.

  1. Go to MeshCore Key Generator and generate your new private key.
  2. Open the MeshCore app and log in remotely to the repeater you wish to update (requires admin privileges).
  3. Navigate to the Command Line tab.
  4. Enter the following command:
  set prv.key <private_key_you_generated>
  reboot
  1. To find your repeater again, you might have to go to Discover Nearby Repeaters

See also