-
Notifications
You must be signed in to change notification settings - Fork 3
Android
This Wiki page explains how to make HF (Packet radio should work as well) Winlink connections on Android devices using the SCS PACTOR modems. I assume the reader is familiar how to set up Pat.
To run Pat with PACTOR on Android you need:
- A PACTOR modem with Bluetooth support (USB may work as well, but it will work differently and I haven't tested it at all!). I tested this with my DR-7800.
- A more-or-less recent Android device (I tested in on a Samsung Galaxy Tab 4)
- Termux - can be easily installed from the F-Droid app store
- An Android Bluetooth/IP bridge. There seem to be none on F-Droid, but I successfully tested both of the following apps from Marek Masár which are available on Google Play (one is the free version, I bought the "Pro" one)
- (free version) "Bluetooth Bridge (+TCP)"
- (paid "Pro" version) "BT/USB/TCP Bridge Pro"
- Pat compiled on Android. I will provide a detailed guide in the future.
Inside of termux you need to install at least the socat package with pkg add socat.
This will require three steps, as Termux currently has no Bluetooth support, although there is some work in progress.
- connecting the modem to your Android device. The PACTOR modem is a normal, serial Bluetooth device. The procedure how to set up Bluetooth on your modem is described in the DR-7X00 installation guide. Once you've set it up, you should be able to pair your modem to your Android device.
-
Setting up the Bluetooth/IP bridge. Start one of the apps mentioned before. It will show you a 3-folded screen: two "endpoints" on top and some statistics below. We are interested in the endpoints. On the one side, you select
Connect to classic Bluetooth deviceand on the next screen, you select your PACTOR modem. On the other side, you selectStart TCP server. On the next screen, change the port to some number above 1024. I used 8899 here. We need the number later.
Inside Termux, start the following command (replace the port number with the one you have chosen above):
socat pty,link=ttyBT tcp:127.0.0.1:8899 &
This will create a socket in the current directory with the name ttyBT. This is our modem device inside of Termux. The portion of your Pat config.json will look like this (add custom_init_script if needed):
"pactor": {
"path": "/data/data/com.termux/files/home/ttyBT",
"baudrate": 115200,
"rig": "",
"custom_init_script": ""
},Congrats. You can use Pat as on other devices now and send and receive HF e-mails from your Android device :-).