Struct gpsd::GPSDataT [] [src]

#[repr(C)]
pub struct GPSDataT { pub set: GPSMaskT, pub online: TimestampT, pub gps_fd: SocketT, pub fix: GPSFixT, pub separation: c_double, pub status: c_int, pub satellites_used: c_int, pub dop: DopT, pub epe: c_double, pub skyview_time: TimestampT, pub satellites_visible: c_int, pub skyview: [SatelliteT; 72], pub dev: DevconfigT, pub policy: PolicyT, pub devices: Devices, pub union_never_reported: [c_int; 1418], pub privdata: *mut c_void, }

Fields

has field been set since this was last cleared?

NZ if GPS is on line, 0 if not.

Note: gpsd clears this time when sentences fail to show up within the GPS's normal send cycle time. If the host-to-GPS link is lossy enough to drop entire sentences, this field will be prone to false zero values.

socket or file descriptor to GPS accumulated PVT data

this should move to the per-driver structure

Geoidal separation, MSL - WGS84 (Meters) GPS status -- always valid

Do we have a fix? precision of fix -- valid if satellites_used > 0

Number of satellites used in solution

redundant with the estimate elements in the fix structure

spherical position error, 95% confidence (meters) satellite status -- valid when satellites_visible > 0

skyview timestamp

of satellites in view

device that shipped last update

our listening policy

Private data rtcm3_t largest in union -> sizeof 5672 = 4*1418

Private data - client code must not set this

Trait Implementations

impl Default for GPSDataT
[src]

Returns the "default value" for a type. Read more

impl Display for GPSDataT
[src]

Formats the value using the given formatter. Read more