aboutsummaryrefslogtreecommitdiffstats
path: root/mock-server/EchoServer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Coalesce mock server into single MockServer classThomas Vanbesien2026-03-131-97/+0
| | | | | | Replace three independent EchoServer instances with one MockServer that owns three QTcpServers, shares a single KA_PING timer, and uses a flat client list with localPort() for port resolution.
* XPL2 protocol foundation: wire framing, typed API, KA_PING, GS_JC_VERSIONThomas Vanbesien2026-03-131-7/+54
| | | | | | | | | | | | | | | 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.
* Refactor: three XPL2 ports, EchoServer class, dark debug console, qmllint cleanThomas Vanbesien2026-03-111-0/+50
- 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