To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

KISS (amateur radio protocol)

From Wikipedia, the free encyclopedia

KISS (Keep It Simple, Stupid[1]) is a protocol for communicating with a serial terminal node controller (TNC) device used for amateur radio. This allows the TNC to combine more features into a single device and standardizes communications. KISS was developed by Mike Cheponis and Phil Karn to allow transmission of AX.25 packet radio frames containing IP packets over an asynchronous serial link, for use with the KA9Q NOS program.[1]

YouTube Encyclopedic

  • 1/3
    Views:
    1 780
    800
    170 109
  • What does 73 mean in Ham Radio?
  • HamShield Prototype AX.25 KISS
  • Packet Radio (Post Apocalyptic Internet?) - Computerphile

Transcription

Description

The KISS protocol is designed to be easy to implement in simple embedded devices, which are capable of asynchronous serial communications. While it allows arbitrary data to be transferred, there is no support for flow control or error handling.

KISS uses Serial Line Internet Protocol framing, but defines its own simple protocol instead of encapsulating raw IP packets, as SLIP does. The KISS protocol messages provide for setting common TNC control variables as well as sending arbitrary message packets to be forwarded by the TNC. While the packets may be arbitrary, protocols commonly used with KISS include AX.25 and IPv4.

Special characters

Hex value Abbreviation Description
0xC0 FEND Frame End
0xDB FESC Frame Escape
0xDC TFEND Transposed Frame End
0xDD TFESC Transposed Frame Escape

Similar to SLIP, back-to-back FEND codes should not be interpreted as empty frames. Instead, all but the last FEND code should be discarded. This can be used for synchronization, and can be used to give the receiver's AGC time to stabilize.

If the FEND or FESC codes appear in the data to be transferred, they need to be escaped. The FEND code is then sent as FESC, TFEND and the FESC is then sent as FESC, TFESC. Two FESCs in a row are a protocol violation and can be used to signal an aborted transmission. This allows the recipient (usually the TNC) to avoid misinterpreting subsequent data as part of a valid frame. Any data received before the next FEND would be properly discarded.

Command codes

Any of these codes may be sent from the host to the TNC, but only the "Data frame" code should be sent from the TNC to the host. "In multi-port TNCs, the upper 4 bits of the type indicator byte can specify one of up to sixteen ports."[1]

Command bytes Name Argument length Description
0x?0 [...] Data frame: port X Varies The following bytes should be transmitted by the TNC. The maximum number of bytes, thus the size of the encapsulated packet, is determined by the amount of memory in the TNC.
0x?1, 0x?? TX DELAY 1 The amount of time to wait between keying the transmitter and beginning to send data (in 10 ms units).
0x?2, 0x?? P 1 The persistence parameter. Persistence=Data*256-1. Used for CSMA.
0x?3, 0x?? SlotTime 1 Slot time in 10 ms units. Used for CSMA.
0x?4, 0x?? TXtail 1 The length of time to keep the transmitter keyed after sending the data (in 10 ms units).
0x?5, 0x?? FullDuplex 1 0 means half duplex, anything else means full duplex.
0x?6, [...] SetHardware Varies Device dependent.
0xFF Return 0 Exit KISS mode. The TNC stops processing KISS protocol and returns to its vendor-specific behavior.

The command bytes are shown here in Hex, but are sent as bytes, not hex strings. In all cases except the Return command, the high nibble indicates which port (on a multi-port TNC) the command applies to.

A TNC may support other nonstandard commands, at the vendor's discretion.

Packet format

Begin Command Data0..DataN End
FEND High nibble – Port Index
Low nibble – Command
Data FEND

Send the characters "TEST" out of TNC port 0

C0 - FEND 00 - DATA FRAME 54 - "T" 45 - "E" 53 - "S" 54 -"T" C0 - FEND

Send the characters "Hello" out of TNC port 5

C0 - FEND 50 - DATA FRAME: port 5 48 - "H" 65 - "e" 6C - "l" 6C - "l" 6F -"o" C0 - FEND

( hex byte 50 is binary 0101 0000, which a multi-port TNC would interpret as "DATA FRAME, PORT 5" because 0101 -> 5 )

Send the bytes 0xC0, 0xDB out of TNC port 0

C0 - FEND 00 - DATA FRAME: port 0 DB - FESC DC - TFEND DB - FESC DD - TFESC C0 - FEND

Both bytes in the example message require escaping, so they are each sent as a two-byte sequence. The TNC will unescape them prior to transmission.

Exit KISS mode

C0 - FEND FF - RETURN C0 - FEND

The TNC's behavior after returning from KISS mode is vendor-specific. Some provide a line-oriented "node client" or "mailbox" command client.

Common uses

Alternatives

See also

References

  1. ^ a b c Mike Chepponis, K3MC; Phil Karn, KA9Q (1987). The KISS TNC: A simple Host-to-TNC communications protocol. ARRL 6th Computer Networking Conference. Redondo Beach CA. Archived from the original on 2022-06-07.{{cite conference}}: CS1 maint: numeric names: authors list (link)
  2. ^ "6PACK a "real time" PC to TNC protocol". Archived from the original on 2022-12-27. Retrieved 2012-04-08.
  3. ^ "6pack Protocol — The Linux Kernel documentation". docs.kernel.org.

External links

This page was last edited on 13 February 2024, at 12:47
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.