Repository navigation
Integrations
gtty talks to other station software six ways, all set up under Preferences → Integration:
| Interface | Direction | Used by |
|---|---|---|
| WSJT-X UDP protocol | gtty reports status, decodes and logged QSOs | GridTracker2; QLog, KLog, Wavelog, Log4OM for logged QSOs |
| fldigi-compatible XML-RPC server | a logger drives gtty as its modem | TLF, Not1MM, CQRLOG |
| Logbook server | gtty hands each logged QSO to a logbook | fllog, QLog |
| Xlog remote data | gtty hands each logged QSO to Xlog | Xlog |
| Skimmer spot feed | loggers connect to gtty as to a DX cluster | TLF, Not1MM, QLog and other band maps |
| PSK Reporter | gtty reports the stations it decodes | the pskreporter.info map |
gtty behaves like a WSJT-X instance named gtty. Everything it hears is plotted on the GridTracker map, QSOs you log are forwarded so GridTracker can push them to your online logs, and clicking a station in GridTracker fills gtty's Call field.
- In GridTracker2, Settings → General: note the WSJT-X/JTDX receive port (UDP 2237 on 127.0.0.1 by default).
- In gtty, Preferences → Integration → WSJT-X UDP protocol: tick Enable and set the same Host and UDP port.
- Set your callsign and grid under Preferences → Station, so GridTracker knows who is reporting.
- Without a connected rig, set Preferences → Rig → Dial frequency without rig to the frequency you are listening on. GridTracker only plots stations it can place on a band.
If WSJT-X is also running, GridTracker accepts several senders on the same port. A multicast address such as 224.0.0.1 works as well.
| gtty → GridTracker | GridTracker → gtty |
|---|---|
| Heartbeat every 15 s | Reply (a station clicked on the map) → the callsign goes to the Call field and its grid is remembered for the log |
| Status: dial frequency, mode RTTY, the DX call, the report, TX state, the tone frequency | Halt TX → the transmission is aborted |
Decode: one CQ <CALL> [GRID] message per callsign heard in the Best guess pane, at most once a minute per call, with a grid when one appears on the same line |
Free text → inserted into the transmit pane, and sent if asked |
| QSO Logged and Logged ADIF when you log a QSO |
The three switches under What to exchange turn off the decode reports, the logged-QSO reports or the acceptance of replies.
These logbooks take QSOs from WSJT-X over the same UDP protocol, and so from gtty: with Report logged QSOs on, every QSO logged in gtty is sent as a QSO Logged and a Logged ADIF message.
- QLog: it listens for WSJT-X on UDP port 2237 unless set otherwise in its network settings. Point gtty's UDP port at it. QLog can also take the QSOs through its fldigi interface instead; see Logbook server. Use one of the two, or each QSO arrives twice.
- KLog: in its setup, on the WSJT-X page, start the UDP server on port 2237 and tick Allow WSJT-X to send logged QSOs to KLog; with the automatic-logging box ticked as well, KLog logs without asking.
- Wavelog through WaveLogGate: it listens on UDP port 2333; set gtty's UDP port to 2333.
- Log4OM 2 (Windows; on Linux under Wine): in its program configuration, under Connections, add a UDP inbound connection of type JT_MESSAGE on the port gtty sends to (2237 by default), then save and apply. Log4OM treats gtty as a WSJT-X instance and logs each QSO Logged message. Under Wine, 127.0.0.1 reaches the Windows program from gtty on the Linux side. Not tested against Log4OM yet; reports welcome.
The messages carry the callsign, frequency, mode (RTTY), both reports, the sent serial number and the received exchange (ADIF STX_STRING and SRX_STRING), name, locator, and your callsign and locator from Preferences → Station.
Only one program can receive on a UDP port on one machine. To feed GridTracker2 and a logbook together, use a multicast address such as 224.0.0.1 in gtty and in each program that supports it, or let GridTracker2 forward the QSOs.
Loggers that drive fldigi can drive gtty. Tick Enable XML-RPC server and set the Bind address (127.0.0.1 by default) and Port (7362, fldigi's default). If fldigi itself is running, give gtty a different port.
Then point the logger's fldigi settings at 127.0.0.1:7362:
- CQRLOG: Preferences → fldigi/wsjtx interface: tick Use XmlRpc, address 127.0.0.1, port 7362, and take frequency and mode from fldigi. Then choose Remote mode for fldigi in the New QSO window's menu. Every few seconds CQRLOG copies gtty's log row (call, name, reports, locator, QTH), the frequency and the mode into its New QSO window; when you save the QSO there it clears gtty's log row.
-
Not1MM: the F-key messages go out through gtty; see
tests/integration/test_not1mm.pyfor the pairing that is tested. -
TLF: add
FLDIGIandRTTYMODEtologcfg.dat. TLF reads the receive text, sends its messages through gtty and keys TX and RX. See Using gtty with TLF below.
Several programs can use the server at the same time, for example a contest logger and CQRLOG.
With a logger in charge, the modem-only view (the default; Preferences → Station, or Ctrl+M) hides gtty's own band buttons, macros and log row.
TLF is a console contest logger. It has no RTTY modem of its own and normally drives fldigi; gtty takes fldigi's place. TLF is the logger and keeps the keyboard; gtty is the modem and shows the waterfall.
- Preferences → Integration: tick Enable XML-RPC server. Leave the address at 127.0.0.1 and the port at 7362.
- Set up audio, keying and your tones as for normal operating, and check that gtty decodes and transmits by itself first.
- Leave the modem-only view on (Preferences → Station; it is the default). TLF has its own band switching, messages and log entry, so gtty's are not needed.
A separate configuration for contesting with TLF keeps these settings apart from everyday operating.
Make a directory for the contest and put a logcfg.dat in it. The lines that matter for gtty:
CALL=N0CALL
RULES=cqww
LOGFILE=cqww-rtty.log
RTTYMODE
FLDIGI
DIGI_RIG_MODE=LSB
| Line | Purpose |
|---|---|
RTTYMODE |
Starts TLF in RTTY mode rather than CW |
FLDIGI |
Connects to http://localhost:7362/RPC2, where gtty listens. For another port write FLDIGI=http://localhost:7400/RPC2
|
DIGI_RIG_MODE |
The mode TLF puts the rig in for RTTY: LSB, USB, RTTY or RTTYR. With FLDIGI set TLF defaults to USB, so set this to the mode you use with gtty: usually LSB for AFSK and RTTY for FSK |
DIGI_RIG_MODE only has an effect when TLF controls the rig; see Sharing the rig.
With rig control on and the rig in RTTY (FSK) mode, TLF keeps the tones at a fixed place on the waterfall: when you click a signal in gtty, TLF moves gtty's tones back to a centre of 2210 Hz (mark 2125) and retunes the rig by the difference. If your tones in gtty are elsewhere, set FLDIGI_RTTY_SWEET_SPOT in logcfg.dat to their centre frequency, or to 0 to switch this off.
The F-key messages for RTTY are the DKF1 to DKF12 lines. In them % is your call, @ the other station's call, # the serial number, [ the report and | a new line:
DKF1=|CQ TEST % % CQ |
DKF2=|@ DE % |
DKF3=|@ 599 # # |
A digital message that is not defined takes the text of the CW message for the same key. man tlf lists every keyword; /usr/share/tlf/logcfg.dat is a commented template and /usr/share/tlf/rules holds the contest rule files.
Only one program can hold the CAT port. Pick one:
-
gtty owns the rig. Leave
RADIO_CONTROLout oflogcfg.dat. Simplest, but TLF then does not know the frequency, so you set the band in TLF by hand. -
Both through rigctld. Start
rigctldfor your rig, select Hamlib model 2 (NET rigctl) in gtty under Preferences → Rig withlocalhost:4532as the device, and inlogcfg.datset:RADIO_CONTROL RIGMODEL=2 RIGPORT=localhostTLF then follows the rig's frequency and band, and both programs can QSY it. See Rig control.
Start gtty first, then run tlf in the contest directory. Keep the keyboard focus in TLF and use gtty for tuning: click a signal on the waterfall, or open the sidebar with its header-bar button and click a line in the Skimmer list.
| Key in TLF | Action |
|---|---|
| Type a call, then Space | Moves to the exchange field |
| Enter | Sends the next message for the state of the QSO and logs it when the exchange is complete |
| + | Switches between CQ (running) and S&P |
| F1–F12 | Send the DKF messages through gtty |
| Escape | Stops transmitting and clears the entry |
:DIG, :CW, :SSB
|
Change mode |
:FLDIGI |
Switches the connection to gtty off and on |
:WRI |
Writes the Cabrillo file |
| Alt+H | TLF's key help |
Alt+X or :EXIT
|
Quit |
Received text in TLF is gtty's Best guess stream. Text TLF sends appears in gtty's transmit pane as it goes out.
-
No text in TLF, or F-keys do nothing: check that the XML-RPC server is enabled in gtty and the port matches the
FLDIGIline, then type:FLDIGItwice in TLF to reconnect. gtty must be running before TLF connects. - fldigi is also running: it already holds port 7362. Close it or give gtty another port.
-
The rig changes sideband when TLF starts: set
DIGI_RIG_MODEas above. - Rig control fails in one program: both are opening the CAT port; use rigctld.
gtty answers the fldigi methods loggers use:
| Group | Methods |
|---|---|
| Identity |
fldigi.name (returns gtty), fldigi.version, fldigi.version_struct, fldigi.name_version, fldigi.list, system.listMethods
|
| Modem |
modem.get_name (RTTY), modem.get_mode (the ADIF mode, RTTY), modem.get_submode, modem.get_names, modem.set_by_name, modem.get_carrier, modem.set_carrier, modem.inc_carrier, modem.get_bandwidth (the shift), modem.get_afc_search_range
|
| Frequency and TX |
main.get_frequency, main.set_frequency, main.inc_frequency, main.tx, main.rx, main.abort, main.get_trx_status, main.get_trx_state, main.get_sideband
|
| Decoder |
main.get_afc, main.set_afc, main.toggle_afc, main.get_squelch, main.set_squelch, main.toggle_squelch, main.get_squelch_level, main.set_squelch_level, main.get_reverse, main.set_reverse, main.toggle_reverse
|
| Text |
text.get_rx_length, text.get_rx, text.clear_rx, text.add_tx, text.add_tx_bytes, text.clear_tx
|
| Macros |
main.run_macro (0-based), main.get_max_macro_id
|
| Log fields |
log.get_call, log.set_call, log.get_name, log.set_name, log.get_rst_in, log.set_rst_in, log.get_rst_out, log.set_rst_out, log.get_exchange, log.set_exchange, log.get_serial_number, log.set_serial_number, log.get_serial_number_sent, log.get_frequency, log.get_date_on, log.get_time_on, log.get_time_off, log.get_band, log.get_locator, log.set_locator, log.get_qth, log.set_qth, log.clear
|
| Rig |
rig.get_name, rig.set_name, rig.get_frequency, rig.set_frequency, rig.get_mode, rig.set_mode, rig.get_modes, rig.get_notch, rig.set_notch
|
main.rx stops a transmission the way a logger expects of fldigi: the character on the air is finished and the rest of the queued text is dropped (TLF sends it for Escape, and before a new message while one is still going out). gtty's own RX button still sends what is queued first. log.get_frequency is the frequency of the station being received, as text in kHz, as in fldigi's log row: the radio frequency of its mark tone, which is what a spot or the Reverse Beacon Network gives. On a sideband that is the dial plus (USB) or minus (LSB) the mark tone and the AFC offset; in the rig's own RTTY modes the dial reads the mark frequency already and only the AFC offset is applied. main.get_frequency and rig.get_frequency stay the dial frequency.
As in fldigi, ^r in text given to text.add_tx is not transmitted: it returns gtty to receive once the text queued so far has gone out. Loggers such as Not1MM end every message with it.
Strings are returned as fldigi returns them, without a <string> element inside <value>: CQRLOG and QLog read the text of <value> as it stands.
The receive text served to loggers is the Best guess stream. main.set_frequency QSYs the rig, or sets the manual dial when no rig is connected. Methods fldigi has but gtty has no use for (RSID, lock, spotting, notes) are accepted and answer with neutral values so loggers do not fail.
fldigi can keep its log in a separate logbook program: it sends each QSO to the program's XML-RPC server with a log.add_record call that carries the QSO as an ADIF record. fllog and QLog accept QSOs this way, both on port 8421. gtty does the same with the QSOs logged in its own log row.
- Start the logbook. QLog listens on port 8421 whenever it runs. For fllog, see its manual for the server port.
- In gtty, Preferences → Integration → Logbook server: tick Send logged QSOs, and set Host and Port (127.0.0.1 and 8421 by default).
Each QSO logged with the Log button, Ctrl+L or a <LOG> macro is then sent as well as stored in gtty's own logbook. If the logbook program cannot be reached gtty says so in a notice and the QSO stays in gtty's logbook only; export it later with Export ADIF.
This is for operating from gtty's own log row. When a contest logger drives gtty over XML-RPC, the logger keeps the log and this stays off.
Xlog takes QSOs from other programs as "remote data": fldigi and gMFSK log to it this way. gtty sends the same record to the TCP port Xlog listens on (7311), so it works on Linux and macOS, and with Xlog on another machine.
- Start Xlog and open a log. With no log open, Xlog refuses remote data.
- In Xlog's Preferences, choose what remote data does: add the QSO to the log straight away, or only fill in Xlog's QSO entry fields for you to check and save.
- In gtty, Preferences → Integration → Xlog: tick Send logged QSOs, and set Host and Port (127.0.0.1 and 7311 by default).
Each QSO logged in gtty then goes to Xlog with the date, time (UTC), callsign, frequency in MHz, mode RTTY, both reports, name, QTH, locator and the comment. The received exchange goes into Xlog's first free field and the sent serial number into the second; if those fields are hidden in Xlog, both are added to the remarks.
Xlog does not acknowledge a record. gtty reports a failure only when it cannot connect, so check Xlog's status bar ("Remote data received from gtty") the first time. If the QSO goes nowhere, Xlog has no log open, or the log is read-only.
Xlog can also take QSOs as ADIF on UDP port 2333, but use the remote-data route above: Xlog maps its fields itself there. Do not send gtty's WSJT-X UDP messages to port 2333 for Xlog; they are in a binary format Xlog does not read.
With the Skimmer on, gtty can serve what it hears as a telnet DX cluster, the way CW Skimmer does. A logger that connects gets a spot for each station the Skimmer hears calling CQ, so its band map shows the stations running in your own receiver's passband, with dupes and multipliers marked by the logger.
- Turn the Skimmer on (menu, or Preferences → Decoders).
- Preferences → Integration → Skimmer spot feed: tick Serve skimmer spots. The default address is 127.0.0.1, port 7300. Only stations calling CQ is on by default; untick it to spot every station identified, callers included.
- In the logger, add a DX cluster at
127.0.0.1port7300:-
TLF:
TELNETHOST=127.0.0.1,TELNETPORT=7300andCLUSTERLOGIN=<your call>inlogcfg.dat, then:CLUSTERto show it. - Not1MM: the cluster server and port in its configuration, then the Cluster window's Connect button.
-
QLog: add
127.0.0.1:7300as a server in the DX Cluster window.
-
TLF:
To serve other machines on your network, set the bind address to 0.0.0.0. There is no password; anyone who can reach the port can read the spots.
DX de WA8Q-#: 14083.5 DL1ABC RTTY 45 BPS CQ 1234Z
- The spotter is your callsign with
-#, the mark of a skimmer. - The frequency is the station's mark frequency, from the dial frequency, the sideband and the tone; it is only as good as the dial frequency gtty has. Without a rig connected, set Preferences → Rig → Dial frequency without rig.
- The comment gives the mode and speed, and
CQwhen the station was calling CQ or TEST.
With Only stations calling CQ (the default), the station spotted is the one that goes with a CQ or TEST: CQ TEST K5XOM K5XOM, CQ CQ DE K1ABC, TU DF7C CQ. In a contest the callers answer on the runner's frequency, so the same Skimmer channel hears them too; they are not spotted, as on the Reverse Beacon Network. Unticked, any station is spotted.
Either way a callsign is spotted only once it follows DE, TU or CQ, or has been received twice, so that a callsign garbled by noise is not spotted. It is spotted again after five minutes, or sooner if it moves by more than 500 Hz. Your own callsign is never spotted, and nothing is spotted while you transmit.
A client that connects is asked to log in (login:); any callsign is accepted. It is then sent the last 40 spots, and sh/dx sends them again. Other cluster commands, such as filters, are accepted and ignored.
gtty can report the stations it decodes to PSK Reporter, as WSJT-X and fldigi do, so they appear on its map with you as the receiver.
- Set your callsign and grid locator under Preferences → Station. Both are required.
- Connect the rig (Preferences → Rig). Reports carry the station's RF frequency, so nothing is reported from the manual dial frequency.
- Preferences → Integration → PSK Reporter: tick Report decoded stations.
Stations identified by the primary receiver (the Best guess text) and, when it is on, by the Skimmer, by the same rules as the skimmer spot feed: a callsign that follows DE or CQ, or has been received twice. Your own callsign is never reported, and nothing is reported while you transmit.
Each report gives the callsign, its mark frequency, the mode RTTY and the time. A station is reported once per band every five minutes. Reports are batched and sent over UDP to report.pskreporter.info port 4739 at most every five minutes, with one sent at once when reporting starts; anything still queued is sent when gtty closes or reporting is turned off.
This wiki is generated from docs/ in the repository. Edits made here are overwritten; change the files there instead.