T1000-E Dual-Mode

One firmware for the Seeed T1000-E that is both a BLE Companion and a Repeater — switch with a five-press of the button.

Seeed T1000-E · nRF52840 + LR1110 Companion (BLE) ↔ Repeater 5× button to switch

What it is

Normally a T1000-E runs one role — you flash either the Companion firmware (a BLE node you drive from the phone app) or the Repeater firmware. This build contains both and chooses which to run at boot from a flag saved in the internal filesystem. A small launcher owns startup and dispatches to whichever app is selected; the two apps' identically-named classes coexist because the repeater's are renamed (MyMesh→RptMesh, UITask→RptUITask) when built with -D DUALMODE.

Switching modes

  1. Press the user button five times in quick succession.
  2. The device confirms with the buzzer — 2 beeps = switching to Repeater, 1 beep = switching to Companion — then reboots into the other mode.
  3. The choice persists across reboots (stored at /dualmode in flash).

The five-press count is otherwise unused by either app, so it doesn't collide with normal button actions. A button edge also wakes the device from the repeater's power-saving sleep so the press burst registers.

Download

Seeed T1000-E (nRF52840 + LR1110). Flash the .zip via the MeshCore web flasher or nRF52 DFU. Built from MeshCore e8d3c53.

BuildImage
Dual-mode (Companion + Repeater) .zip · 408 KB
597b0414c359ea63…

Source