[aprssig] KPC 3+ reset script
John Gorkos
jgorkos at gmail.com
Thu Feb 23 16:04:26 EST 2012
Great perl minds think alike: I've got the part to get me OUT of kiss down
pat. It's the "get me back IN to kiss" that's a bit harder. I'll grind out
some Perl-Expect and post it to this thread when it sort of works. It would
be much better if Kantronics would FIX THEIR BUGGY FIRMWARE! (I know, shouting
on the internet doesn't mean that the Kantronics engineering staff will hear me
and do what we pay them to do, but it's worth a try).
John gorkos
On Thursday, February 23, 2012 01:00:39 PM Curt, WE7U wrote:
> 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.
More information about the aprssig
mailing list