CAT Control
AetherSDR has a built-in CAT server, so logging and digital-mode programs can read and set frequency, mode, split and PTT without an external rigctld or a SmartSDR CAT install. It offers up to eight CAT ports. Each port speaks one of four dialects: Hamlib Rigctld (NET rigctl), Kenwood TS-2000, Flex (FlexCAT, the SmartSDR CAT command set), or OTRSP for two-slice contesting focus. On Linux and macOS every port can also appear as a virtual serial port.
CAT works with WSJT-X, JTDX, fldigi, JS8Call, Winlink/VARA, N1MM+, DXLog and most other Hamlib- or Kenwood-aware programs. For audio, pair it with DAX Virtual Audio, or use the TCI Server, which carries CAT and audio over one connection.
The CAT Control applet popped out of the applet panel, showing the full channel table.
Setup
The CAT applet
CAT has its own CAT Control applet (applet-tray button CAT, Integration category). Docked, it shows only the master Enabled / Disabled button. To configure ports, pop the applet out with the float button on its title bar. The floating view reads "Enable before configuring ports" and lists one row per port:
| Column | Meaning |
|---|---|
| Enabled | Starts this port. A port runs only when the master switch is on, this box is ticked and a port number is set. |
| Port | TCP port, 1024–65535. |
| Dialect | Rigctld, TS-2000, Flex or OTRSP. |
| VFO A | The slice this port controls as VFO A; OTRSP Radio 1. |
| VFO B | The slice used as VFO B; OTRSP Radio 2 (dual-VFO dialects only; see Choosing a dialect). |
| PTY | The virtual serial port path (Linux and macOS only). Right-click → Copy PTY Name. |
| Clients | Number of programs connected to the port, or "—" when it is stopped. Error means the port could not start or its saved OTRSP assignments are unavailable; the tooltip and screen-reader description give the reason. |
While a port is running, its port number, dialect and VFO selectors are locked. Untick the port to change them.
If Clients shows Error, untick the row, correct its assignments or choose a TCP port that is not already in use, then tick it again. Unticking the row clears its startup error. A ticked row does not guarantee that its listener started successfully.
The VFO selectors list one letter per receiver the connected radio offers, up to A–H. Saved VFO A and VFO B assignments are restored after restarting AetherSDR and connecting to a radio. If you connect to a smaller radio, a slice choice it cannot show is kept and comes back when that slice exists again.
Turning CAT on
- Settings → Autostart CAT with AetherSDR is the same switch as the applet's master Enabled button. While it is on, every enabled port starts when you connect to a radio.
- A fresh install has CAT switched off, with two rows pre-filled: port 4532 as Rigctld on slice A, and port 5001 as Flex with VFO A = slice A and VFO B = slice B. Both rows are unticked. The other six rows are empty.
Upgrading from an older version: there is no longer a DIGI applet or a fixed set of four servers on ports 4532–4535. The first time the CAT applet ran, your old rigctld and SmartCAT settings were moved to its first two rows.
Using CAT Control
Choosing a dialect
| Dialect | Use it for | VFO B |
|---|---|---|
| Rigctld | Hamlib "NET rigctl" clients: WSJT-X, JTDX, fldigi, JS8Call, VARA/Winlink | Not used. Split is created on demand when the program asks for it. |
| TS-2000 | Programs that only offer a Kenwood rig | Yes |
| Flex | Programs with a SmartSDR CAT / FlexRadio profile (Kenwood commands plus the ZZ extensions) | Yes |
| OTRSP | Contest programs controlling RX audio/focus and TX-slice selection on one FlexRadio | Required; must differ from VFO A |
Switching a port between a single-VFO and a dual-VFO dialect keeps your VFO B choice; it reappears when you switch back.
The rigctld dialect follows the Hamlib NET rigctl command set: frequency, mode and passband, VFO, split, PTT, levels, functions, CTCSS/FM tones, dump_state and the long \ forms. See the Hamlib documentation for the commands themselves.
OTRSP for two-slice contesting
OTRSP maps two virtual radios to two slices on one physical FlexRadio. It does not coordinate separate physical radios.
- Create the two slices you want to use.
- In the floating CAT Control applet, choose an unused row and select OTRSP in Dialect. An empty Port defaults to 60000; you can change it.
- Set VFO A to the slice for Radio 1 and VFO B to a different slice for Radio 2. The row cannot be enabled until two distinct slices are assigned.
- Enable the row and the master CAT switch.
- Connect your contest program's OTRSP TCP connection to AetherSDR's host and this port. Commands end with a carriage return (
\r).
The slice assignments are configurable: Radio 1 does not have to be slice A, and Radio 2 does not have to be slice B. The Clients column shows the connected program count. Existing slice highlighting, audio mute/pan controls and TX indicators follow radio-confirmed changes.
| Command | Headphone routing | Selected slice |
|---|---|---|
RX1 | Radio 1 in both ears; Radio 2 muted | Radio 1 |
RX2 | Radio 2 in both ears; Radio 1 muted | Radio 2 |
RX1S | Radio 1 left, Radio 2 right; both unmuted | Radio 1 |
RX2S | Radio 1 left, Radio 2 right; both unmuted | Radio 2 |
RX1R | Radio 1 right, Radio 2 left; both unmuted | Radio 1 |
RX2R | Radio 1 right, Radio 2 left; both unmuted | Radio 2 |
TX1 and TX2 select the mapped transmitting slice. They do not key the transmitter or generate RF. PTT and CW keying remain separate, using your existing transmit mechanism. A TX-focus change is refused while the radio is transmitting.
?NAME returns NAMEAetherSDR, ?RX reads the current audio/focus mode, and ?TX reads the current TX focus. Every response ends with \r. Queries use live model state, including changes made outside OTRSP, rather than the last command a client sent. If the mapped slices are unavailable or the live state cannot be represented by OTRSP, the query is echoed rather than reporting a fabricated focus.
Commands remain in order on each connection. After a TX-focus request or a stereo/reverse-stereo RX-focus request, subsequent commands and queries wait for matching focus, for a refusal, or for a 250 ms confirmation timeout. Stereo RX waits until exactly one mapped slice is active, so an immediate ?RX does not treat the temporary two-active-slice state as an unsupported query. A TX2\r?TX\r burst therefore waits for confirmation before replying; on refusal or timeout the reply describes the observed focus, not the requested one. Closing the connection or losing a mapped slice or radio session cancels pending work, including incomplete commands and the rest of a command burst. A connection with work in flight closes when its mapping or session is lost; reconnect the contest program after restoring the radio and slices. An idle connection can accept fresh commands after reconnection. Excessive queued input closes the connection rather than growing memory without bound.
If a virtual serial connection exceeds its output-queue limit, the whole CAT port stops instead of leaving TCP active with a missing PTY. Untick and re-enable that row after fixing the client that stopped reading.
Unknown queries (including the bare ? ping) are echoed, as specified by OTRSP. AUX outputs, relay switching, events, microphone routing, PTT commands and CW routing are not implemented. Unsupported non-query commands are ignored. Slice gains and unmapped slices are left unchanged; disconnecting a client or stopping the port does not restore older mute/pan or focus values.
Testing a rigctld port
echo "f" | nc localhost 4532
# 14074000
echo "F 7074000" | nc localhost 4532
# RPRT 0
Virtual serial ports (Linux and macOS)
Each CAT port also creates a pseudo-terminal, so programs that only offer a serial port can connect. The path is shown in the applet's PTY column:
| Platform | Path |
|---|---|
| Linux | $XDG_RUNTIME_DIR/aethersdr/cat-A … cat-H (falls back to the user cache directory when there is no runtime directory) |
| macOS | ~/Library/Caches/AetherSDR/cat-A … cat-H |
| Windows | No virtual serial ports. Use the TCP ports. |
The letter is the port's row (first row = cat-A), not the slice. The path is a per-user symlink to the current pseudo-terminal and is replaced atomically, so a program can keep the same path across restarts.
Upgrading from an older version: the serial ports used to be
/tmp/AetherSDR-CAT-A…D. They moved to the per-user paths above for security (GHSA-qxhr-cwrc-pvrm). Re-point fldigi and any other serial-port program at the new path.
Reference
Command behavior
- Band changes move the panadapter. A tune that lands inside the visible span moves only the slice, so Doppler-stepping satellite software does not keep re-centering the pan. A tune outside the span, or to another band, re-centers or re-bands the panadapter. This applies to WSJT-X and fldigi band changes, rigctld
set_freq,FA/FBand VFO up/down (#4876). - Locked slices refuse. A CAT tune on a locked slice returns an error instead of a false success.
- Split is tracked per client. Each CAT client sees its own split state, so several WSJT-X instances (one per port) can all use Split Operation: Fake It (#4853).
- Safety. A bare
ZZTX;reads the transmit state; it does not key. TS-2000 satellite-mode TX is refused. Repeatingset_split_vfoortx_enablewith the same value does not trip the radio's TX watchdog. - S-meter. rigctld
l STRENGTHreads the real S-meter of the addressed slice, in dB relative to S9. - Tuning step.
set_tsaccepts a positive whole number of Hz; zero, negative or malformed values answerRPRT -1.RPRT 0acknowledges that the request was queued. On FlexRadio,get_tsreports the step observed from the radio; on radios with a client-owned step, it reports AetherSDR's local value. A queued request stays with its original slice and is discarded if that slice or connection is replaced, or the slice passes to another station, before dispatch. - RF gain on other radios. On the Hermes-Lite 2 and other non-Flex radios,
L RF/l RFscale across the radio's published RF-gain range (on the HL2, 0.5 = +18 dB). Until a range is published the command answersRPRT -11(#6013). - MON and VOX availability. When the connected radio has no monitor or VOX control, rigctld refuses the corresponding
MONITOR_GAIN,VOXGAIN,VOXDELAYand VOX-on requests withRPRT -11(unavailable). VOX-off requests remain accepted. - CW over rigctld.
cwx sendand the clear commands go through the CWX model, so sidetone matches manual keying. - CW text on a radio without a text keyer. On the Hermes-Lite 2, rigctld
send_morse(b) is keyed by AetherSDR at the CW speed set in AetherSDR or byL KEYSPD, with the same break-in and transmit checks as a paddle. It answersRPRT -9(rejected) when there is no transmit slice, the transmit slice is not in a CW mode, transmit is inhibited, or TUNE is active, andRPRT -11when the radio cannot transmit. With break-in off, the logger must key PTT first (T 1), or the text is refused withRPRT -9. A message longer than 511 characters, or one that would take the text still waiting to be sent past 1024 characters, is refused withRPRT -9. Text containing a character the host keyer cannot encode is refused withRPRT -1. A refusal during a message discards the remaining text. AetherSDR shows a notice when the transmit slice leaves CW, transmit is inhibited, TUNE is active, or break-in is off without host PTT.stop_morsereleases the key when AetherSDR processes the stop request. There is no local sidetone for this text. Each rigctld connection has its own text keyer: two programs sending at the same time interleave their CW, andstop_morsestops only the text sent on its own connection.
Known issues
- A cross-band tune from a CAT or TCI program moves the frequency but does not recall the radio's band stack, so the per-band antenna, mode and filters are not restored. On a transverter band this can leave the wrong antenna port selected (#3543).
- CAT ports listen on every network interface with no password, so any machine that can reach a port can tune and key the radio (#5296).
- MacLoggerDX on macOS can be slow to connect and can drop its connection (#5699).
Troubleshooting
To capture a log for any CAT problem, turn on the TCI / CAT / rigctld category in Help → Support & Diagnostics.... It logs the CAT servers and the virtual serial ports. See Support and Logging.
The Clients column shows "—"
The port is not running.
- Check that the master Enabled switch is on (or Settings → Autostart CAT with AetherSDR is ticked).
- Tick the port's Enabled box.
- Make sure the row has a port number set.
You can't change a port's number, dialect or VFO
The port is running, and a running port's settings are locked.
- Untick the port's Enabled box.
- Change the setting.
- Tick Enabled again.
The program tunes the wrong slice
The port's VFO A points at a different slice.
- Pop out the CAT applet.
- Untick the port, set its VFO A letter to the slice you want, and tick it again.
OTRSP connects but focus does not change
- Check that VFO A and VFO B name two distinct, existing slices on the connected radio. OTRSP does not create a missing slice or substitute a different one.
- Make sure the logger sends carriage-return-terminated OTRSP commands, not semicolon-terminated Kenwood CAT.
- Release PTT before changing TX focus.
- Enable TCI / CAT / rigctld logging to see refused commands or unavailable mappings.
A serial-port program can't open /tmp/AetherSDR-CAT-A
The virtual serial ports moved to per-user paths.
- Read the new path from the port's PTY column (right-click → Copy PTY Name).
- Point the program (fldigi, for example) at that path.