<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Yes exactly and this is our goal in the future to move more stuff out of app_rpt which could run much more efficiently stand-alone. App_rpt is a kluge of code which is hard to analyze and troubleshoot and far less efficient than it could be without all the bloat. When Allstar was written some of this standalone SW was not available or not there yet. Now that it is there is no reason not to use it. Everything does not have to be built in to app_rpt. Doing things in Linux scripts is a great way to do it. Select your language, bash, perl, php, python, etc.<br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">Date: Wed, 24 Jun 2015 12:28:56 -0500<br>From: mhebert1975@gmail.com<br>To: arm-allstar@hamvoip.org<br>Subject: Re: [arm-allstar] remote base node functioning question--real hamlib example<br><br><div dir="ltr"><div class="ecxgmail_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="ecxgmail_extra"><br><div class="ecxgmail_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="ecxgmail_quote" style="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>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</div> </div></body>
</html>