The complete AX.25 stack
I have previously mentioned that I’ve been writing an AX.25 implementation in Rust (and before that, in C++). I also made a proof of concept KISS modem.
But now everything is starting to come together. The modem is now smarter and plug and play, and the AX.25 implementation has AGW as connection oriented API. I also have a simple BBS set up.
So now I have the whole stack the way I want it. I can improve the modem, or add new modes (currently supports bell103, bell202, and G3RUH), and while working on the AX.25 implementation I’m finding ways not just to improve the code, but to improve the standard itself.
We have some people working on the next version of the AX.25 spec, centered around this repo.
Overview diagram
This is an example of how I run things, with links to all the individual parts.
Example startup
Note that exact config syntax and flag names may change in the future.
rrmodem
$ cat test.conf
device {
sdr {
driver: "driver=uhd"
frequency_hz: 144800000
output_gain: 0.5
input_gain: 0.2
}
}
kiss {
tcp_listen: "[::1]:7878"
}
kiss_ports {
port: 0
bell202 {}
}
kiss_ports {
port: 1
g3ruh {}
}
$ rrmodem -c test.conf
rrmodem also has support for rigctld, to trigger PTT or power amplifiers.
agw-kiss (from rax25)
Example connecting to rrmodem:
$ agw-kiss --xid -t localhost:7878 -l '[::1]:8888'
Example connecting to the serial port over bluetooth:
$ rfcomm bind /dev/rfcomm0 <mac address of kenwood TH-D75> 2 &
$ agw-kiss --xid -d /dev/rfcomm0 -l '[::1]:7777'
abbs
$ abbs --callsign <BBS callsign here> --agw-addr localhost:7777
term
$ term --agw-addr localhost:8888 <source callsign> <BBS callsign>