simple_repeater: dfu, radio silence watchdog and boot diagnostics from NodeMaintenance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7159a00f05
commit
2ced8502a0
3 files changed
+82
-275
No files matched your search
@@ -1866,18 +1866,15 @@ void MyMesh::handleCommand(uint32_t sender_timestamp, char *command, char *reply
|
||||
// since a board with no data cable and no BLE cannot be identified at all.
|
||||
extern bool identHandleCommand(const char* command, char* reply);
|
||||
if (identHandleCommand(command, reply)) return;
|
||||
// CUSTOM (TeTeHacko): `dfu [uf2|serial|ota]` — deterministic reboot into the
|
||||
// bootloader (GPREGRET magic, same as the core's enterUf2Dfu). Local only.
|
||||
extern bool dfuHandleCommand(uint32_t sender_timestamp, const char* command, char* reply);
|
||||
if (dfuHandleCommand(sender_timestamp, command, reply)) return;
|
||||
// CUSTOM (TeTeHacko): `dfu [uf2|serial|ota]` (local only), `get/set
|
||||
// radio.silence`, `get radio.reboots`, `get boot` -- helpers/NodeMaintenance.
|
||||
// Ahead of CommonCLI's get/set.
|
||||
extern bool maintHandleCommand(uint32_t sender_timestamp, const char* command, char* reply);
|
||||
if (maintHandleCommand(sender_timestamp, command, reply)) return;
|
||||
// CUSTOM (TeTeHacko): `txpwr [dBm]` — set output power and report RadioLib's
|
||||
// verdict, which `set tx` swallows. See main.cpp.
|
||||
extern bool txPwrHandleCommand(const char* command, char* reply);
|
||||
if (txPwrHandleCommand(command, reply)) return;
|
||||
// CUSTOM (TeTeHacko): `get/set radio.silence`, `get radio.reboots` -- the
|
||||
// deaf-receiver watchdog, see main.cpp. Ahead of CommonCLI's get/set.
|
||||
extern bool radioSilenceHandleCommand(const char* command, char* reply);
|
||||
if (radioSilenceHandleCommand(command, reply)) return;
|
||||
#ifdef RADIO_DIAG
|
||||
// CUSTOM (TeTeHacko): `radiostat` / `radiokick` -- see main.cpp.
|
||||
extern bool radioDiagHandleCommand(const char* command, char* reply);
|
||||
|
||||
Reference in new issue
Block a user