BT368i

 view release on metacpan or  search on metacpan

lib/BT368i/NMEA/GP/GGA.pm  view on Meta::CPAN

	# 4) Longitude, dddmm.mmmm format (leading zeros will be transmitted)
	$self->{longitude} = $args[4];

	# 5) Longitude hemisphere, E or W
	$self->{longitude_hemisphere} = $args[5];

	# 6) GPS quality indication, 0=no fix, 1=non-DGPS fix, 2=DGPS fix
	$self->{fix_type} = $args[6];

	# 7) Number of sats in use, 00 to 12
	$self->{satilites_in_use} = $args[7];

	# 8) Horizontal Dilution of Precision 1.0 to 99.9
	$self->{horizontal_dilution} = $args[8];

	# 9) Antenna height above/below mean sea level, -9999.9 to 99999.9 meters
	$self->{antenna_height} = $args[9];

	# 10) Geoidal height, -999.9 to 9999.9 meters
	$self->{geoidal_height} = $args[11];

	# 11) DGPS data age, number of seconds since last valid RTCM transmission (null if non-DGPS)
	$self->{dgps_data_age} = $args[13];

	# 12) DGPS reference station ID, 0000 to 1023 (leading zeros will be sent, null if non-DGPS)
	$self->{dgps_reference_sation_id} = $args[14];
}

1;

__END__

=head1 NAME

BT368i::NMEA::GP::GGA - The GGA sentance

=head1 SYNOPSIS

use BT368i::NMEA::GP::GGA;

my $gga = new BT368i::NMEA::GP::GGA();

$gga->parse();

$gga->print();

=head1 DESCRIPTION

Used to decode the GGA message.

=head2 Methods

=over 2

=item $gga->parse();

Parse a GPGGA sentance.

=item $gga->print();

Print a decoded output of a GPGGA sentance.

=item $gga->log($filename);

Log the GPGGA sentance to a file.

=back

=head1 AUTHOR

Travis Kent Beste, travis@tencorners.com

=head1 COPYRIGHT

Copyright 2010 Tencorners, LLC.  All rights reserved.

This library is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
	
=head1 SEE ALSO

Travis Kent Beste's GPS www site
http://www.travisbeste.com/software/gps

perl(1).

RingBuffer.pm.

Device::SerialPort.pm.

=cut



( run in 1.669 second using v1.01-cache-2.11-cpan-600a1bdf6e4 )