The default params are:
TXDELAY 30
PERSIST 64
SLOTTIME 10
TXTAIL 0
FULLDUP 0
KISSCHANNEL 0
I2CADDRESS 30
Baud 12
Centre Freq 170
RX Level?? 0
TX Level?? 30
centreFreq? 1700
?
I2C Address isn't used - that is set in the config when building the
software.
As it seems you are transmitting ok then the chances are the out of
range parameter values are being ignored.
You have the RX Level set to auto. This normally works ok, so long
as you are using unsquelched audio, but it would be worth checking
that the received audio is in range.? If you have #define MONPORT
Serial in TeensyConfigPacket.h then debug output will be written to
the USB port. So if you connect the USB port either to the pi or
another host and run a terminal program on it you should be able to
get a better idea of what is going on.
Although the TNC works on i2c the interface isn't very efficient, so
you you need more than one and have a spare USB port I suggest you
use the USB host interface instead if i2c.
73,
John
On 02/02/2022 20:48, KN6FOA wrote:
toggle quoted message
Show quoted text
I am having issues with getting AX.25 to work correctly with PAT.
I was finally able to build the firmware and flash the Arduino
with the I2C settings for my pi9k6 TNCs.?I am using "sudo i2ckiss 1
8 wl2k 127.0.0.1" to bind to the AX.25 port "wl2k" which
is defined as "wl2k KN6FOA-10 1200 255 7 Winlink" in the
axports file.
I am attempting to connect to a gateway running 1200 baud PACKET
and I can hear data being sent by listening on another radio and I
can hear responses from the RMS on the radio attached to the TNC
but it does not seem to want to lock to the station.? PAT just
returns "Unable to establish connection to remote: Dial timeout"
and never fully connects.? I know the radio and the cable works as
plugging it into a Kantronics TNC to my laptop works so I'm sure
it is either a software config issue or something to do with the
pi9k6.? I have pasted my TNC settings below to see if it is
something there that needs to be adjusted.
pitnc_getparams
Version 0.0.0.5
?
?
?TNC Software Version? ? ? ? ? 14
01
TXDelay - Zero means use ADC? 40
02
Persistance? ? ? ? ? ? ? ? ? ? 3
03
Slottime (in 10 mS)? ? ? ? ? ? 1
04
TXTail? ? ? ? ? ? ? ? ? ? ? ? ?1
05
Full Duplex - Not used? ? ? ? ?0
06
Our Channel (Hex)? ? ? ? ? ? ?ff
07
I2C Address (0 = async) Hex? ?ff
08
Mode Speed? ? ? ? ? ? ? ? ? 1200
09
RX Level (Config)? ? ? ? ? ? ? 0
10
TX Level? ? ? ? ? ? ? ? ? ? ? ?8
11
RX Level (Actual)? ? ? ? ? ? ? 0
13
Centre Freq? ? ? ? ? ? ? ? ?2550
Using "
sudo
axlisten -cartt" I get the following ("I redacted the
gateway with ABC123")
wl2k:
fm KN6FOA to ABC123-10 ctl SABM+ 1643834542.429915?
wl2k:
fm KN6FOA to ABC123-10 ctl SABM+ 1643834552.502680?
wl2k:
fm KN6FOA to ABC123-10 ctl SABM+ 1643834572.982760?
wl2k:
fm KN6FOA to ABC123-10 ctl DISC+ 1643834587.475165?
?