Commit Graph

1 Commits

Author SHA1 Message Date
David Montero 69a95f8c58 test(esp32): add MicroPython WiFi register trace + Phase 7 repro
Drives the simulation backend WebSocket directly, bypassing the
useSimulatorStore WiFi-stub prelude, and injects a minimal MP
program that exercises network.WLAN(STA_IF).active(True) +
.connect() + .isconnected() loop.

Used by Phase 7 of the velxio MP WiFi emulation project to capture
the register trace from a DEBUG=1 build of libqemu-xtensa.so. The
test exercises every API call the smart-ui-eyes example needs from
the network module.

Run:
  node --experimental-websocket test/test_micropython_wifi_trace/test.mjs \
       --backend=http://localhost:3080 --timeout=60
  docker logs velxio-app 2>&1 | grep -E '\[(wifi|phya|ana )\]' | tail -200
2026-05-24 16:48:53 +02:00