> > there is no prepending KISS command byte anymore. That's
> > annoying, but only affects very few tools: AFAIK only listen, net2kiss
> > and ax25rtd. The later will use the netlink interface, I don't know
>
> And some applications -- aprsdigi, aprsmon, aprsd at least.
Hmm, I don't know anything about APRS -- is it using normal UI
frames, sent to a fixed destination? Why does it have to monitor
all traffic on the channel? If it really has to use the AF_PACKET
socket interface, you can easily detect the environment it is
running in: the first octet in an AX.25 frame is part of the destination
address, thus it has to be in [0-9A-Z ] shifted by one. If you
receive a frame beginning with it it's likely the new DDI, if you
receive one with a value of 0-31 it is almost certainly the old
interface. Of course only with a certain probability, as you may
have received a faulty frame or using KISS extensions (CRC, multiport),
but this shouldn't be too common. Anyway, autodetection should work
in 99% of all cases, for the rest a command line switch can take care
of it.
73,
Joerg Reuter http://poboxes.com/jreuter/
And I make my way to where the warm scent of soil fills the evening air.
Everything is waiting quietly out there.... (Anne Clark)
PGP signature