diff options
| author | Enrico Rossi <e.rossi@tecnobrain.com> | 2018-11-03 17:52:26 +0100 |
|---|---|---|
| committer | Enrico Rossi <e.rossi@tecnobrain.com> | 2018-11-03 17:52:26 +0100 |
| commit | b4aebf2d137b892f53503b13785ecae900062ff7 (patch) | |
| tree | 3ba99b2baec2292f2e13bfe90a5e401a5f4c47a5 /NetworkMessage.hpp | |
| parent | 37f727ac0746fd85504aa46c1f023c09b3eff33a (diff) | |
New upstream version 1.9.1+repackupstream/1.9.1+repack
* Drop local hamlib copy (commit d1b545be).
* Drop local boost copy (1.63.0).
Diffstat (limited to 'NetworkMessage.hpp')
| -rw-r--r-- | NetworkMessage.hpp | 67 |
1 files changed, 66 insertions, 1 deletions
diff --git a/NetworkMessage.hpp b/NetworkMessage.hpp index e59a9a4b..acf64fb3 100644 --- a/NetworkMessage.hpp +++ b/NetworkMessage.hpp @@ -229,7 +229,7 @@ * Date & Time Off QDateTime * DX call utf8 * DX grid utf8 - * Dial frequency (Hz) quint64 + * Tx frequency (Hz) quint64 * Mode utf8 * Report send utf8 * Report received utf8 @@ -237,6 +237,9 @@ * Comments utf8 * Name utf8 * Date & Time On QDateTime + * Operator call utf8 + * My call utf8 + * My grid utf8 * * The QSO logged message is sent to the server(s) when the * WSJT-X user accepts the "Log QSO" dialog by clicking the "OK" @@ -304,6 +307,7 @@ * command to determine the contents of the current free text * message. * + * * WSPRDecode Out 10 quint32 * Id (unique key) utf8 * New bool @@ -327,6 +331,64 @@ * from a played back recording. * * + * Location In 11 + * Id (unique key) utf8 + * Location utf8 + * + * This message allows the server to set the current current + * geographical location of operation. The supplied location is + * not persistent but is used as a session lifetime replacement + * loction that overrides the Maidenhead grid locater set in the + * application settings. The intent is to allow an external + * application to update the operating location dynamically + * during a mobile period of operation. + * + * Currently only Maidenhead grid squares or sub-squares are + * accepted, i.e. 4- or 6-digit locators. Other formats may be + * accepted in future. + * + * + * Logged ADIF Out 12 quint32 + * Id (unique key) utf8 + * ADIF text utf8 + * + * The logged ADIF message is sent to the server(s) when the + * WSJT-X user accepts the "Log QSO" dialog by clicking the "OK" + * button. The "ADIF text" field consists of a valid ADIF file + * such that the WSJT-X UDP header information is encapsulated + * into a valid ADIF header. E.g.: + * + * <magic-number><schema-number><type><id><32-bit-count> # binary encoded fields + * # the remainder is the contents of the ADIF text field + * <adif_ver:5>3.0.7 + * <programid:6>WSJT-X + * <EOH> + * ADIF log data fields ...<EOR> + * + * Note that receiving applications can treat the whole message + * as a valid ADIF file with one record without special parsing. + * + * + * Highlight Callsign In 13 quint32 + * Id (unique key) utf8 + * Callsign utf8 + * Background Color QColor + * Foreground Color QColor + * Highlight last bool + * + * The server may send this message at any time. The message + * specifies the background and foreground color that will be + * used to highlight the specified callsign in the decoded + * messages printed in the Band Activity panel. The WSJT-X + * clients maintain a list of such instructions and apply them to + * all decoded messages in the band activity window. To clear + * highlighting send an invalid QColor value for either or both + * of the background and foreground fields. + * + * The "Highlight last" field allows the sender to request that + * the last instance only instead of all instances of the + * specified call be highlighted or have it's highlighting + * cleared. */ #include <QDataStream> @@ -353,6 +415,9 @@ namespace NetworkMessage HaltTx, FreeText, WSPRDecode, + Location, + LoggedADIF, + HighlightCallsign, maximum_message_type_ // ONLY add new message types // immediately before here }; |
