All of lore.kernel.org
 help / color / mirror / Atom feed
* unknown kiss packet: 0x80 0x9e
@ 2021-09-17 15:21 Roland Schwarz
  2021-09-17 15:34 ` Dennis Boone
  2021-09-17 15:54 ` David Ranch
  0 siblings, 2 replies; 7+ messages in thread
From: Roland Schwarz @ 2021-09-17 15:21 UTC (permalink / raw)
  To: linux-hams


[-- Attachment #1.1: Type: text/plain, Size: 594 bytes --]

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

-- 
__________________________________________
   _  _  | Roland Schwarz
  |_)(_  |
  | \__) | mailto:roland.schwarz@blackspace.at
________| http://www.blackspace.at


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unknown kiss packet: 0x80 0x9e
  2021-09-17 15:21 unknown kiss packet: 0x80 0x9e Roland Schwarz
@ 2021-09-17 15:34 ` Dennis Boone
  2021-09-17 15:53   ` Roland Schwarz
  2021-09-17 15:54 ` David Ranch
  1 sibling, 1 reply; 7+ messages in thread
From: Dennis Boone @ 2021-09-17 15:34 UTC (permalink / raw)
  To: linux-hams

 > 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unknown kiss packet: 0x80 0x9e
  2021-09-17 15:34 ` Dennis Boone
@ 2021-09-17 15:53   ` Roland Schwarz
  0 siblings, 0 replies; 7+ messages in thread
From: Roland Schwarz @ 2021-09-17 15:53 UTC (permalink / raw)
  To: linux-hams


[-- Attachment #1.1: Type: text/plain, Size: 1121 bytes --]


On 17.09.21 at 17:34 wrote Dennis Boone:
>   > 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

-- 
__________________________________________
   _  _  | Roland Schwarz
  |_)(_  |
  | \__) | mailto:roland.schwarz@blackspace.at
________| http://www.blackspace.at


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unknown kiss packet: 0x80 0x9e
  2021-09-17 15:21 unknown kiss packet: 0x80 0x9e Roland Schwarz
  2021-09-17 15:34 ` Dennis Boone
@ 2021-09-17 15:54 ` David Ranch
  2021-09-18 10:49   ` Roland Schwarz
  1 sibling, 1 reply; 7+ messages in thread
From: David Ranch @ 2021-09-17 15:54 UTC (permalink / raw)
  To: linux-hams


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



On 09/17/2021 08:21 AM, Roland Schwarz wrote:
> 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
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unknown kiss packet: 0x80 0x9e
  2021-09-17 15:54 ` David Ranch
@ 2021-09-18 10:49   ` Roland Schwarz
  2021-09-18 16:58     ` David Ranch
  0 siblings, 1 reply; 7+ messages in thread
From: Roland Schwarz @ 2021-09-18 10:49 UTC (permalink / raw)
  To: David Ranch, linux-hams


[-- Attachment #1.1: Type: text/plain, Size: 968 bytes --]

Hello David,

On 17.09.21 at 17:54 wrote David Ranch:
> Are you trying to use Thomas Sailer's "soundmodem" program?  

Yes.

> If so, it's 
> quite old these days.

I know.

>   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.

> 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

-- 
__________________________________________
   _  _  | Roland Schwarz
  |_)(_  |
  | \__) | mailto:roland.schwarz@blackspace.at
________| http://www.blackspace.at


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unknown kiss packet: 0x80 0x9e
  2021-09-18 10:49   ` Roland Schwarz
@ 2021-09-18 16:58     ` David Ranch
  2021-09-19  8:42       ` Roland Schwarz
  0 siblings, 1 reply; 7+ messages in thread
From: David Ranch @ 2021-09-18 16:58 UTC (permalink / raw)
  To: linux-hams


Hello Roland,


> 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.


>> 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


> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unknown kiss packet: 0x80 0x9e
  2021-09-18 16:58     ` David Ranch
@ 2021-09-19  8:42       ` Roland Schwarz
  0 siblings, 0 replies; 7+ messages in thread
From: Roland Schwarz @ 2021-09-19  8:42 UTC (permalink / raw)
  To: linux-hams


[-- Attachment #1.1: Type: text/plain, Size: 1367 bytes --]

Hello David,

On 18.09.21 at 18:58 wrote David Ranch:

> 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.

> 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.

> 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

-- 
__________________________________________
   _  _  | Roland Schwarz
  |_)(_  |
  | \__) | mailto:roland.schwarz@blackspace.at
________| http://www.blackspace.at


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-19  8:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 15:21 unknown kiss packet: 0x80 0x9e Roland Schwarz
2021-09-17 15:34 ` Dennis Boone
2021-09-17 15:53   ` Roland Schwarz
2021-09-17 15:54 ` David Ranch
2021-09-18 10:49   ` Roland Schwarz
2021-09-18 16:58     ` David Ranch
2021-09-19  8:42       ` Roland Schwarz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.