feat(link): ConnectionHub 统一 WiFi/ECAT/BLE 端点与健康态
各页不再各自读写 dcu_esp_ip / dcu_ecat_adapter:deviceLink 提供 wifiBaseUrl/ecatPost/adapter API,OTA/CAN/motor/ecat_load/lab 走同一入口。 连接灯只覆盖在线布尔,保留调用方语义文案。
This commit is contained in:
+1
-1
@@ -631,7 +631,7 @@ const spiOut = $("#out"), spiHist = $("#hist"), btnAbort = $("#btnAbort");
|
||||
const spiBtns = [$("#btnRun"), $("#btnRtt"), $("#btnStress")];
|
||||
let spiCtl = null;
|
||||
try { const saved = ls("spi_test_ip"); if (saved) $("#ip").value = saved; } catch (_) {}
|
||||
/* 设备 IP 与控制台其它页共用 dcu_esp_ip:其它页改过 IP,这里不必再手敲一遍 */
|
||||
/* 设备 IP 与 ConnectionHub / 其它页共用 dcu_esp_ip:其它页改过 IP,这里不必再手敲一遍 */
|
||||
if (!ls("spi_test_ip")) { const shared = ls("dcu_esp_ip"); if (shared) $("#ip").value = shared; }
|
||||
|
||||
function spiBusy(busy, cls, text) {
|
||||
|
||||
Reference in New Issue
Block a user