From fc55098f718f49c9fef1fcb9d77077687c245e72 Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Fri, 4 Sep 2026 16:48:45 -0500 Subject: [PATCH 1/3] feat(mcp266 web): VID-only filter + dispatcher module-presence check Bring the mcp266 WebUSB/Web-Serial console in line with the other espp dispatcher-module consoles: - default device filter is now VID-only (any espp device, VID 0x1209) instead of VID+PID; "show all devices" uses {filters:[{}]} (the invalid acceptAllDevices, a Web Bluetooth option, is removed -- it throws "Required member filters is undefined" on WebUSB). - on connect the console queries the reserved dispatcher discovery module (0xFF ListModules, reusing Dispatcher::describe's TLV) and warns if the MCP266 module (6) is not advertised, then continues anyway; firmware without the discovery module simply never replies and is tolerated silently. buildFrame() gains an optional module arg so it can emit the 0xFF query. Co-Authored-By: Claude Opus 4.8 (1M context) --- components/mcp266/web/mcp266_console.html | 57 +++++++++++++++++++++-- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/components/mcp266/web/mcp266_console.html b/components/mcp266/web/mcp266_console.html index 77291f2f8b..2039037763 100644 --- a/components/mcp266/web/mcp266_console.html +++ b/components/mcp266/web/mcp266_console.html @@ -156,6 +156,10 @@

Log