feat: expose repeater text console over BLE + nRF52 SoftDevice fixes
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
dcd18c4384
commit
434e306430
5 files changed
+222
-3
No files matched your search
@@ -1258,6 +1258,12 @@ void MyMesh::handleCommand(uint32_t sender_timestamp, char *command, char *reply
|
||||
strcpy(reply, "OK - Discover sent");
|
||||
}
|
||||
} else{
|
||||
#if defined(BLE_PIN_CODE) && defined(NRF52_PLATFORM)
|
||||
// CUSTOM (TeTeHacko): `ble on|off|ble` — implemented in main.cpp (BLE console).
|
||||
// Available from serial, the BLE console and remotely via MC (admin remote CLI).
|
||||
extern bool bleConsoleHandleCommand(const char* command, char* reply);
|
||||
if (bleConsoleHandleCommand(command, reply)) return;
|
||||
#endif
|
||||
_cli.handleCommand(sender_timestamp, command, reply); // common CLI commands
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user