TODO: REPLACE
from field: uint32 HDOP = 12;
Horizontal, Vertical and Position Dilution of Precision, in 1/100 units
from field: uint32 PDOP = 11;
TODO: REPLACE
from field: uint32 VDOP = 13;
In meters above MSL (but see issue #359)
from field: int32 altitude = 3;
Geoidal separation in meters
from field: sint32 altitude_geoidal_separation = 10;
HAE altitude in meters - can be used instead of MSL altitude
from field: sint32 altitude_hae = 9;
TODO: REPLACE
from field: meshtastic.Position.AltSource altitude_source = 6;
GPS fix quality (from NMEA GxGGA statement or similar)
from field: uint32 fix_quality = 17;
GPS fix type 2D/3D (from NMEA GxGSA statement)
from field: uint32 fix_type = 18;
GPS accuracy (a hardware specific constant) in mm multiplied with DOP to calculate positional accuracy Default: "'bout three meters-ish" :)
from field: uint32 gps_accuracy = 14;
Ground speed in m/s and True North TRACK in 1/100 degrees Clarification of terms:
from field: uint32 ground_speed = 15;
TODO: REPLACE
from field: uint32 ground_track = 16;
The new preferred location encoding, multiply by 1e-7 to get degrees in floating point
from field: sfixed32 latitude_i = 1;
TODO: REPLACE
from field: meshtastic.Position.LocSource location_source = 5;
TODO: REPLACE
from field: sfixed32 longitude_i = 2;
Estimated/expected time (in seconds) until next update:
from field: uint32 next_update = 21;
Indicates the bits of precision set by the sending node
from field: uint32 precision_bits = 23;
GPS "Satellites in View" number
from field: uint32 sats_in_view = 19;
Sensor ID - in case multiple positioning sensors are being used
from field: uint32 sensor_id = 20;
A sequence number, incremented with each Position message to help detect lost updates if needed
from field: uint32 seq_number = 22;
This is usually not sent over the mesh (to save space), but it is sent from the phone so that the local device can set its time if it is sent over the mesh (because there are devices on the mesh without GPS or RTC). seconds since 1970
from field: fixed32 time = 4;
Positional timestamp (actual timestamp of GPS solution) in integer epoch seconds
from field: fixed32 timestamp = 7;
Pos. timestamp milliseconds adjustment (rarely available or required)
from field: int32 timestamp_millis_adjust = 8;
Static
Readonly
fieldsStatic
Readonly
runtimeStatic
Readonly
typeParse from binary data, merging fields.
Repeated fields are appended. Map entries are added, overwriting existing keys.
If a message field is already present, it will be merged with the new data.
Optional
options: Partial<BinaryReadOptions>Protected
toJSONOverride for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.
This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.
Static
equalsStatic
fromStatic
fromStatic
fromGenerated using TypeDoc
a gps position
Generated
from message meshtastic.Position