aboutsummaryrefslogtreecommitdiffstats
path: root/demo/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GS_PH_VERSION command, per-printhead demo UI with --printheads CLI argThomas Vanbesien2026-03-161-0/+6
| | | | | | | | | | Add getPhVersion(printheadId) to Xpl2Client with phVersionReceived signal carrying all 8 response fields. Mock server echoes canned version data for any requested printhead ID. Demo app accepts --printheads N (default 10) to simulate N printheads. The UI shows a scrollable per-PH list with individual and bulk version query buttons, updating each row's version info on response.
* Unified socket slots, --wire-debug CLI flag, fix mock TX and disconnect loggingThomas Vanbesien2026-03-131-0/+13
| | | | | | | | Collapse 12 per-socket slots into 4 sender()-based slots. Replace runtime wireDebug QML property with static --wire-debug CLI flag on both demo and mock server. Route MockServer::sendKaPing through sendReply so KA_PING TX shows wire bytes. Simplify sendReply to deduce command token from wire data. Fix Xpl2Client disconnect logging (logTag takes pointer, null-sender fallback).
* Initial project setup: Qt 6.10.2 TCP client library for Alchemie XPL2 protocolThomas Vanbesien2026-03-111-0/+23
- Static library (src/) with QML singleton Xpl2Client for TCP communication - Qt Quick demo app (demo/) with connection UI, command input, and response log