One firmware for the Seeed T1000-E that is both a BLE Companion and a Repeater — switch with a five-press of the button.
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.
/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.
Seeed T1000-E (nRF52840 + LR1110). Flash the .zip via the
MeshCore web flasher or nRF52 DFU. Built from MeshCore e8d3c53.
| Build | Image |
|---|---|
| Dual-mode (Companion + Repeater) | .zip · 408 KB
597b0414c359ea63… |