Net::G...DEVICE(3pm)

πŸ“¦
version 0.19 Β· 2 versions
  • 0.19 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.19 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Net::GPSD3::Return::DEVICE β€” the Net::GPSD3 Return DEVICE Object, bestie. It's from User Contributed Perl Documentation, and the manual page is literally named Net::G...DEVICE(3pm) (yes, the title got truncated like that, iconic of it honestly).


✨ SYNOPSIS ✨

Okay so plot twist: there is no synopsis here. The section exists, it's just empty. No cap. Moving on πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this gives you a Perl object interface to the DEVICE object that the GPSD daemon hands back. That's the whole vibe. You get a lil object, you poke at it, it tells you stuff about your device. Periodt. πŸŽ€


🌸 METHODS 🌸

class

Returns the object class. Slay.

string

Returns the JSON string. Yes bestie, the raw JSON, right there for you. πŸ”₯

parent

Returns the parent Net::GPSD3 object. Your object's mom, fr fr.

device

Names the device for which the control bits are being reported, or for which they're gonna be applied. Important lil caveat: this attribute may be omitted only when there's exactly one subscribed channel. One channel only, okay? πŸ™ˆ

driver

GPSD's own name for the device driver type. Won't be reported before gpsd has seen identifiable packets from the device. So like... it needs to actually see something first, bestie. πŸ‘‘

subtype

Whatever version information the device returned. That's it, that's the tea.

path

(No description given in the original β€” it's just sitting there, mysterious, main character energy. 🧚)

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. So don't do that, okay? 😭

activated

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

Note: I expect this to change to either a boolean or a timestamp in the 3.5 protocol. (Their words, not mine β€” just passing the message along 🫢)

cycle

Device cycle time in seconds. Tick tock. ⭐

mincycle

Device minimum cycle time in seconds. It's reported from ?CONFIGDEV when (and only when) the rate is switchable. And listen: it is read-only and not settable. Not negotiable, bestie. πŸ’…

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. Empty flags = no flags, no drama.

bps

Device speed in bits per second. Zoom zoom. πŸ¦‹

parity

N, O or E for no parity, odd, or even. Pick your fighter. ✨

stopbits

Stop bits (1 or 2). Short and sweet.


πŸ’€ BUGS πŸ’€

Log on RT and Send to gpsd-dev email list. That's the whole bug policy. Go forth and report. 🌈


🫢 SUPPORT 🫢

DavisNetworks.com supports all Perl applications including this package. Obsessed with the generosity honestly. πŸ’–

Also: try gpsd-dev email list. They're the ones who know things. πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

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

Give it up for Michael, the icon who wrote this. πŸŽ€


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. Read it, bestie, it's good for you. πŸ“


🌟 SEE ALSO 🌟

  • Net::GPSD3

And that's the page, babes β€” this was perl v5.34.0, dated 2022-06-16, straight from Net::G...DEVICE(3pm) in the User Contributed Perl Documentation. Stay slay, stay documented, and go read your device flags. Byeee πŸ’œβœ¨

πŸ“¦ where this page comes from