[aprssig] KPC 3+ reset script

Curt, WE7U curt.we7u at gmail.com
Thu Feb 23 15:00:39 CST 2012

On Thu, 23 Feb 2012, Curt, WE7U wrote:

>> to ensure i don't get bit by Kantronics bad programming.  Does anyone have 
>> a
>> TCL or Perl Expect script that will send the KISS escape sequence, tickle 
>> the
>> TNC, send it an INTFACE KISS command, and reset it?
>> I'll try to cobble something together, but plagiarism is the highest form 
>> of
>> flattery here...
> There's a "kiss-off" script in the Xastir sources you could start with.

Ah, but it ain't much.  Invoked like this:  ./kiss-off.pl >/dev/ttyS1

And here are the only real lines of code:

     sleep 1;
     printf("%c%c%c", 192, 255, 192);
     sleep 1;

No "expect" used, in fact no two-way communication at all.  Completely open-loop.  Who wrote this piece of crap?  ;-)

Even as-is, I found it useful.  For automated rebooting you'll want something more.

Curt, WE7U.        http://www.eskimo.com/~archer
APRS Usage Pages:  http://wetnet.net/~we7u/usage.html

More information about the aprssig mailing list