Add opt-in nRF52 Bluetooth event diagnostics and USB capture
This commit is contained in:
1 parent
9fae922ea9
commit
633e2ce832
12 files changed
+856
-2
No files matched your search
@@ -29,6 +29,7 @@
|
||||
#endif
|
||||
#if defined(NRF52_PLATFORM)
|
||||
#include <helpers/nrf52/RamFallbackFileSystem.h>
|
||||
#include <helpers/nrf52/BleDebugTrace.h>
|
||||
#endif
|
||||
#if defined(ENABLE_OTA)
|
||||
#include <helpers/ota/OtaContext.h>
|
||||
@@ -9401,6 +9402,11 @@ bool MyMesh::handleCommand(const char* command, uint32_t sender_timestamp,
|
||||
reply_capacity)) return true;
|
||||
#endif
|
||||
|
||||
#if defined(MESH_NRF52_BLE_TRACE) && MESH_NRF52_BLE_TRACE
|
||||
if (sender_timestamp == 0
|
||||
&& meshBleTraceCommand(command, reply, reply_capacity)) return true;
|
||||
#endif
|
||||
|
||||
if (_radio_profiles.handle(command, reply, reply_capacity, sender_timestamp != 0)) return true;
|
||||
if (!strncmp(command, "set tempradio ", 14)) command += 4;
|
||||
if (!strcmp(command, "get tempradio")) command += 4;
|
||||
|
||||
Reference in new issue
Block a user