diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-16 15:14:13 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-16 15:14:13 +0100 |
| commit | 50034b142dc851da7118032f7218cb1d25ea98e4 (patch) | |
| tree | b506a4dec9c10ee0510bcbb570c6c06433252960 /mock-server/MockServer.h | |
| parent | 9ac64169720fb2b9852589b74f7300bcfebcaf62 (diff) | |
| download | QtXpl2-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.h | 13 |
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 ¶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; |
