<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">At this point, I think that might be the easier option! Thanks for posting. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 11:08 AM, David McGough <span dir="ltr"><<a href="mailto:kb4fxc@inttek.net" target="_blank">kb4fxc@inttek.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
The most simplistic way to utilize hamlib is via simple shell-script calls<br>
from AllStar. Here is a super simple -working- sample that demonstrates<br>
changing to channels 1, 2 and 3 on a 706mk2g.<br>
<br>
....Add this to rpt.conf in the desired functions stanza:<br>
<br>
<br>
[functions]<br>
921=cmd,/usr/local/bin/rigctl -r /dev/ttyUSB0 -m 311 -s 9600 -c0x58 h 1<br>
922=cmd,/usr/local/bin/rigctl -r /dev/ttyUSB0 -m 311 -s 9600 -c0x58 h 2<br>
923=cmd,/usr/local/bin/rigctl -r /dev/ttyUSB0 -m 311 -s 9600 -c0x58 h 3<br>
<br>
<br>
<br>
<br>
So, DTMF commands *921, *922, *923 change to channels 1, 2 or 3. Note<br>
that the path to rigctl and path for the serial device must be correct.<br>
<br>
I use much more sophisticated scripting, including a sqlite3 database,<br>
etc....The sky is the limit! And, this is all really quite easy to do,<br>
supporting a multitude of different radios.<br>
<br>
<br>
73, David KB4FXC<br>
<br>
<br>
<br>
On Wed, 24 Jun 2015 <a href="mailto:wb3awj@comcast.net">wb3awj@comcast.net</a> wrote:<br>
<br>
> Good point..<br>
><br>
><br>
> In fact, I had to make small changes on the Acid source to get it to work.<br>
><br>
><br>
> Can you post some examples of how you link DTMF function codes to Hamlib calls?<br>
><br>
><br>
> Robert A. Poff<br>
><br>
> Loganville, Pa<br>
<br>
_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" rel="noreferrer" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br>
</blockquote></div><br></div>