From 50034b142dc851da7118032f7218cb1d25ea98e4 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 16 Mar 2026 15:14:13 +0100 Subject: CN_ control commands: typed API, dispatch, mock responses, demo UI --- mock-server/MockServer.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mock-server/MockServer.h') diff --git a/mock-server/MockServer.h b/mock-server/MockServer.h index ce76889..c07cdbe 100644 --- a/mock-server/MockServer.h +++ b/mock-server/MockServer.h @@ -43,6 +43,19 @@ private: void handleKaPing (QTcpSocket *client, const QByteArray ¶ms); void handleGsJcVersion (QTcpSocket *client); void handleGsPhVersion (QTcpSocket *client, const QByteArray ¶ms); + /* CN_ control command handlers */ + void handleCnJcSuccess (QTcpSocket *client, const QByteArray &cmd); + void handleCnPhSuccess (QTcpSocket *client, const QByteArray &cmd, + const QByteArray ¶ms); + void handleCnPhCalibrationData (QTcpSocket *client, + const QByteArray ¶ms); + void handleCnPhCalibrationRawData (QTcpSocket *client, + const QByteArray ¶ms); + void handleCnPhCalibratedBaseFrequency (QTcpSocket *client, + const QByteArray ¶ms); + void handleCnStatusMessagingStart (QTcpSocket *client, const QByteArray &cmd, + const QByteArray ¶ms); + void handleCnStatusMessagingStop (QTcpSocket *client, const QByteArray &cmd); Port m_command; Port m_imaging; -- cgit v1.2.3