ge0rg / aprsdroid

APRSdroid - Geo-Location for Radio Amateurs
https://aprsdroid.org/
GNU General Public License v2.0
503 stars 96 forks source link

Using Hamlib for rig control ? #51

Open rchateauneu opened 11 years ago

rchateauneu commented 11 years ago

Hamlib ( http://hamlib.sourceforge.net ) is a library providing an uniform interface for programmers wanting to incorporate radio control in their applications. It supports dozen of models (Yaesu, Uniden, ICOM, Kachina etc...) , is used in many softwares, is written in C language, runs on Linux, Windows, Apple OSX, BSD etc... and has easily been ported to Android ( http://comments.gmane.org/gmane.linux.hams.hamlib.devel/3900 ). This is not the latest version, but Hamlib is quite mature and old versions are perfectly usable.

Hamlib needs a CAT (Computer aided transceiver) connection from the radio to the computer, (Also with a USB socket if this is the radio interface), most commonly using a serial line which can be emulated by a Byonics TT4BT apparently (It might also be possible to use a USB to serial converter).

The benefit for APRSDroid could be:

This might make things a bit easier to use, without changing any of the existing features.

ge0rg commented 11 years ago

I see PTT control as a valid point; changing frequency and mode is probably a little over-the-top for an APRS app.

Unfortunately, the android port of hamlib is based on an outdated library version, and does not include USB support (only remote server as far as I can see).

Right now, I am very hesitant in adding such a dependency (especially as it comes with a heavy-load on the configuration interface side).

dg1tal commented 10 years ago

Rig control could be used to implement the AFRS feature as of http://www.aprs.org/txt/AFRSspec.txt by polling the second VFO's current frequency.

ge0rg commented 10 years ago

You are right, as well as tuning the second VFO for voice. However, I am not sure how many OMs are operating APRSdroid with a hamlib-enabled radio.

dg1tal commented 10 years ago

The Curse of Badfeng, I agree. ;-)

DiverCTHunter commented 10 years ago

I agree that this should be an option. I've got a D700 in the car and would love to be able to use APRSDroid to QSY my rig without having to take my eyes off the road ;).