Implementation
@$core.Deprecated('Use positionDescriptor instead')
const Position$json = {
'1': 'Position',
'2': [
{
'1': 'latitude_i',
'3': 1,
'4': 1,
'5': 15,
'9': 0,
'10': 'latitudeI',
'17': true
},
{
'1': 'longitude_i',
'3': 2,
'4': 1,
'5': 15,
'9': 1,
'10': 'longitudeI',
'17': true
},
{
'1': 'altitude',
'3': 3,
'4': 1,
'5': 5,
'9': 2,
'10': 'altitude',
'17': true
},
{'1': 'time', '3': 4, '4': 1, '5': 7, '10': 'time'},
{
'1': 'location_source',
'3': 5,
'4': 1,
'5': 14,
'6': '.meshtastic.Position.LocSource',
'10': 'locationSource'
},
{
'1': 'altitude_source',
'3': 6,
'4': 1,
'5': 14,
'6': '.meshtastic.Position.AltSource',
'10': 'altitudeSource'
},
{'1': 'timestamp', '3': 7, '4': 1, '5': 7, '10': 'timestamp'},
{
'1': 'timestamp_millis_adjust',
'3': 8,
'4': 1,
'5': 5,
'10': 'timestampMillisAdjust'
},
{
'1': 'altitude_hae',
'3': 9,
'4': 1,
'5': 17,
'9': 3,
'10': 'altitudeHae',
'17': true
},
{
'1': 'altitude_geoidal_separation',
'3': 10,
'4': 1,
'5': 17,
'9': 4,
'10': 'altitudeGeoidalSeparation',
'17': true
},
{'1': 'PDOP', '3': 11, '4': 1, '5': 13, '10': 'PDOP'},
{'1': 'HDOP', '3': 12, '4': 1, '5': 13, '10': 'HDOP'},
{'1': 'VDOP', '3': 13, '4': 1, '5': 13, '10': 'VDOP'},
{'1': 'gps_accuracy', '3': 14, '4': 1, '5': 13, '10': 'gpsAccuracy'},
{
'1': 'ground_speed',
'3': 15,
'4': 1,
'5': 13,
'9': 5,
'10': 'groundSpeed',
'17': true
},
{
'1': 'ground_track',
'3': 16,
'4': 1,
'5': 13,
'9': 6,
'10': 'groundTrack',
'17': true
},
{'1': 'fix_quality', '3': 17, '4': 1, '5': 13, '10': 'fixQuality'},
{'1': 'fix_type', '3': 18, '4': 1, '5': 13, '10': 'fixType'},
{'1': 'sats_in_view', '3': 19, '4': 1, '5': 13, '10': 'satsInView'},
{'1': 'sensor_id', '3': 20, '4': 1, '5': 13, '10': 'sensorId'},
{'1': 'next_update', '3': 21, '4': 1, '5': 13, '10': 'nextUpdate'},
{'1': 'seq_number', '3': 22, '4': 1, '5': 13, '10': 'seqNumber'},
{'1': 'precision_bits', '3': 23, '4': 1, '5': 13, '10': 'precisionBits'},
],
'4': [Position_LocSource$json, Position_AltSource$json],
'8': [
{'1': '_latitude_i'},
{'1': '_longitude_i'},
{'1': '_altitude'},
{'1': '_altitude_hae'},
{'1': '_altitude_geoidal_separation'},
{'1': '_ground_speed'},
{'1': '_ground_track'},
],
};