Elecraft KX2/KX3: CAT control and logging app
HamQSO reads the frequency and mode of the Elecraft KX2/KX3 over CAT, puts them in the QSO you are logging and tunes the radio when you tap a cluster or activation spot. An Android phone connects to the KX2/KX3 with a USB cable, an iPhone or iPad through rigctld or flrig on a computer, and Chrome or Edge on a computer with a USB cable.
CAT radio control comes with a plan: going through the setup guide is free.
The KX2/KX3 in the app
| Protocol | ASCII, Kenwood style (FA…;) |
|---|---|
| Speed | 38400 baud (default, can be changed) |
| Stop bits | 1 |
| Handshake | none, RTS held low |
| Frequency digits | 11 (FA command) |
| Hamlib model | 2045 — KX3 (2045) and KX2 (2044) |
| Meters over USB | none over the cable; through rigctld when it gives them |
| CW over CAT | yes, for the coverage test: the KY command, text as typed (per Hamlib, not yet tried on a real radio) |
| Digital spots | USB (DATA from the radio menu) |
| Bands it receives | 160 m, 80 m, 60 m, 40 m, 30 m, 20 m, 17 m, 15 m, 12 m, 10 m, and 6 m |
How to connect the KX2/KX3
Android phone or tablet: USB cable
Connect the KX2/KX3 to the phone with its USB cable, or a CAT cable with a USB converter (CP210x, FTDI, CH340 or PL2303 chip), plus an OTG adapter. Choose Elecraft KX2/KX3 in the list: the app fills in 38400 baud. When Android asks to use the USB device, tap Allow. No computer in between, which is handy when portable.
iPhone and iPad: through a computer
Apple does not allow a cable from an iPhone to the radio, so the KX2/KX3 stays connected to a computer or a Raspberry Pi running Hamlib's rigctld, and the app reaches it over Wi-Fi on port 4532. The commands below already carry the KX2/KX3's Hamlib number, 2045, and its speed, 38400. Phone and computer must be on the same network. This works on Android too.
Chrome or Edge on a computer: USB cable
HamQSO web talks to the KX2/KX3 over the USB cable to the computer (Web Serial). Choose the model, click Connect and, the first time, pick the radio's port in the browser's window; the app remembers it. Safari and Firefox cannot open a serial port, and rigctld or flrig are not available in the browser.
Windows
2. With the radio connected to the computer, run
rigctld -m 2045 -r COM3 -s 38400 -T 0.0.0.0 -t 4532macOS
1. Install Hamlib
brew install hamlib2. With the radio connected to the computer, run
rigctld -m 2045 -r /dev/cu.usbserial-0001 -s 38400 -T 0.0.0.0 -t 4532Linux
1. Install Hamlib
sudo apt install libhamlib-utils2. With the radio connected to the computer, run
rigctld -m 2045 -r /dev/ttyUSB0 -s 38400 -T 0.0.0.0 -t 4532The port is an example: use the one your computer gives the radio.
Already using flrig with the KX2/KX3? Turn on its XML-RPC server and connect HamQSO to the computer on port 12345: through flrig the app reads frequency and mode, without CW.
What the app sends to the KX2/KX3
The KX2/KX3 speaks ASCII commands in the Kenwood style: the app sends the frequency as FA followed by 11 digits and a semicolon, and the mode with MDn;.
For an FT8 spot on 14,074 kHz the app writes FA00014074000; to the KX2/KX3, then asks FA; to read the frequency back.
A digital spot puts the KX2/KX3 on USB; whether that USB takes audio from the data input is a setting in the KX2/KX3's own menu (DATA), not a CAT command the app sends.
Hamlib keeps the KX2/KX3 in rigs/kenwood/k3.c, with the K3/K3S and K4: the app's profiles for them come from the same file.
On the KX2/KX3's port the app keeps RTS low: on many interfaces RTS keys the transmitter.
What HamQSO does with the KX2/KX3
- Logs frequency and mode: the QSO you are writing takes the KX2/KX3's frequency, band and mode.
- Tunes from spots: one tap on a DX cluster, POTA, SOTA or WWFF spot sends the KX2/KX3 there. FT8, FT4 and JS8 spots go to the calling dial frequency; if you let the mode follow the spot, SSB goes to LSB below 10 MHz and USB above (and on 60 m).
- Skips spots the KX2/KX3 cannot receive: Hamlib gives it 500 to 30,000 kHz and 48,000 to 54,000 kHz, which covers 160 m, 80 m, 60 m, 40 m, 30 m, 20 m, 17 m, 15 m, 12 m, 10 m, and 6 m; a spot outside them is not sent to the radio.
- Meters: none over the USB cable with the KX2/KX3; through rigctld the app shows S-meter, power and SWR when rigctld gives them.
- Sends the coverage test's CW through CAT, with the KY command, text as typed. Hamlib says the KX2/KX3 takes it; it has not been tried on a real one yet.
- Drops a silent radio: after three readings with no answer (it waits up to 5 seconds each) the app disconnects the KX2/KX3.
What it does not do with the KX2/KX3
- No PTT: HamQSO never keys the KX2/KX3, carries no audio and does not drive digital-mode programs.
- No Bluetooth: the KX2/KX3 reaches the app only by USB cable or over the network, with rigctld or flrig.
- No cable on iPhone and iPad: there the KX2/KX3 goes through a computer.
- No shared port: over USB the app needs the KX2/KX3's port to itself, so close WSJT-X, flrig or HRD first, or reach the radio through rigctld or flrig.
Where these values come from
From the Elecraft KX2/KX3 profile in the HamQSO app, written from Hamlib's driver rigs/kenwood/k3.c (model 2045). They are the defaults the app fills in; your radio's menu has the last word. Copied from the app on December 3, 2026.
Questions
Is there a CAT app for the KX2/KX3 on iPhone?
Yes, through a computer: run rigctld -m 2045 -s 38400 on the computer the KX2/KX3 is plugged into, or use flrig, and connect HamQSO to it over Wi-Fi. iOS does not allow a USB cable to the radio.
Can I connect the KX2/KX3 to an Android phone?
Yes, with a USB cable and an OTG adapter: choose Elecraft KX2/KX3 in the app and keep 38400 baud, unless the radio's menu says otherwise.
Which baud rate does the KX2/KX3 use?
The app starts from 38400 baud, 1 stop bit, without RTS/CTS. Set the same in the KX2/KX3's CAT menu.
Does HamQSO key the KX2/KX3's PTT?
No. It reads and sets frequency and mode and sends the CW of the coverage test; transmitting stays with you and your other programs.
Can HamQSO send CW with the KX2/KX3?
Only the coverage test's CW, through CAT, which Hamlib says the KX2/KX3 takes; it has not been tried on a real one yet. There is no CW keyboard.
Does the KX2/KX3 work with HamQSO in the browser?
Yes, in Chrome or Edge on a computer, with the USB cable to that computer. Safari and Firefox cannot reach a serial port.