Net::gpsd3 return poll object
use Net::GPSD3; use Data::Dumper qw{Dumper}; my $gpsd = Net::GPSD3->new; my $poll = $gpsd->poll; print Dumper($poll);
Provides a Perl object interface to the \s-1POLL\s0 object returned by the \s-1GPSD\s0 daemon.
Returns the object class
Returns the \s-1JSON\s0 string
Return the parent Net::GPSD3 object
Returns the first fix from the Fixes array or undef if none.
my $fix=$poll->fix #isa Net::GPSD3::Return::TPV or undef
Note: I will try to keep this method consistent
Object wrapper around \s-1JSON\s0 data
my $fix=$poll->Fixes #isa [] of Net::GPSD3::Return::TPV objects my @fix=$poll->Fixes #isa () of Net::GPSD3::Return::TPV objects
Note: I'm not sure why this is an array from the protocol but do not count on this staying the same
Returns the first object from the Skyviews array or undef if none.
my $sky=$poll->sky #isa Net::GPSD3::Return::SKY or undef
Note: I will try to keep this method consistent
Object wrapper around \s-1JSON\s0 data
my $sky=$poll->Skyviews #isa [] of Net::GPSD3::Return::SKY objects my @sky=$poll->Skyviews #isa () of Net::GPSD3::Return::SKY objects
Note: I'm not sure why this is an array from the protocol but do not count on this staying the same
Object wrapper around \s-1JSON\s0 data
my $gst=$poll->Gst #isa [] of Net::GPSD3::Return::GST objects my @gst=$poll->Gst #isa () of Net::GPSD3::Return::GST objects
Note: I'm not sure why this is an array from the protocol but do not count on this staying the same
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::Timestamp