Skip to contentSkip to conversation

unknown kiss packet: 0x80 0x9e

DISCUSSION Roland Schwarz 3 participants 7 messages Sep 17, 2021 – Sep 19, 2021

lore
Share & tools
lore
#0 lore raw

I am trying to use soundmodem and observe the following messages, which apparently are generated by the ax25 driver:

unknown kiss packet: 0x80 0x9e
unknown kiss packet: 0x20 0x9e

Are these codes known, or need I suspect an error in the packet reading code? The soundmodem knows codes 0 to 8 and 255. Can anyone point me to a resource where I could find out what these codes would mean?

tnx, de roland

Signature · 5 lines
__________________________________________
  _  _  | Roland Schwarz
 |_)(_  |
 | \__) | mailto:[email protected]
________| http://www.blackspace.at
#1 lore raw
Quoted 2 lines

unknown kiss packet: 0x80 0x9e
unknown kiss packet: 0x20 0x9e

If 0x80 and 0x20 are the second byte of the frame (after the FEND), then they're data packets (low nibble 0) from devices addressed (high nibble) as 8 and 2 respectively.

De

#2 lore raw

On 17.09.21 at 17:34 wrote Dennis Boone:

Quoted 6 lines
Quoted 2 lines

unknown kiss packet: 0x80 0x9e
unknown kiss packet: 0x20 0x9e

If 0x80 and 0x20 are the second byte of the frame (after the FEND), then they're data packets (low nibble 0) from devices addressed (high nibble) as 8 and 2 respectively.

I think I found out what it is:
http://www.symek.com/g/smack.html

The issue is documented in direwolf and has to do with a state machine that tries to guess the serial line CRC protocoll (which isn't need for soundmodem). The state machine ideally shouldn't get into the way and switch off CRC if not needed. As it turns out, however I am seeing a long initial delay until the first packet reaches the transmitter.

Simply switching of smack mode with kissparms -c 1 does the trick. In direwolf package it is also suggested to start the mkiss driver with parameter crc_force=1 (which I have not tried yet).

73 oe1rsa

Signature · 5 lines
__________________________________________
  _  _  | Roland Schwarz
 |_)(_  |
 | \__) | mailto:[email protected]
________| http://www.blackspace.at
#3 lore raw
In reply to Roland Schwarz

Hello Roland,

Are you trying to use Thomas Sailer's "soundmodem" program? If so, it's quite old these days. You will find that Direwolf or even G8BPQ's port of UZ7HO's "soundmodem" will offer better decoding rates, stability, etc.

--David
KI6ZHD

Quoted 9 lines · Roland Schwarz

I am trying to use soundmodem and observe the following messages, which apparently are generated by the ax25 driver:

unknown kiss packet: 0x80 0x9e
unknown kiss packet: 0x20 0x9e

Are these codes known, or need I suspect an error in the packet reading code? The soundmodem knows codes 0 to 8 and 255. Can anyone point me to a resource where I could find out what these codes would mean?

tnx, de roland

#4 lore raw

Hello David,

On 17.09.21 at 17:54 wrote David Ranch:

Quoted 1 line

Are you trying to use Thomas Sailer's "soundmodem" program?

Yes.

Quoted 1 line

If so, it's quite old these days.

I know.

Quoted 1 line

  You will find that Direwolf

I tried it and have to agree, that it really performs well and it has the FX25 implementation, however it lacks features I'd like to use i.e. multibaud mode.

Quoted 1 line

or even G8BPQ's port of UZ7HO's "soundmodem" will offer better decoding rates, stability, etc.

Did'nt hear about this modem. Can you put me a pointer pls?

Btw.: What I like about soundmodem is it clean design and good integration into the linux stack. Using direwolf needs a little more "hacking" to use it as a TNC for the linux stack. But of course it does work.

73 roland, oe1rsa

Signature · 5 lines
__________________________________________
  _  _  | Roland Schwarz
 |_)(_  |
 | \__) | mailto:[email protected]
________| http://www.blackspace.at
#5 lore raw

Hello Roland,

Quoted 3 lines

I tried it and have to agree, that it really performs well and it has the FX25 implementation, however it lacks features I'd like to use i.e. multibaud mode.

Ok.. the choice is yours but when you're only getting about a 60% decode rate compared to Direwolf, you're loosing a lot of packets on a single baud rate let alone multiple.

Quoted 4 lines
Quoted 2 lines

or even G8BPQ's port of UZ7HO's "soundmodem" will offer better decoding rates, stability, etc.

Did'nt hear about this modem. Can you put me a pointer pls?

Please search for "UZ7HO soundmodem" and it will come right up. It's a Windows only program written in Delphi but it's written and tested to work with WINE.

As a correction, G8BPQ's TNCPi9k6's Teensy TNC doesn't use UZ7HO's soundmodem code but instead, he ported Thomas Sailer's soundmodem code his TNCPi9k6 hardware TNC.

https://www.cantab.net/users/john.wiseman/Documents/TeensyTNC.txt

Quoted 4 lines

Btw.: What I like about soundmodem is it clean design and good integration into the linux stack. Using direwolf needs a little more "hacking" to use it as a TNC for the linux stack. But of course it does work.

I started with Thomas Sailer's soundmodem softTNC and Linux and now use WB2OSZ's Direwolf. Setting up both soft-tncs is a bit different but I wouldn't say that one is more difficult than the other. If you'd like to see some examples, I have an Rpi-centric document here:

https://www.trinityos.com/HAM/CentosDigitalModes/RPi/rpi4-setup.html

--David
KI6ZHD

#6 lore raw

Hello David,

On 18.09.21 at 18:58 wrote David Ranch:

Quoted 1 line

I started with Thomas Sailer's soundmodem softTNC and Linux and now use WB2OSZ's Direwolf.  Setting up both soft-tncs is a bit different but I wouldn't say that one is more difficult than the other.

I totally agree.

Quoted 3 lines

If you'd like to see some examples, I have an Rpi-centric document here:

   https://www.trinityos.com/HAM/CentosDigitalModes/RPi/rpi4-setup.html

Oh, thank you! You have done quite a nice writeup. I will definitely put this on my read list.

From a first glance over: Where do you adress 9600Bd issues? I am asking because this is what I am specifically interested in.

Quoted 1 line

Please search for "UZ7HO soundmodem" and it will come right up. It's a Windows only program written in Delphi but it's written and tested to work with WINE.

Umm, oh, yes, well. This is definitely not the route I am about to go. This would end up in a setup that reminds me of the echolink where a node needs to run as a GUI although it should be a system daemon. The modem might be very good, but I think it at the same time should exhibit good system integration.

Roland,
oe1rsa

Signature · 5 lines
__________________________________________
  _  _  | Roland Schwarz
 |_)(_  |
 | \__) | mailto:[email protected]
________| http://www.blackspace.at