Skip to contentSkip to conversation

tncs and kiss mode

DISCUSSION Albert Duane Lawson 1 participant 1 message Jan 30, 2006

lore
Share & tools
lore
#0 lore raw

This should do what you want....

kisson:

#!/bin/bash
#
# Simple Script to put TNC's into KISS mode or
# take them out of KISS mode.
#
BAUD="9600"

/bin/stty $BAUD < /dev/ttyS0
/bin/echo -e "kiss on\rrestart\r" > /dev/ttyS0
/bin/sleep 2

kissoff

#!/bin/bash
#
# Simple Script to put TNC's into KISS mode or
# take them out of KISS mode.
#
BAUD="9600"

stty $BAUD < /dev/ttyS0
echo -e "\r\xC0\xFF\r" > /dev/ttyS0
sleep 2

Substitute the appropriate command in parantheses for your brand of TNC. The above works on MFJ's.

73's

Albert - WB7AWL