KISS TNC for Byonics TinyTrak4 version 0.8
www.byonics.com

Press ESC 3 times at 19200 baud when prompted after powerup to enter options menu:

Byonics TinyTrak4 KISS TNC
Options Menu

1) Baudrate (19200)
2) Receive Amp (0)
3) TX Delay (300)
4) Persist (63)
5) Slottime (10)
6) TX Twist (50)
7) TX Level (128)
8) Debug Enable (0)
A) Check Receive Level
B) Transmit Adjust
X) Exit


Enter Selection>

Number in parens is current value.  If 3 ESC not received in 3 seconds, KISS TNC begins.
1 - Sets baud rate to 4800, 9600, 19200, 38400, or 115200.  Only applies to KISS TNC
Mode.  Config menu is always at 19200.
2 - Sets receive amplifiation.  Valid settings are 0, 1, or 2.  0 gives no amp, 1 should be about double 0, and 2 should be ablout double 1.  Use the A) test to check value when tones are being sent.  Should be as extreme as possible, without cclipping to 0% and 99%.
3 - Sets TX Delay in ms.
4 - Sets Persist value 0 - 255  63 = 25% chance
5 - Sets Slottime in 10ms units
6 - Sets TX twist to adjust relative levels of the two transmit tones.  0 = no low tone, full high tone; 25 = 50% low tone, full high tone; 50 = both tones equal; 75 = 50% high tone, full low tine, 100 = no high tone, full low tone.
7 - Sets TX level in software.  0 - 128.  128 = max.
8 - Enables debug error messages.  Red power LED will flash error count, regardless of this setting.
A - Displays min and max audio input readings
B - Run Transmit Adjust menu
X - Leaves Menu.

Transmit Adjust Menu displays:

Transmit Adjust

1) low
2) high
3) both
4) both slow
5) stop tx
6) twist high
7) twist low
8) level high
9) level low
ESC) return

1 - Press PTT and send low tone.
2 - Press PTT and send high tone.
3 - Press PTT and send both tones, 1 bit each and repeat.
4 - Press PTT and send both tones, 8 bits each and repeat.  Usefull to adjust twist.
5 - Stop transmitting
6 - Raise Twist value
7 - Lower Twist value
8 - Raise Transmit level
9 - Lower Transmit Level
ESC - return to Options menu.

-----------------------------------------------------------------------------------------

Version 0.8 - Jan 6, 2008
	Fixed Serial port using 2 stop bits
	Buffer sizes for 324P chip are 600 for transmit, and 600 for receive
	Buffer sizes for 644P chip are 2100 for transmit, and 1100 for receive
	Optimized packet encoding module (hopefully nothing noticable changed)

Version 0.71 - Sep 25, 2007
	Fixed bug of sending command packets.
	Added KISS Command packet support for TXDelay (1), Persist (2), and Slottime (3)
	Made Debug error messages optional
	Added a Power LED flash to show error count (max 10)
	Bumped transmit buffer from 256 bytes to 600 bytes
	Bumped receive buffer from 256 bytes to 600 bytes
	Added a software TX level adjustment
	Added a TX Twist adjustment to adjust relative levels of high and low tone
	Added option menu entries for Persist, Slottime, TX Twist, TX Level, Debug Enable
	Added a Transmit Adjustment menu to aid it setting TX Level and TX Twist

Version 0.7 - Sept 10, 2007
	Fixed some bugs that would cause lock ups in receiving

Version 0.6 - Sept 8, 2007
	Integrated packet code between KISS TNC and tracker
	Fixed some bugs that would cause lock ups in transmitting

Version 0.5 - June 10, 2007
	Made Decoding much more reliable and less volume and twist dependant
	Removed green LED flickering
	Fixed EEPROM trashing after running Tracker

Version 0.4 - May 30, 2007
	Added a configuration menu
	Fixed bug causing packets to stop decoding
	Added a receive audio amplifier
	Added more baud rates
	Fixed power LED

Version 0.3 - April 14, 2007
	Baud Rate is set to 19200 in this version.
	Slottime currently set to 10 (100ms)
	Persist Currently set to 30 (12%)
	Converted to 324P chip
	Converted to only 19200

Version 0.2 - Oct 11, 2006
	Added Digital Carrier Detect, based on packet audio
	Added CD LED
	Added SLottime and Persist logic
	Added 3 more baud rates

Version 0.1 - Sept 13, 2006
	This is a preliminary KISS TNC program for the TinyTrak4.
	It does basic sending and recieving of KISS packets.  
	It only supports 19200 baud, and does not yet support carrier detect, slot 		time or persist, or LEDs