mirror of
https://github.com/MCKero6423/uv-k5-v3-emulator.git
synced 2026-10-02 03:15:36 +00:00
Boots its own emulator on a private socket and port, so it neither disturbs a run.sh session nor fights it for the single-client QMP socket. The unit tests stub QMP and therefore cannot catch a wrong QMP command. That is not hypothetical: pmemsave and memsave differ only in physical versus virtual addressing, and pmemsave fails by silently returning zeros. Check 2 asserts the frame has lit pixels for exactly that reason. Six checks, all passing: PNG renders, screen has content (1883 lit pixels), a MENU tap changes the screen, the guest is still running after streaming, PTT is rejected with 400, and /stream is multipart with a PNG part. Waits 16 s before the first press, past power-save entry, so it also covers keys working once the radio is asleep.