Report the running firmware USB mode without disturbing logging
This commit is contained in:
1 parent
744692fb93
commit
b18ba8288a
8 files changed
+278
-3
No files matched your search
@@ -69,6 +69,7 @@
|
||||
#include <helpers/SmallTableSort.h>
|
||||
#include <helpers/UsbAsciiBinarySwitch.h>
|
||||
#include <helpers/UsbLogging.h>
|
||||
#include <helpers/UsbMode.h>
|
||||
#if defined(ESP32_PLATFORM) && defined(WIFI_SSID)
|
||||
#include <helpers/esp32/CompanionAdminPassword.h>
|
||||
#include <helpers/esp32/ManagementPassword.h>
|
||||
@@ -11132,6 +11133,8 @@ bool MyMesh::handleCommand(const char* command, uint32_t sender_timestamp,
|
||||
while (*command == ' ' || *command == '\t') command++;
|
||||
}
|
||||
|
||||
if (mesh::handleUsbModeCommand(command, reply, reply_capacity, Serial)) return true;
|
||||
|
||||
#if defined(ESP32_PLATFORM)
|
||||
// Catch remote requests before the direct-transport router below. That
|
||||
// router is also used by USB/BLE/browser commands without a timestamp.
|
||||
|
||||
Reference in new issue
Block a user