From 9ac64169720fb2b9852589b74f7300bcfebcaf62 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 16 Mar 2026 11:04:21 +0100 Subject: GS_PH_VERSION command, per-printhead demo UI with --printheads CLI arg 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. --- mock-server/MockServer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mock-server/MockServer.h') diff --git a/mock-server/MockServer.h b/mock-server/MockServer.h index 13bb2cd..ce76889 100644 --- a/mock-server/MockServer.h +++ b/mock-server/MockServer.h @@ -42,6 +42,7 @@ private: void sendReply (QTcpSocket *client, const QByteArray &data); void handleKaPing (QTcpSocket *client, const QByteArray ¶ms); void handleGsJcVersion (QTcpSocket *client); + void handleGsPhVersion (QTcpSocket *client, const QByteArray ¶ms); Port m_command; Port m_imaging; -- cgit v1.2.3