Skip to content

GnssDataStrMsg

Gnss Data Str Msg

AM Type: 85

Source Code


Field Bits Type Unit Condition Mutator Error Description
ls_header Struct Always
├── uplink_version 4 UInt Always
├── node_id_high 4 Fragment Always
├── product_code 8 UInt Always
├── node_id 16 UInt Always
├── sequence_number 8 UInt Always
└── am_type 8 UInt Always
readTimestamp 32 TimestampField Always TimestampMutator
version 3 UInt Always
oneSample Struct Always
├── numSamples 6 UInt count Always
├── avgLat 38 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0)
├── avgLon 39 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0)
└── avgAlt 26 UInt m Always OffsetMutator(+1000), ScalingMutator(×10000) ReferenceEntryError(NOT_VALID, 0)
shortTermAgg Struct Always
├── numSamples 3 UInt count Always
├── avgLat 38 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0)
├── avgLon 39 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0)
└── avgAlt 26 UInt m Always OffsetMutator(+1000), ScalingMutator(×10000) ReferenceEntryError(NOT_VALID, 0)
longTermAgg Struct Always
├── numSamples 5 UInt count Always
├── avgLat 38 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0)
├── avgLon 39 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0)
└── avgAlt 26 UInt m Always OffsetMutator(+1000), ScalingMutator(×10000) ReferenceEntryError(NOT_VALID, 0)
Field Bits Type Unit Condition Mutator Error Description WF Address WF Name WF Unit Cloud DP Name
ls_header Struct Always
├── uplink_version 4 UInt Always
├── node_id_high 4 Fragment Always
├── product_code 8 UInt Always
├── node_id 16 UInt Always
├── sequence_number 8 UInt Always
└── am_type 8 UInt Always
readTimestamp 32 TimestampField Always TimestampMutator
version 3 UInt Always
oneSample Struct Always
├── numSamples 6 UInt count Always a:05:00:00 numSamples count onesample_num_samples
├── avgLat 38 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0) a:05:00:00 lat DD onesample_avg_latitude
├── avgLon 39 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0) a:05:00:00 lon DD onesample_avg_longitude
└── avgAlt 26 UInt m Always OffsetMutator(+1000), ScalingMutator(×10000) ReferenceEntryError(NOT_VALID, 0) a:05:00:00 alt m onesample_avg_altitude
shortTermAgg Struct Always
├── numSamples 3 UInt count Always a:05:00:01 numSamples count short_term_agg_num_samples
├── avgLat 38 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0) a:05:00:01 lat DD short_term_agg_avg_latitude
├── avgLon 39 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0) a:05:00:01 lon DD short_term_agg_avg_longitude
└── avgAlt 26 UInt m Always OffsetMutator(+1000), ScalingMutator(×10000) ReferenceEntryError(NOT_VALID, 0) a:05:00:01 alt m short_term_agg_avg_altitude
longTermAgg Struct Always
├── numSamples 5 UInt count Always a:05:00:02 numSamples count long_term_agg_num_samples
├── avgLat 38 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0) a:05:00:02 lat DD long_term_agg_avg_latitude
├── avgLon 39 Int DD Always ScalingMutator(×1000000000) ReferenceEntryError(NOT_VALID, 0) a:05:00:02 lon DD long_term_agg_avg_longitude
└── avgAlt 26 UInt m Always OffsetMutator(+1000), ScalingMutator(×10000) ReferenceEntryError(NOT_VALID, 0) a:05:00:02 alt m long_term_agg_avg_altitude

Worldsensing Format Sources

Address Manufacturer Type Model Status
a:05:00:00 Worldsensing 1Sample GNSS 0
a:05:00:01 Worldsensing ShortTermAgg GNSS 0
a:05:00:02 Worldsensing LongTermAgg GNSS 0

Example

all_zeros

Source: GnssDataStrMessages.py

JSON Message

{
  "ls_header": {
    "uplink_version": {
      "value": "4",
      "raw": 4
    },
    "product_code": {
      "value": "89",
      "raw": 89
    },
    "node_id": {
      "value": "5",
      "raw": 5
    },
    "sequence_number": {
      "value": "5",
      "raw": 5
    },
    "am_type": {
      "value": "85",
      "raw": 85
    }
  },
  "readTimestamp": {
    "value": "1970-01-01T00:00:00Z",
    "raw": 0
  },
  "version": {
    "value": "0",
    "raw": 0
  },
  "oneSample": {
    "numSamples": {
      "raw": 0,
      "unit": "count",
      "value": "0"
    },
    "avgLat": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "DD"
    },
    "avgLon": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "DD"
    },
    "avgAlt": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "m"
    }
  },
  "shortTermAgg": {
    "numSamples": {
      "raw": 0,
      "unit": "count",
      "value": "0"
    },
    "avgLat": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "DD"
    },
    "avgLon": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "DD"
    },
    "avgAlt": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "m"
    }
  },
  "longTermAgg": {
    "numSamples": {
      "raw": 0,
      "unit": "count",
      "value": "0"
    },
    "avgLat": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "DD"
    },
    "avgLon": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "DD"
    },
    "avgAlt": {
      "error": {
        "code": 2,
        "subCode": 0
      },
      "raw": 0,
      "unit": "m"
    }
  }
}

Encoded Bytes

40 59 00 05 05 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00