logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::GPSD3::Return::DEVICE - Net::GPSD3 Return DEVICE Object

Author

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

Bugs

       Log on RT and Send to gpsd-dev email list

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.

   pathnative
       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).

Name

       Net::GPSD3::Return::DEVICE - Net::GPSD3 Return DEVICE Object

See Also

       Net::GPSD3

perl v5.34.0                                       2022-06-16                    Net::GPSD3::Return::DEVICE(3pm)

Support

       DavisNetworks.com supports all Perl applications including this package.

       Try gpsd-dev email list

Synopsis

See Also