./pitnc_getparams 0 0 # view parameters
./pitnc_setparams 0 0 7 16 # set tnc-pi to address 16 (10 hex)
./pitnc_setparams 0 0 15 2 # reboot tnc-pi
# board should now be readable on i2c bus at address 16 /dev/i2c-1
./pitnc_getparams 1 16
# I pull the power cord from the Rasbperry Pi to fully test the configuration
poweroff
./pitnc_setparams 1 16 1 32 # TXDelay 32 - this is radio-specific
./pitnc_getparams 1 16 # view parameters
--
You received this message because you are subscribed to the Google Groups "Aprx software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aprx-softwar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aprx-software/56322039-c559-4a79-8891-8f9fc739464d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/aprx-software/CAMFMAdb1ZEhS8o4DmA2PBTXuYxRa4CPO_tTN%2BLD2gRQDdggzwA%40mail.gmail.com.
$ cat /etc/ax25/axports
# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#
1 N1SU-3 19200 255 2 TNCX
mycall N1SU-3
. . .
<interface>
ax25-device $mycall
tx-ok true
telem-to-is true
</interface>
<digipeater>
transmitter $mycall
<source>
source $mycall
relay-type digipeated
viscous-delay 5
ratelimit 60 120
</source>
<source>
source APRSIS
relay-type third-party
viscous-delay 5
msg-path WIDE2-2 # gate TX with 2 hops for messages
via-path WIDE1-1 # gate TX with 1 hop for everything else
</source>
</digipeater>
$ cat aprx_start
axup=$(ifconfig -a | grep flags | awk -Fflags '{print $1}' | grep ax0)
if [[ -z $axup ]];
then
echo "ax0 does not exist - attempting to create it"
/usr/local/bin/i2ckiss 1 16 1 10.1.1.1
fi
mkdir -p /var/log/aprx
sudo /usr/sbin/aprx -i
To view this discussion on the web visit https://groups.google.com/d/msgid/aprx-software/CAH_60aFNg%2BhoDsMJQY6P3BXXbrj8KqR%3DzUOaMm-BqRNWYMvtUQ%40mail.gmail.com.