[aprssig] perl iGate
Lynn W. Deffenbaugh (Mr)
ldeffenb at homeside.to
Sat Nov 16 03:42:06 EST 2013
Please ignore my mention of aprsc, that's not an IGate, but a
server-side thing. I recalled Hessu was running it on a Pi, but didn't
remember in my barely-awake brain that it wasn't an IGate.
On 11/16/2013 3:37 AM, Lynn W. Deffenbaugh (Mr) wrote:
> That might work, but it's not a fully functioning IGate. Even without
> a filter, the APRS-IS server will be sending you data that will be
> backing up somewhere on the $t socket. You'll need to read that as
> well or it'll eventually grind to a halt when your buffers fill up.
>
> And you need to selectively gate some, but not all, of the stuff that
> you receive from the APRS-IS server back to local RF to be a
> fully-functioning IGate.
>
> Have you looked at aprsc? And I've seen on the javAPRSSrvr that
> Pete's working on getting that running on the Pi.
>
> And just what doesn't aprx like about the D72? You might need to put
> a few commands in there to get the D72 into KISS mode, but i'll be a
> much more functional IGate with a little bit of effort.
>
> Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32
>
> On 11/16/2013 12:23 AM, Andrew Rich wrote:
>>
>> That's crazy -- this works
>>
>> #!/usr/bin/perl
>>
>> use Net::Telnet;
>>
>> my $host = "rotate.aprs.net.au";
>>
>> my $port = "14580";
>>
>> my $t = new Net::Telnet(Timeout => '600',Dump_log =>
>> 'dump.log',Input_log => 'input.log',Output_log => 'output.log',Prompt
>> => "/$prmt/");
>>
>> $t->errmode('die');
>>
>> $t->Net::Telnet::open(Host => $host, Port => $port);
>>
>> print $t "user XXXXX pass XXXXX \n";
>>
>> open (rf,"/dev/ttyUSB0");
>>
>> while (<rf>)
>>
>> {
>>
>> if (m/^VK/)
>>
>> {
>>
>> print $t $_;
>>
>> print;
>>
>> }
>>
>> }
>>
>>
>>
>> _______________________________________________
>> aprssig mailing list
>> aprssig at tapr.org
>> http://www.tapr.org/mailman/listinfo/aprssig
>
>
>
> _______________________________________________
> aprssig mailing list
> aprssig at tapr.org
> http://www.tapr.org/mailman/listinfo/aprssig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20131116/d231d63b/attachment.html>
More information about the aprssig
mailing list