BT368i

 view release on metacpan or  search on metacpan

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


	# 2) Fix type, 1=no fix, 2=2D, 3=3D
	$self->{fix_type} = $args[2];

	# 3) PRN number, 01 to 32, of satellites used in solution (leading zeroes sent)
	$self->{prn_00} = $args[3];
	$self->{prn_01} = $args[4];
	$self->{prn_02} = $args[5];
	$self->{prn_03} = $args[6];
	$self->{prn_04} = $args[7];
	$self->{prn_05} = $args[8];
	$self->{prn_06} = $args[9];
	$self->{prn_07} = $args[10];
	$self->{prn_08} = $args[11];
	$self->{prn_09} = $args[12];
	$self->{prn_10} = $args[13];
	$self->{prn_11} = $args[14];

	# 4) Position dilution of precision, 1.0 to 99.9
	$self->{position_diliution} = $args[15];

	# 5) Horizontal dilution of precision, 1.0 to 99.9
	$self->{horizontal_diliution} = $args[16];

	# 6) Vertical dilution of precision, 1.0 to 99.9
	$self->{vertical_diliution} = $args[17];
}

1;

__END__

=head1 NAME

BT368i::NMEA::GP::GSA - The GSA sentance

=head1 SYNOPSIS

use BT368i::NMEA::GP::GSA;

my $gsa = new BT368i::NMEA::GP::GSA();

$gsa->parse();

$gsa->print();

=head1 DESCRIPTION

Used to decode the GSA message.

=head2 Methods

=over 2

=item $gsa->parse();

Parse a GPGSA sentance.

=item $gsa->print();

Print a decoded output of a GPGSA sentance.

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

Log the GPGSA 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.439 second using v1.01-cache-2.11-cpan-f56aa216473 )