A VS Code device monitor for Zephyr ZUI desktop: connects to a device over a serial port, periodically captures the OLED framebuffer and renders it in a VS Code sidebar webview, and provides a small control pad to inject input back to the device.
Features
Serial connect/disconnect (pick a port from the UI)
Periodic capture: sends zui dump, parses the device DUMP_* protocol, renders OLED frames live
Key injection: sends zui key <key> <action> (supports short / long / press / release)
Serial terminal (VS Code integrated terminal): interact with the Zephyr shell; auto-capture pauses while you type, and resumes after you press Enter
Output panel: forwards device logs to a VS Code Output Channel (filters DUMP_* and shell command echoes)
Quick Start
Open this project in VS Code (or install a packaged VSIX).
Open the Device Monitor:
Command Palette: FoBE: Open Device Monitor
Or Activity Bar: FoBE Device Monitor → Device Monitor
Click the power button on the right side of the view:
Pick a serial port (enumerated via serialport)
Default baud rate: 115200
After connecting, the extension starts a capture loop (currently ~every 200ms it sends zui dump).
Use the on-screen pad (Up/Down/Left/Right/OK/Back) to inject input:
Short press: zui key <key> short
Long press (>= 550ms): zui key <key> long
Click the top-right “list” icon to open the Output panel: FoBE Device Monitor.
VS Code Commands
FoBE: Open Device Monitor (fobe.deviceMonitor.open)