cqGMA - Global Mountain Activity
cqGMA - Global Mountain Activity
Download .md

GMA Rig Connector Version 4.6

GMA Rig Connector

Introduction

This guide describes how to install and configure the GMA Rig Connector on Windows. The connector lets GMAwatch and the GMA Spider tune a compatible transceiver to the desired frequency and operating mode directly from your browser.

CW operation was introduced in version 4.5; version 4.6 adds Hamlib and RTS CW: First start the locally installed GMA Rig Connector. Then click the “CW” mode label of a spot in the Spider to open a dedicated CW window. You can send prepared messages using configurable function keys and work CW QSOs in a style familiar from contest keyers such as N1MM Logger+. Callsigns, names, signal reports and references can be inserted into CW messages.

Your transceiver must be connected to the Windows PC via USB or a suitable CAT interface or converter, such as a Yaesu SCU-17 or a microHAM interface. CW transmission also requires compatible transceiver control and correct configuration; a working CAT connection alone does not guarantee CW keying.

This release is intended for Windows. A Linux implementation would be technically feasible but is not currently provided.

Example:

* A spot appears in GMAwatch on 7032 kHz CW.
* You click the frequency 7032.0-cw.
* Your transceiver automatically switches to 7032 kHz CW.

Radio control takes place locally on your PC. GMAwatch and the Spider communicate with the local connector.

---

Basic Concept

The GMA Rig Connector supports two operating modes:

* rigctld via TCP/IP
* serial (rigctl) with direct access to the COM port

The choice of rigctld versus serial controls the CAT connection and is separate from the CW method (hamlib versus rts). The included X6100 and FTDX1200 examples use serial.

The Hamlib daemon rigctld handles access to the transceiver. Applications such as GMA Rig Connector, WSJT-X, Swisslog or other loggers then connect to rigctld.

This requires only one connection to the COM port, allowing multiple applications to access the transceiver simultaneously.

Direct access via serial is still supported. It is mainly intended for testing or when only the GMA Rig Connector controls the transceiver.

---

Recommendation

Operating Mode: rigctld

* Alternative with a continuously running Hamlib daemon
* Multiple applications simultaneously
* Only one COM port connection
* Ideal for everyday operation

Alternative: serial (rigctl)

* Simple standalone solution
* Useful for testing
* When the GMA Rig Connector is the only application controlling the radio

---

Download

GMA Rig Connector version 4.6 – full installation:

https://gma.rocks/rigtest/gma-rig-connector-v4_6.zip

When upgrading, stop the connector and back up the existing config.json. The ZIP contains an English-commented, unconfigured config.json template. Do not overwrite a working radio configuration with this template. Update start-server.ps1 and the appropriate launcher, and add "cw_method": "hamlib" or "cw_method": "rts" to your existing configuration.

Test Page

https://www.gma.rocks/rigtest/

Hamlib

https://github.com/Hamlib/Hamlib/releases

Hamlib version 4.7 or later is required. For most Windows PCs, the 64-bit version is recommended, for example:

hamlib-w64-4.7.1.exe

---

Determine the Hamlib Model Number

The transceiver’s Hamlib model number is required in config.json.

Open a Windows Command Prompt and change to the Hamlib directory:

cd "C:\Program Files\hamlib-w64-4.7.1\bin"

List all supported radios:

rigctl -l

Search by manufacturer:

rigctl -l | findstr /i yaesu
rigctl -l | findstr /i xiegu
rigctl -l | findstr /i icom
rigctl -l | findstr /i kenwood

Search for a specific model:

rigctl -l | findstr /i "FTDX1200"

Example:

1034    Yaesu    FTDX1200

The first number is the Hamlib model number.

Examples:

Yaesu FTDX5000 = 1032
Yaesu FTDX1200 = 1034
Xiegu X6100    = 3087
Xiegu X9100    = 3087

Important:

Model numbers may change between Hamlib releases. When in doubt, check using rigctl -l.

---

Determine the COM Port

In Windows Device Manager, look under:

Ports (COM & LPT)

and find the connected device.

Example:

USB Serial Port (COM5)

In this example, enter the following COM port:

COM5

---

Quick Start: Frequency and Mode Control

1. Install Hamlib.
2. Extract the ZIP archive.

3. Copy the appropriate sample configuration to config.json.
4. Adjust the COM port if necessary.

5. Run start-gma-rig.bat.
6. Open https://www.gma.rocks/rigtest/.

7. Click a spot frequency in GMA Spider to tune the transceiver to the corresponding frequency and mode.

The connector must remain running on your Windows PC while you use browser-based rig control. The chain-link icon in the Spider header is the connector control (see screenshot).

---

CW Operation in the Spider (since v4.5)

1. Start the GMA Rig Connector using start-gma-rig.bat. The launcher follows the connection setting in config.json.
2. Open GMA Spider and check the connector connection using the chain-link icon in the header.
3. Prepare your transceiver for CW. Both CAT control and CW transmission must be correctly configured.
4. Click the CW mode label in a spot entry – not the chain-link icon. This opens the CW window.
5. Use the predefined or customized function keys to send CW messages. Callsign, name, report and reference placeholders can be included in the messages.

The CW window works much like a contest keyer such as N1MM Logger+. Without the local connector running, the Spider cannot send CW through your transceiver.

---

Configuration Files

The connector loads config.json at startup. The v4.6 package contains:

* config.json – English-commented template; fill in before first use
* config-template_en.json – English template
* config-template_de.json – German template
* config-xiegu-x6100.json – X6100 example, COM19/19200, RTS CW
* config-yaesu-ftdx1200.json – FTDX1200 example, COM5/4800, Hamlib CW via SCU-17

Copy the appropriate radio configuration to config.json and adjust the COM port, baud rate and Hamlib model for your system. Restart to load changes.

CW method (cw_method) – new in v4.6

"connection": "serial",
"cw_method": "hamlib"

hamlib sends CW using Hamlib's send_morse feature when supported by the radio and its Hamlib backend (example: Yaesu FTDX1200).

"connection": "serial",
"cw_method": "rts"

rts keys CW using the RTS control line on the configured serial COM port (example: Xiegu X6100 with a suitable RTS keying arrangement). A working RTS signal and compatible keying input or interface are required. CAT support alone is not sufficient. RTS CW on the X6100 is a new feature and still requires practical testing.

connection (serial or rigctld) and cw_method (hamlib or rts) serve different purposes. The new RTS method is intended for direct serial operation.

---

Transceiver-specific Settings

Since version 4.3, you can configure the QSY command order (mode → frequency or frequency → mode) and a delay after changes.

Xiegu X6100 / G90

Recommended setting:

order = mode-first

Yaesu FTDX1200

When changing bands, this Yaesu may automatically select the band’s default mode. Setting frequency → delay → mode helps apply the requested mode reliably.

Recommended setting:

order = freq-first
delay_after_freq = 250

---

Starting the Rig Connector

Run start-gma-rig.bat. With "connection": "serial", only the connector starts; with "connection": "rigctld", the Hamlib daemon is started as well. start-connector.bat starts the connector only. Fill in the radio, Hamlib model, COM port and baud rate before using the blank template.

Then open the CAT test page or the local CW test page.

---

Testing

Click any frequency in the spot monitor.

Your transceiver should automatically switch to the selected frequency and operating mode.

---

Troubleshooting

No connection?

* → Check the COM port.

Wrong frequency?

* → Check the Hamlib model number.

Yaesu stays on USB?

* → Use the following configuration to set the frequency first and apply the mode after a short delay:

order = freq-first
delay_after_freq = 250

---

Connecting WSJT-X to rigctld

Recommended settings:

Rig:             Hamlib NET rigctl
Network Server:  127.0.0.1:4532
PTT Method:      CAT

Then click Test CAT.

---

External CW Keying Interfaces (e.g. FT-817, FT-818, FT-857)

Radios such as the Yaesu FT-817, FT-818 and FT-857 require a suitable external keying circuit, for example an optocoupler interface, between the RTS line and the radio's CW KEY jack when using RTS CW. A CAT connection alone does not replace this interface. Never connect RTS directly to the KEY jack without verifying electrical compatibility. Check pinouts, voltage levels, keying polarity and radio settings against the equipment manual. The following references describe different designs; not all use RTS for CW or can be copied unchanged for every radio.

Safety and Disclaimer

Perform initial CW tests at low power into a suitable dummy load. All information, software, schematics, third-party construction instructions and guidance are provided AS IS, without warranty of any kind. Construction, connection and operation are at your own risk. To the extent permitted by applicable law, no liability is accepted for damage to radios, computers, interfaces, other equipment or consequential losses. This also applies to linked third-party circuits and instructions. Never expose local port 8088 to the Internet.

---

New in Version 4.6

* Selectable cw_method: "hamlib" or cw_method: "rts"
* RTS CW keying via the serial COM port
* Updated commented templates and radio configuration examples
* Safety guidance and external CW keying circuit references

---

New in Version 4.5

* Open the CW window in GMA Spider by clicking the CW mode label of a spot
* Send CW messages using configurable function keys, similar to a contest keyer
* Insert callsigns, names, signal reports and references into CW messages
* Update package for existing version 4.3 installations; config.json is preserved
* Windows support

---

New in Version 4.3

* Configurable QSY order (order: mode-first or freq-first)

* Configurable delays after mode or frequency changes (delay_after_freq)

* Improved compatibility with Yaesu transceivers

* New sample configuration files

* Updated documentation

---

New in Version 4.2

* rigctld as the recommended connection mode

* Support for rigctl and rigctld

* Desktop launcher start-gma-rig.bat

* Desktop icon start-gma-rig.ico

* Status display with frequency and mode

* Mode-first QSY sequence for improved compatibility with certain transceivers

---

Have fun using the GMA Rig Connector on the bands!

73 de DL4MFM