[arm-allstar] remote base node functioning question--real hamlib example
David McGough
kb4fxc at inttek.net
Wed Jun 24 11:08:58 EST 2015
Hi,
The most simplistic way to utilize hamlib is via simple shell-script calls
from AllStar. Here is a super simple -working- sample that demonstrates
changing to channels 1, 2 and 3 on a 706mk2g.
....Add this to rpt.conf in the desired functions stanza:
[functions]
921=cmd,/usr/local/bin/rigctl -r /dev/ttyUSB0 -m 311 -s 9600 -c0x58 h 1
922=cmd,/usr/local/bin/rigctl -r /dev/ttyUSB0 -m 311 -s 9600 -c0x58 h 2
923=cmd,/usr/local/bin/rigctl -r /dev/ttyUSB0 -m 311 -s 9600 -c0x58 h 3
So, DTMF commands *921, *922, *923 change to channels 1, 2 or 3. Note
that the path to rigctl and path for the serial device must be correct.
I use much more sophisticated scripting, including a sqlite3 database,
etc....The sky is the limit! And, this is all really quite easy to do,
supporting a multitude of different radios.
73, David KB4FXC
On Wed, 24 Jun 2015 wb3awj at comcast.net wrote:
> Good point..
>
>
> In fact, I had to make small changes on the Acid source to get it to work.
>
>
> Can you post some examples of how you link DTMF function codes to Hamlib calls?
>
>
> Robert A. Poff
>
> Loganville, Pa
More information about the arm-allstar
mailing list