Home » Software & Ham Tools » HAM-Tools APRS is here: an iGate on the Mac, without Direwolf and without a TNC

5 min read

HAM-Tools APRS is here: an iGate on the Mac, without Direwolf and without a TNC

As of today there is a new app from me: HAM-Tools APRS. It grew out of the APRS module of HAM-Tools and does exactly one thing: APRS on the Mac, from the situation map to beacons and messages to an iGate in both directions. Version 1.0 has been available for download on GitHub since this evening, free of charge, signed and notarised by Apple.

HAM-Tools APRS map with APRS stations around Lake Constance, St. Gallen and Liechtenstein
The situation map around Lake Constance: HB9AF-10 right in the middle, surrounded by digis, iGates and weather stations

Why a separate app?

The reason was a practical one. My iGate HB9HJI-10 used to run with Direwolf on a Raspberry Pi, and it could not transmit. So it only listened and passed things on to the internet. I wanted an iGate that also works in the other direction and brings messages from the internet to stations that can only be reached by radio.

HAM-Tools has been able to do that for a while. But anyone who only wants APRS does not need a logbook, a contest mode or propagation forecasts. So I pulled the module out. On Monday there was only a concept paper; today version 1.0 is out. HAM-Tools itself stays unchanged, and its APRS module carries on as before.

HB9AF-10 now runs with the new app on an IC-9700 on 144.800 MHz, as an iGate in both directions.

What the app can do

  • Situation map: map, station list, raw packets plus weather and telemetry values, via the internet (APRS-IS), via radio or both at once. The map is available with streets, or offline with country borders only.
  • Your own beacon: manually or at an interval, via the internet or via radio. If you do not want to show your QTH to the metre, you can deliberately send a blurred position.
  • Messages: with acknowledgement and automatic retries, plus bulletins and a macOS notification for incoming messages.
  • Objects: for example, putting a field day site or a meeting point on the map.
  • iGate: RF → internet and internet → RF, each with its own switch and counter.
Station list in HAM-Tools APRS with callsign, type, distance, bearing and comment, above it the status bar
The station list: 138 stations with distance, bearing and comment; at the top the status bar with internet, RF receive, RF transmit and iGate (the interface shown is German; the app also runs in English)

The modem is built into the app

What makes it special for us radio amateurs: the app needs neither Direwolf nor a TNC. The 1200-baud modem is built in. The app decodes APRS directly from the radio’s USB audio and generates the tones itself when transmitting. It controls the radio via the bundled rigctld from Hamlib: it reads frequency, mode and squelch and keys the transmitter. It does not change any settings on the radio itself.

On the IC-9700 this means: receiver on 144.800 MHz, mode FM-D, AF output to USB and DATA MOD to USB. One USB cable, and that’s it.

Radio and audio settings in HAM-Tools APRS with IC-9700 via rigctld and USB audio
The «Radio and Audio» settings: IC-9700 via rigctld, USB audio for receive and transmit, path WIDE1-1,WIDE2-1

Better to transmit once too little

An app that transmits on 144.800 MHz on its own needs safeguards. That is why:

  • Transmit permission is off after every start and has to be switched on deliberately.
  • The app only transmits if the radio is no more than 1 kHz away from the APRS frequency.
  • If the channel is busy, the app waits up to 10 seconds and otherwise drops the packet.
  • PTT is released after every transmission, at the latest after a fixed time limit. And that also applies if the app crashes.

The last point has a story behind it: during the radio test on Tuesday, the IC-9700 stayed keyed when the app crashed. Since then, a watchdog first sends the command to release PTT to the radio in that case, and only then closes the connection.

The internet → RF iGate is deliberately cautious, too. A message only goes out on air if the recipient was heard on RF within the last hour and is not on the internet itself. At most 6 packets per minute and 60 per hour go out. Positions and weather of other stations never go from the internet to RF.

Honest limits

  • Transmitting via radio has only been tested with the IC-9700. Other radios run through the same Hamlib interface but have not been tested. If you try it with another radio: please start with low power into a dummy load and check that the transmitter releases again. And let me know.
  • The app only runs while its window is open. There is no background or menu bar mode yet.
  • There is no built-in digipeater; the app is an iGate.

Open source, and HAM-Tools stays as it is

Something new for me: HAM-Tools APRS is open source and available on GitHub under the GPL-3.0. The two building blocks underneath, APRSKit (APRS protocol and modem) and LocatorKit (Maidenhead locator, distance, bearing), are public under the MIT licence. If you are building your own APRS application in Swift, you are welcome to use them.

HAM-Tools itself is not affected by this. It remains free of charge, but not open source.

Download

The app checks for a new version once a day by itself. You then install it yourself; the app does not download anything on its own.

If you see HB9AF-10 on aprs.fi: that is the Mac now.

73 de Chris, HB9HJI

Leave a Reply

Your email address will not be published. Required fields are marked *