How to put a TNC in KISS mode

Kiss (Keep it simple and stupid) is a mode where the computer has a full control over the frame content. The TNC doesn't decode the packet, it gives the raw frame to the computer for processing.

First of all

You need to set the correct port settings using stty

stty 9600 cs8 -raw </dev/ttyUSB0

You just need to replace /dev/ttyUSB0 with the right device. This is done at an early initialization stage.

If you have a TNC2 (TheFirmware 2.7b)

Use this code to put it in Kiss mode

#!/bin/bash
sleep 1
printf "\r\033@k\r">/dev/ttyUSB0
sleep 1
printf "\r\033@k\r">/dev/ttyUSB0

If you have a TNC2 (TAPR)

Use this code instead

#!/bin/bash
sleep 1
printf "\3 \r\f" > /dev/ttyUSB0
printf "\r kiss on \r\f" > /dev/ttyUSB0
printf "\r restart \r\f" > /dev/ttyUSB0

This code should work for the KAM TNC's and Kenwood Transceivers (TH-D7, TM-D700)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial 3.0 License