BT368i
view release on metacpan or search on metacpan
lib/BT368i/NMEA/GP/GSV.pm view on Meta::CPAN
# 4) Satellite PRN number, 01 to 32 (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_2}->{id} = $args[12];
# 5) Satellite elevation, 00 to 90 degrees (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_2}->{elevation} = $args[13];
# 6) Satellite azimuth, 000 to 359 degrees, true (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_2}->{azimuth} = $args[14];
# 7) Signal to Noise ratio (C/No) 00 to 99 dB, null when not tracking (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_2}->{signal_to_noise} = $args[15];
# 4) Satellite PRN number, 01 to 32 (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_3}->{id} = $args[16];
# 5) Satellite elevation, 00 to 90 degrees (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_3}->{elevation} = $args[17];
# 6) Satellite azimuth, 000 to 359 degrees, true (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_3}->{azimuth} = $args[18];
# 7) Signal to Noise ratio (C/No) 00 to 99 dB, null when not tracking (leading zeros sent)
$self->{'sentance_' . $self->{current_gsv_sentance}}->{prn_3}->{signal_to_noise} = $args[19];
}
1;
__END__
=head1 NAME
BT368i::NMEA::GP::GSV - The GSV sentance
=head1 SYNOPSIS
use BT368i::NMEA::GP::GSV;
my $gsv = new BT368i::NMEA::GP::GSV();
$gsv->parse();
$gsv->print();
=head1 DESCRIPTION
Used to decode the GSV message.
=head2 Methods
=over 2
=item $gsv->parse();
Parse a GPGSV sentance.
=item $gsv->print();
Print a decoded output of a GPGSV sentance.
=item $gsv->log($filename);
Log the GPGSV 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.208 second using v1.01-cache-2.11-cpan-f56aa216473 )