Skip to contentSkip to conversation

Ham::APRS::Parser v0.03 released

DISCUSSION Jeff Laughlin (RV Melville) 1 participant 1 message Nov 4, 2006

lore
Share & tools
lore
#0 lore raw

Get it from http://sourceforge.net/projects/ham-aprs-parser/

Release notes:
* Fixed a bug in the MIC-E decoder that would sometimes cause small errors of up to 1 minute in longitude, affecting approximately 1 in 10 packets.
* Fixed an error in the readme.txt command line example
* Moved Ham/aprs to Ham/APRS

NAME
Ham::APRS::Parser - Perl module for parsing APRS packets into a consistent and easy to work with format

SYNOPSIS
use Ham::APRS::Parser;

my $aprsPacket =
parseAPRSPacket("EA1EKE-8>TR3UTW,EC1H-12,EA1A-3*,qAo,EA1URO-10:`|@+ ,>/>"9f}");

           while( my ($k, $v) = each %$aprsPacket ) {
                   print "key: $k, value: $v\n";
           }

DESCRIPTION
Insert plaintext aprs packets from APRS-IS, get back a reference to a hash containing the APRS data in a consistent and easy to process format.

The above code will yield the following hash:

           %$aprsPacket = {
                   'AMBIGUITY' => 0,
                   'COMMENT' => '"9f',
                   'COURSE' => 234,
                   'FROM' => 'EA1EKE-8',
                   'LAT' => '42.5911666666667',
                   'LON' => '-6.6025',
                   'MICE_CURRENTNESS' => 'CURRENT',
                   'MICE_MSG' => 'En Route',
                   'PATH' => 'EC1H-12,EA1A-3*,qAo,EA1URO-10',
                   'SPEED' => '75.932',
                   'TO' => 'TR3UTW'
           };