0x44 = CRC of the resource area, 0xC4 = CRC of header [0,0xC4), 0x18C = CRC of
[0xC8,0x18C); trailer = CRC of the whole file ^ (len & 0xFF) ^ 0x56. tft.seal()
recomputes all of them. Verified against 24 Editor-made files of 8 lengths.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
nxhmi.qr is a dependency-free QR encoder. Measured in the Editor
simulator: numeric/alphanumeric/byte mode by content, level L, mask 0,
smallest version; scaled to w - 2*dis by width (not clipped to h), last
column run one pixel narrower, logo centred, nothing when too small.
Basic rendering is now 20/20 pixel-exact.
Also: unknown component kinds give a clean CLI error instead of a
traceback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- nxhmi.mcp_server: dependency-free stdio MCP server, 14 tools; readable
values in and out; render_page returns a PNG image
- .mcp.json for Claude Code, .claude/skills/nextion-hmi/SKILL.md
- CLI: info --json, schema <kind>
- fix: project.add_page(h=...) clashed with the page height keyword
- 75 tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Black-box reverse-engineered .HMI format (container, three checksums,
pages, all 31 component types, pictures, fonts), readable JSON, page
renderer matching Nextion Editor, demo project built from code and a
test suite (66 tests). See docs/COVERAGE.md for status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>