aboutsummaryrefslogtreecommitdiffstats
path: root/src/Xpl2Client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Imaging (m/n) commands: start/stop, masks, image count, n replyThomas Vanbesien2026-03-161-1/+65
|
* EV_ events with Q_GADGET status types, mock periodic emission, tabbed demo UIThomas Vanbesien2026-03-161-0/+79
|
* CF_ configuration commands with JettingParamsResult and SetterResult enumsThomas Vanbesien2026-03-161-0/+283
|
* Refactor CN_ response handlers into data-driven dispatch tableThomas Vanbesien2026-03-161-261/+119
|
* CN_ control commands: typed API, dispatch, mock responses, demo UIThomas Vanbesien2026-03-161-0/+406
|
* GS_PH_VERSION command, per-printhead demo UI with --printheads CLI argThomas Vanbesien2026-03-161-0/+42
| | | | | | | | | | 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-166/+103
| | | | | | | | 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).
* XPL2 protocol foundation: wire framing, typed API, KA_PING, GS_JC_VERSIONThomas Vanbesien2026-03-131-63/+158
| | | | | | | | | | | | | | | Add Xpl2Protocol namespace with buildMessage/parseMessage for wire serialization. Replace raw send/receive API on Xpl2Client with typed protocol methods and internal dispatch. Auto-reply to KA_PING on all sockets (qDebug only). Add GS_JC_VERSION as first typed command with controllerId, firmwareVersion, hardwareVersion, printheadCount properties. Upgrade mock server from echo to line-based command dispatch with 1s KA_PING timer and canned GS_JC_VERSION response. Unknown commands produce qWarning instead of echo. Overhaul demo: remove raw send UI and port config, add wireDebug toggle and Get JC Version button.
* Three-socket Xpl2Client with per-port send/receive and demo port selectorThomas Vanbesien2026-03-121-29/+155
|
* Refactor: three XPL2 ports, EchoServer class, dark debug console, qmllint cleanThomas Vanbesien2026-03-111-50/+109
| | | | | | | | - Xpl2Client: replace single port with commandPort/imagingPort/statusPort (9110/9111/9112) - Mock server: extract EchoServer class from lambda-based listenOn() - Demo: dark debug console matching BobinkQtOpcUa style, 2-column connection layout - Fix qmlls module resolution via IMPORT_PATH in qt_add_qml_module() - Add pragma ComponentBehavior: Bound, fix all qmllint warnings
* Initial project setup: Qt 6.10.2 TCP client library for Alchemie XPL2 protocolThomas Vanbesien2026-03-111-0/+86
- Static library (src/) with QML singleton Xpl2Client for TCP communication - Qt Quick demo app (demo/) with connection UI, command input, and response log