A pure-Python implementation of the KISS Protocol for communicating with serial TNC devices for use with Amateur Radio.
Install from pypi using pip:
pip install kiss
Read & print frames from a TNC connected to '/dev/ttyUSB0' at 1200 baud:
import kiss
k = kiss.KISS('/dev/ttyUSB0', 1200)
k.start() # inits the TNC, optionally passes KISS config flags.
k.read(callback=print)
Run nosetests from a Makefile target:
make test
Inspiration for this project came from:
- HA5DI's dixprs: A Python APRS project with KISS, digipeater, et al., support.
- GE0RG's APRSDroid: A Java/Scala Android APRS App.
- KA2DDO's YAAC: A Java APRS app.
- aprs.fi's Ham-APRS-FAP: A Perl APRS parser.
https://github.com/ampledata/kiss
Greg Albrecht W2GMD [email protected]
Copyright 2013 OnBeep, Inc.
Apache License, Version 2.0. See LICENSE for details.