All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux AX25 KISS driver for Kenwood D700
@ 2009-12-17 22:34 Bill V WA7NWP
  2009-12-18 19:23 ` Curt, WE7U
  2009-12-29 13:49 ` Ralf Baechle DL5RB
  0 siblings, 2 replies; 4+ messages in thread
From: Bill V WA7NWP @ 2009-12-17 22:34 UTC (permalink / raw)
  To: linux-hams

Is this where the maintainers of the Linux KISS code would be found?
 A simple tweak would eliminate the possibility of some ASCI sequences
kicking the Kenwood D7 or D700 radios out of KISS mode...

We really need to feed this info back to Kenwood so they correctly fix
the D710.   I don't hold any hope in firmware updates for the D7/D700
so it seems tweaking the KISS generator is the best answer.

73
Bill - WA7NWP


---
The 710 “bug” is not a violation of the KISS protocol…it is the result
of trying to use the same serial port for both a TNC and a Front panel
control. The problem is when in KISS mode (which sends binary packets
“encapsulated in the KISS protocol”  it is possible to have the
character sequence “TC 0<Cr>”  as binary or  character data within the
KISS encapsulation. This sequence will be interpreted by the serial
port controller in the Control head of the D710 as “escape to control
mode” and which will switch the serial interface from TNC mode to
front panel control mode.  This can have disastrous affects when
trying to transfer binary files using KISS.



One solution would be to entice Kenwood to modify the firmware in the
control head to having entered the KISS protocol to ignore all mode
control commands including “TC 0<Cr>”. This would require using the
standardized escape KISS sequence {0xC0, 0xFF, 0xC0} prior to any
control panel commands and then re enabling KISS to continue TNC
operation…This gets tricky and is very likely to impact existing
programs that now work.



The solution we used and which appears to work well and is solid is to
escape the “C” character.  So when any data is sent to the TNC in KISS
mode if there is an ASCII “C” it is replaced by the sequence <0xDB>”C”
which essentially escapes the “TC 0<Cr>” sequence. The KISS protocol
(in the D710’s KISS TNC implementation) removes the <0xDB> which is
the frame escape so no modification of the transmitted data stream is
actually made. Thanks to Peter Woods for figuring this out.



73,



Rick Muething, KN6KB

Winlink Development Team
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2009-12-30 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 22:34 Linux AX25 KISS driver for Kenwood D700 Bill V WA7NWP
2009-12-18 19:23 ` Curt, WE7U
2009-12-29 13:49 ` Ralf Baechle DL5RB
2009-12-30 21:59   ` John Ronan

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.