Net::GPSD3::Return::DEVICE(3) Net::GPSD3 Return DEVICE Object

SYNOPSIS

DESCRIPTION

Provides a Perl object interface to the DEVICE object returned by the GPSD daemon.

METHODS

class

Returns the object class

string

Returns the JSON string

parent

Return the parent Net::GPSD3 object

device

Name the device for which the control bits are being reported, or for which they are to be applied. This attribute may be omitted only when there is exactly one subscribed channel.

driver

GPSD's name for the device driver type. Won't be reported before gpsd has seen identifiable packets from the device.

subtype

Whatever version information the device returned.

path

native

0 means NMEA mode and 1 means alternate mode (binary if it has one, for SiRF and Evermore chipsets in particular). Attempting to set this mode on a non-GPS device will yield an error.

activated

Time the device was activated, or 0 if it is being closed.

Note: I expect this to change to either a boolean or a timestamp in the 3.5 protocol.

cycle

Device cycle time in seconds.

mincycle

Device minimum cycle time in seconds. Reported from ?CONFIGDEV when (and only when) the rate is switchable. It is read-only and not settable.

flags

Bit vector of property flags. Currently defined flags are: describe packet types seen so far (GPS, RTCM2, RTCM3, AIS). Won't be reported if empty, e.g. before gpsd has seen identifiable packets from the device.

bps

Device speed in bits per second.

parity

N, O or E for no parity, odd, or even.

stopbits

Stop bits (1 or 2).

BUGS

Log on RT and Send to gpsd-dev email list

SUPPORT

DavisNetworks.com supports all Perl applications including this package.

Try gpsd-dev email list

AUTHOR

  Michael R. Davis
  CPAN ID: MRDVT
  STOP, LLC
  domain=>michaelrdavis,tld=>com,account=>perl
  http://www.stopllc.com/

COPYRIGHT

This program is free software licensed under the...

  The BSD License

The full text of the license can be found in the LICENSE file included with this module.