[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting out of KISS mode




On Mar 6, 2006, at 8:42 AM, Ed Young wrote:

I have a Kantronics KPC-3 Plus TNC that I haven't used in about 3 years. I connected it to a serial port and and powered it up and got nothing. Then I remembered I used it in KISS mode last and realized I won't see any interaction unless I take it out of KISS mode.

Can someone help me out here?

I tried to reset it by removing the battery and letting it sit for a minute or two and I tried to set the reset jumper to reset but neither had any effect.

I think the TNC is in working order, since the last time I used it it worked fine. The power light comes on.

I know the serial port works. I shorted pins 2 and 3 and then typed on the keyboard. I saw the keys echo to the screen.

I set the minicom parameters to 1200baud, N81 with no control. I also tried 2400, 4800m, etc.

I found something from the linux-hams archives, but I'm not sure how to execute it:
"To get out of KISS mode is a bit more complicated. You need to send
the three bytes $C0, $FF, $C0 (192, 255, 192) to the TNC to restore
normal operation. "

I'm not sure how to do this if I don't know if my serial connection is working...

Please advise,

Thanks,

NL7FU

The same question came up on the linux-hams list about a month ago. Here is the response I gave there:

Curt, WE7U created kiss-of.pl, a perl script that is part of Xastir to do that. Here is the pertinent section:

# This script will send the proper characters to STDOUT to command a
# KISS TNC out of KISS mode.  Redirect it to the port that the TNC
# is connected to.  Turn off the port in Xastir first.

# It is assumed that the baud rate on the port and the baud rate of
# the TNC match, if not, this won't work.  If you've just been using
# the TNC in Xastir, they probably match.

# Use the script like this:
#
# ./kiss-off.pl >/dev/ttyS1
#


sleep 1;
printf("%c%c%c", 192, 255, 192);
sleep 1;

You would need to set the serial port speed to match the TNC using setserial prior to doing this.


73,
Bob, N7XY




Reply to: