From 79235284ae1c970f494050c474d23d58963bc228 Mon Sep 17 00:00:00 2001 From: daijoubu Date: Sun, 31 May 2026 17:40:10 -0700 Subject: [PATCH 01/48] feat: add DroneCAN tab to configurator (phases 1-2, WIP) - Add MSP2_INAV_DRONECAN_NODES (0x2042) and MSP2_INAV_DRONECAN_NODE_INFO (0x2043) to MSPCodes.js - Parse both responses in MSPHelper.js; add FC.DRONECAN_NODES and FC.DRONECAN_NODE_INFO state slots in fc.js - Add tabs/dronecan.html and tabs/dronecan.js with node table, health badges, 2s auto-refresh, and per-node detail on row click - Register dronecan tab in gui.js allowedTabs and configurator_main.js - Add i18n strings for tab and column headers - Fix nav-toggle-all link being caught by tab-switch handler (showed spurious firmware upgrade warning) CSS health badge styling still pending. --- index.html | 6 ++- js/configurator_main.js | 27 +++++------ js/fc.js | 8 +++- js/gui.js | 1 + js/msp/MSPCodes.js | 3 ++ js/msp/MSPHelper.js | 30 +++++++++++++ locale/en/messages.json | 27 +++++++++++ tabs/dronecan.html | 31 +++++++++++++ tabs/dronecan.js | 99 +++++++++++++++++++++++++++++++++++++++++ 9 files changed, 217 insertions(+), 15 deletions(-) create mode 100644 tabs/dronecan.html create mode 100644 tabs/dronecan.js diff --git a/index.html b/index.html index d95578b9f..2682e4b4c 100644 --- a/index.html +++ b/index.html @@ -347,9 +347,13 @@

  • +
  • + +
  • + - +