Net::gpsd3 return satellite object
use Net::GPSD3 0.13; my $gpsd = Net::GPSD3->new; my $poll = $gpsd->poll; #new method in 0.12 my $sky = $poll->sky; #new method in 0.13 printf "Reported: %s, Used: %s\n", $sky->reported, $sky->used; printf "PRN: %s\n", join(", ", map {$_->used ? $_->prn : "-".$_->prn} $sky->Satellites);
Provides a Perl object interface to the Satellite data structure returned by the \s-1GPSD\s0 daemon.
An example \s-1JSON\s0 string:
{"PRN":15,"el":77,"az":123,"ss":0, "used":false},
Returns the object class
Returns the \s-1JSON\s0 string
Return the parent Net::GPSD object
Returns the \s-1GPS\s0 Satellites Pseudo Random Number Identifier
Returns a JSON::XS::Boolean true or false object.
Returns the azimuth, degrees from true north.
Returns the Elevation in degrees.
Signal strength in dBHz.
Note: C/N0 is dBHz usually, but trimbles can also emit poorly specified Amplitude Measurement Units.
Log on \s-1RT\s0 and Send to gpsd-dev email list
DavisNetworks.com supports all Perl applications including this package.
Try gpsd-dev email list
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl http://www.stopllc.com/
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the \s-1LICENSE\s0 file included with this module.
Net::GPSD3, Net::GPSD3::Return::Unknown