Skip to content

CommPeriodCfgStructMsg

Comm Period Cfg Struct Msg

AM Type: 172

Source Code


Field Bits Type Condition Validator 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
version 2 UInt Always ValueValidator(0)
reserved 6 Reserved Always
cfg Struct Always
└── commPeriod 24 UInt Always RangeValidator[0, 86400]

Example

ok_default_cfg

Source: CommPeriodCfgMessages.py

JSON Message

{
  "ls_header": {
    "uplink_version": {
      "value": "4",
      "raw": 4
    },
    "product_code": {
      "value": "87",
      "raw": 87
    },
    "node_id": {
      "value": "87",
      "raw": 87
    },
    "sequence_number": {
      "value": "1",
      "raw": 1
    },
    "am_type": {
      "value": "172",
      "raw": 172
    }
  },
  "version": {
    "value": "0",
    "raw": 0
  },
  "reserved": {
    "value": "0",
    "raw": 0
  },
  "cfg": {
    "commPeriod": {
      "value": "54678",
      "raw": 54678
    }
  }
}

Encoded Bytes

40 57 00 57 01 AC 00 00 D5 96