GnssFix

data class GnssFix(val satellitesUsed: Int? = null, val hdop: Int? = null, val pdop: Int? = null, val vdop: Int? = null, val fixQuality: Int? = null, val fixType: Int? = null)(source)

A GNSS receiver's own account of a fix, from its NMEA GGA and GSA sentences, in the units firmware's GPS reports: dilutions of precision in hundredths. Location carries none of it. A field the receiver left blank is null.

Constructors

Link copied to clipboard
constructor(satellitesUsed: Int? = null, hdop: Int? = null, pdop: Int? = null, vdop: Int? = null, fixQuality: Int? = null, fixType: Int? = null)

Properties

Link copied to clipboard

GGA's fix quality: 0 none, 1 GPS, 2 differential and so on.

Link copied to clipboard
val fixType: Int?

GSA's fix type: 1 none, 2 two-dimensional, 3 three-dimensional.

Link copied to clipboard
val hdop: Int?
Link copied to clipboard
val pdop: Int?
Link copied to clipboard

Satellites used in the fix, GGA's count, which firmware reports as sats_in_view.

Link copied to clipboard
val vdop: Int?