aboutsummaryrefslogtreecommitdiffstats
path: root/mock-server/MockServer.h
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-03-16 15:14:13 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-03-16 15:14:13 +0100
commit50034b142dc851da7118032f7218cb1d25ea98e4 (patch)
treeb506a4dec9c10ee0510bcbb570c6c06433252960 /mock-server/MockServer.h
parent9ac64169720fb2b9852589b74f7300bcfebcaf62 (diff)
downloadQtXpl2-50034b142dc851da7118032f7218cb1d25ea98e4.tar.gz
QtXpl2-50034b142dc851da7118032f7218cb1d25ea98e4.zip
CN_ control commands: typed API, dispatch, mock responses, demo UI
Diffstat (limited to 'mock-server/MockServer.h')
-rw-r--r--mock-server/MockServer.h13
1 files changed, 13 insertions, 0 deletions
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 &params);
void handleGsJcVersion (QTcpSocket *client);
void handleGsPhVersion (QTcpSocket *client, const QByteArray &params);
+ /* CN_ control command handlers */
+ void handleCnJcSuccess (QTcpSocket *client, const QByteArray &cmd);
+ void handleCnPhSuccess (QTcpSocket *client, const QByteArray &cmd,
+ const QByteArray &params);
+ void handleCnPhCalibrationData (QTcpSocket *client,
+ const QByteArray &params);
+ void handleCnPhCalibrationRawData (QTcpSocket *client,
+ const QByteArray &params);
+ void handleCnPhCalibratedBaseFrequency (QTcpSocket *client,
+ const QByteArray &params);
+ void handleCnStatusMessagingStart (QTcpSocket *client, const QByteArray &cmd,
+ const QByteArray &params);
+ void handleCnStatusMessagingStop (QTcpSocket *client, const QByteArray &cmd);
Port m_command;
Port m_imaging;