[aprssig] ACARS <----> APRS

Andrew Rich vk4tec at tech-software.net
Sat May 20 13:40:01 EDT 2006


For those who are intersted, I am playing with ACARS and APRS.

I will plot planes on my APRS screen.  Anyone good at xml in perl ? 

Here is a pre-lim perl script to connect and extract ACARS data.

#!/usr/bin/perl
use Net::Telnet;
my $host ="71.116.161.119";
my $user = "";
my $password = "";
my $prompt = "";
my (@data, $line);
my $t = new Net::Telnet(Timeout => '5',port => '2202');
$t->errmode('return');
$t->Net::Telnet::open($host);
while (<$t>)
{
open (outfile, ">> /maint/scripts/acars.dat");
print outfile $_;
close(outfile);
if (m/AircraftReg/)
{
print;
}
if (m/\<North\>/)
{
print;
}
if (m/\<West\>/)
{
print;
}
if (m/\<South\>/)
{
print;
}
if (m/\<East\>/)
{
print;
print "------------------------------ \n";
}
}                                                                


-----------------------------------------
Andrew Rich
Amateur radio callsign VK4TEC
email: vk4tec at tech-software.net
web: http://www.tech-software.net
Brisbane AUSTRALIA 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20060521/42819b82/attachment.html>


More information about the aprssig mailing list