| .vscode | ||
| .gitignore | ||
| args.go | ||
| audio-linux.go | ||
| audiostream.go | ||
| bandwidth.go | ||
| controlstream.go | ||
| go.mod | ||
| go.sum | ||
| kappanhang.code-workspace | ||
| LICENSE | ||
| log.go | ||
| main.go | ||
| passcode.txt | ||
| pkt0.go | ||
| pkt7.go | ||
| README.md | ||
| seqbuf.go | ||
| serial-linux.go | ||
| serialstream.go | ||
| serialtcpsrv.go | ||
| streamcommon.go | ||
| txseqbuf.go | ||
| util.go | ||
kappanhang
kappanhang remotely opens audio channels and a serial port to an Icom RS-BA1 server. The app is mainly developed for connecting to the Icom IC-705 transceiver, which has built-in Wi-Fi and RS-BA1 server. All features of the protocol are implemented including packet retransmission on packet loss.
kappanhang currently only supports Linux, but support for other platforms can be easily added if anyone is interested (volunteers needed).
Compiling
You'll need Go installed on your computer.
go get https://github.com/nonoo/kappanhang
go install https://github.com/nonoo/kappanhang
Required settings on the RS-BA1 server (the transceiver)
You can find these settings on the Icom IC-705 in: Menu -> Set -> WLAN set -> Remote settings.
- Make sure Network control is turned on.
- Set the Network user 1 username to
beerand the password tobeerbeer. These are fixed as the password encoding of the RS-BA1 protocol has not been decrypted yet. See passcode.txt for more information. - Leave the UDP ports on their default values:
- Control port:
50001 - Serial port:
50002 - Audio port:
50003
- Control port:
- Leave the Internet access line on the default
FTTHvalue.
Make sure the DATA MOD (you can find this setting on the Icom IC-705 in:
Menu -> Set -> Connectors -> MOD Input -> DATA MOD) is set to WLAN.
Running
You can get the available command line parameters with the -h command line
argument.
If no command line arguments are set, then the app will try to connect to the host ic-705 (ic-705.local or ic-705.localdomain).
After it is connected and logged in:
-
Creates a virtual PulseAudio sound card (48kHz, s16le, mono). This can be used to record/play audio from/to the server (the radio). You can also set this sound card in WSJT-X.
If you want to listen to the audio coming from this sound card in real time, then you can create a PulseAudio loopback between the kappanhang sound card and your real sound card. You can also create a loopback for your microphone using this tool, so you'll be able to transmit your voice.
-
It starts a TCP server on port
4533for exposing the serial port. This can be used for controlling the server (the transceiver) with Hamlib:rigctld -m 3085 -r 127.0.0.1:45333085 is the model number for the Icom IC-705.
rigctldwill connect to kappanhang's TCP serial port server, and waits connections on it's default TCP port4532.To use this with for example WSJT-X, open WSJT-X settings, go to the Radio tab, set the rig type to
Hamlib NET rigctl, and the Network server to127.0.0.1:4532.
If the -s command line argument is specified, then kappanhang will create a
virtual serial port, so other apps which don't support Hamlib can access
the transceiver directly. Look at the app log to find out the name of the
virtual serial port.
Authors
- Norbert Varga HA2NON nonoo@nonoo.hu
- Akos Marton ES1AKOS
Donations
If you find this app useful then buy me a beer. :)