Support stock serial MQTT bridges on Full Companion

This commit is contained in:
mikecarper committed 2026-10-04 14:14:53 -07:00
1 parent ea3fbcb277
commit eb80ebafbc
11 files changed
+369 -65

No files matched your search

+5
View File
@@ -90,6 +90,11 @@ inline bool isUsbDebugLoggingEnabled() {
// descriptor mirror; nRF52 selects its optional second interface after loading
// the normal role preferences.
bool saveUsbLoggingBootPreference(bool enabled);
// Select the saved Companion packet-stream mode before preferences enable
// logging and before the optional second CDC is configured. This keeps CLI
// replies and packet records on one port for stock serial packet bridges.
void configureUsbLoggingPacketStream(bool enabled);
bool isUsbLoggingPacketStream();
// Record the HWCDC TX ring size actually allocated during early setup. A zero
// value keeps reset cleanup quarantined and eligible for a minimum-size retry