Xiegu X108G: CAT control and logging app
HamQSO reads the frequency and mode of the Xiegu X108G 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 X108G 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 X108G in the app
| Protocol | CI-V (binary) |
|---|---|
| Speed | 19200 baud (default, can be changed) |
| CI-V address | 70h |
| Stop bits | 1 |
| Handshake | none, RTS held low |
| Hamlib model | 3076 |
| Meters over USB | S-meter and SWR (no power meter) |
| CW over CAT | no: coverage test in manual mode |
| Digital spots | plain USB |
| Bands it receives | 160 m, 80 m, 60 m, 40 m, 30 m, 20 m, 17 m, 15 m, 12 m, 10 m, 6 m, 2 m, and 70 cm |
How to connect the X108G
Android phone or tablet: USB cable
Connect the X108G 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 Xiegu X108G in the list: the app fills in 19200 baud and CI-V address 70h. 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 X108G 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 X108G's Hamlib number, 3076, 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 X108G 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 3076 -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 3076 -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 3076 -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 X108G? 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 X108G
The X108G speaks CI-V, the Icom protocol that Xiegu radios use too. Every radio on a CI-V bus has an address, and the X108G's default is 70h: if you changed it in the radio's menu, change it in the app as well, or the X108G will not answer.
For an FT8 spot on 14,074 kHz the app writes FE FE 70 E0 05 00 40 07 14 00 FD to the X108G: two FE preambles, the address 70, 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 X108G's profile has no data-mode command: a digital spot puts it on plain USB.
Hamlib keeps the X108G in xiegu.c, with the G90, X5105, X6100, and X6200: the app's profiles for them come from the same file.
On the X108G's port the app keeps RTS low: on many interfaces RTS keys the transmitter.
What HamQSO does with the X108G
- Logs frequency and mode: the QSO you are writing takes the X108G's frequency, band and mode.
- Tunes from spots: one tap on a DX cluster, POTA, SOTA or WWFF spot sends the X108G 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 X108G cannot receive: Hamlib gives it 30 to 199,999.999 kHz and 400,000 to 470,000 kHz, which covers 160 m, 80 m, 60 m, 40 m, 30 m, 20 m, 17 m, 15 m, 12 m, 10 m, 6 m, 2 m, and 70 cm; a spot outside them is not sent to the radio.
- Reads the meters over the USB cable: S-meter and SWR.
- No CW over CAT with the X108G: 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 X108G.
What it does not do with the X108G
- No PTT: HamQSO never keys the X108G, carries no audio and does not drive digital-mode programs.
- No Bluetooth: the X108G reaches the app only by USB cable or over the network, with rigctld or flrig.
- No cable on iPhone and iPad: there the X108G goes through a computer.
- No shared port: over USB the app needs the X108G'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 Xiegu X108G profile in the HamQSO app, written from Hamlib's driver xiegu.c (model 3076). 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 X108G on iPhone?
Yes, through a computer: run rigctld -m 3076 -s 19200 on the computer the X108G 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 X108G to an Android phone?
Yes, with a USB cable and an OTG adapter: choose Xiegu X108G in the app and keep 19200 baud and CI-V address 70h, unless the radio's menu says otherwise.
Which baud rate and CI-V address does the X108G use?
The app starts from 19200 baud and CI-V address 70h, 1 stop bit, without RTS/CTS. Set the same in the X108G's CAT menu.
Does HamQSO key the X108G's PTT?
No. It reads and sets frequency and mode; transmitting stays with you and your other programs.
Can HamQSO send CW with the X108G?
Not over CAT: the X108G's profile has no CW command, so the coverage test runs in manual mode.
Does the X108G 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.