Net::GPSD::Satellite man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Net::GPSD::Satellite(3User Contributed Perl DocumentatiNet::GPSD::Satellite(3)

NAME
       Net::GPSD::Satellite - Provides an interface for a gps satellite
       object.

SYNOPSIS
	 use Net::GPSD;
	 my $obj=Net::GPSD->new();
	 my $i=0;
	 print join("\t", qw{Count PRN ELEV Azim SNR USED}), "\n";
	 foreach ($obj->getsatellitelist) {
	   print join "\t", ++$i,
			    $_->prn,
			    $_->elev,
			    $_->azim,
			    $_->snr,
			    $_->used;
			    $_->oid;
	   print "\n";
	 }

       or to construct a satelite object

	 use Net::GPSD::Satelite;
	 my $obj=Net::GPSD::Satellite->new(22,80,79,35,1);

       or to create a satelite object

	 use Net::GPSD::Satelite;
	 my $obj=Net::GPSD::Satellite->new();
	 $obj->prn(22),
	 $obj->elev(80),
	 $obj->azim(79),
	 $obj->snr(35),
	 $obj->used(1);

DESCRIPTION
CONSTRUCTOR
   new
	 my $obj=Net::GPSD::Satellite->new($prn,$elev,$azim,$snr,$used);

METHODS
   initialize
   prn
       Returns the Satellite PRN number.

	 $obj->prn(22);
	 my $prn=$obj->prn;

   oid
       Returns the Satellite Object ID from the GPS::OID package.

	 $obj->oid(22216);
	 my $oid=$obj->oid;

   elevation, elev
       Returns the satellite elevation, 0 to 90 degrees.

	 $obj->elev(80);
	 my $elev=$obj->elev;

   azimuth, azim
       Returns the satellite azimuth, 0 to 359 degrees.

	 $obj->azim(79);
	 my $azim=$obj->azim;

   snr
       Returns the Signal to Noise ratio (C/No) 00 to 99 dB, null when not
       tracking.

	 $obj->snr(35);
	 my $snr=$obj->snr;

   used
       Returns a 1 or 0 according to if the satellite was or was not used in
       the last fix.

	 $obj->used(1);
	 my $used=$obj->used;

   q2u
LIMITATIONS
BUGS
       Email author and submit to RT.

SUPPORT
       DavisNetworks.com supports all Perl applications including this
       package.

AUTHOR
       Michael R. Davis, qw/gpsd michaelrdavis com/

LICENSE
       Copyright (c) 2006 Michael R. Davis (mrdvt92)

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

SEE ALSO
perl v5.14.1			  2010-06-02	       Net::GPSD::Satellite(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net