[arm-allstar] LED connect almost working
Doug Crompton
wa3dsp at gmail.com
Sun Mar 18 14:48:27 EST 2018
Chris,
Add a T - shown in the line below.
while (true)
do
connectCheck=`/usr/bin/asterisk -rx "rpt nodes $1" | grep T$checkFor`
<<< Add T before $checkFor no space
if [ $checkFor == "NONE" ]
then
if [ ! "$connectCheck" == "" ]
This will test if it is actually in transceive and not just trying to
connect.
Still use - test_connect.sh <your-node> <tested-node>
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sun, Mar 18, 2018 at 5:17 AM, "chris novara via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Doug,
> New SD card and fresh load fixed the slow heartbeat and lock up problem
>
> The scrip you wrote for the LED will turn on when the node is attempting
> to connect. So, since i use *73xxxxx in a startup macro, when I down my
> WiFi hot spot, the LED stays on because the node continues to attempt
> reconnect. Also when I boot, LED comes on as soon as connect attempts
> begin.....
>
> Can we change the script so it will only turn on the LED if the connection
> is successful?
>
>
>
> Chris Novara
> Phone: 541-778-1175
> Eugene, Oregon
> Email-Chris at redcrosscommunications.org
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
More information about the arm-allstar
mailing list