Icom ID-31: CAT control and logging app
HamQSO reads the frequency and mode of the Icom ID-31 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 ID-31 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 ID-31 in the app
| Protocol | CI-V (binary) |
|---|---|
| Speed | 19200 baud (default, can be changed) |
| CI-V address | A0h |
| Stop bits | 1 |
| Handshake | none, RTS held low |
| Hamlib model | 3083 |
| Meters over USB | S-meter, power, SWR |
| CW over CAT | no: coverage test in manual mode |
| Digital spots | plain USB |
| Bands it receives | 70 cm |
How to connect the ID-31
Android phone or tablet: USB cable
Connect the ID-31 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 Icom ID-31 in the list: the app fills in 19200 baud and CI-V address A0h. 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 ID-31 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 ID-31's Hamlib number, 3083, and its speed, 19200. 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 ID-31 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 3083 -r COM3 -s 19200 -T 0.0.0.0 -t 4532macOS
1. Install Hamlib
brew install hamlib2. With the radio connected to the computer, run
rigctld -m 3083 -r /dev/cu.usbserial-0001 -s 19200 -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 3083 -r /dev/ttyUSB0 -s 19200 -T 0.0.0.0 -t 4532The port is an example: use the one your computer gives the radio.
Already using flrig with the ID-31? 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 ID-31
The ID-31 speaks CI-V, Icom's binary protocol. Every radio on a CI-V bus has an address, and the ID-31's default is A0h: if you changed it in the radio's menu, change it in the app as well, or the ID-31 will not answer.
For an FT8 spot on 432,174 kHz the app writes FE FE A0 E0 05 00 40 17 32 04 FD to the ID-31: two FE preambles, the address A0, the controller E0, command 05 and the frequency as five BCD bytes, lowest first. It reads the frequency back with command 03 and the mode with 04.
The ID-31's profile has no data-mode command: a digital spot puts it on plain USB.
On the ID-31's port the app keeps RTS low: on many interfaces RTS keys the transmitter.
What HamQSO does with the ID-31
- Logs frequency and mode: the QSO you are writing takes the ID-31's frequency, band and mode.
- Tunes from spots: one tap on a DX cluster, POTA, SOTA or WWFF spot sends the ID-31 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 ID-31 cannot receive: Hamlib gives it 400,000 to 479,000 kHz, which covers 70 cm; a spot outside them is not sent to the radio.
- Reads the meters over the USB cable: S-meter, output power and SWR.
- No CW over CAT with the ID-31: the coverage test runs in manual mode and you send. Through rigctld the app uses CW only if rigctld says the radio takes it.
- Drops a silent radio: after three readings with no answer (it waits up to 5 seconds each) the app disconnects the ID-31.
What it does not do with the ID-31
- No PTT: HamQSO never keys the ID-31, carries no audio and does not drive digital-mode programs.
- No Bluetooth: the ID-31 reaches the app only by USB cable or over the network, with rigctld or flrig.
- No cable on iPhone and iPad: there the ID-31 goes through a computer.
- No shared port: over USB the app needs the ID-31'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 Icom ID-31 profile in the HamQSO app, written from Hamlib's driver rigs/icom/id31.c (model 3083). 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 ID-31 on iPhone?
Yes, through a computer: run rigctld -m 3083 -s 19200 on the computer the ID-31 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 ID-31 to an Android phone?
Yes, with a USB cable and an OTG adapter: choose Icom ID-31 in the app and keep 19200 baud and CI-V address A0h, unless the radio's menu says otherwise.
Which baud rate and CI-V address does the ID-31 use?
The app starts from 19200 baud and CI-V address A0h, 1 stop bit, without RTS/CTS. Set the same in the ID-31's CAT menu.
Does HamQSO key the ID-31's PTT?
No. It reads and sets frequency and mode; transmitting stays with you and your other programs.
Can HamQSO send CW with the ID-31?
Not over CAT: the ID-31's profile has no CW command, so the coverage test runs in manual mode.
Does the ID-31 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.