lyg
2025-05-22 e60d75228fb161e464ca59fa2526bf0765f4d902
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
  "name": "遥控包",
  "type": "pkt",
  "children": [
    {
      "name": "主导头",
      "code": "primaryHeader",
      "length": 48,
      "type": "combPkt",
      "children": [
        {
          "name": "包识别",
          "code": "packetIdentifier",
          "length": 16,
          "type": "combPkt",
          "children": [
            {
              "name": "包版本号",
              "code": "packetVersionNumber",
              "length": 3,
              "value": "{{包版本号}}",
              "type": "const"
            },
            {
              "name": "包类型",
              "code": "packetType",
              "length": 1,
              "value": "{{包类型}}",
              "type": "const"
            },
            {
              "name": "数据区头标志",
              "code": "dataFieldHeaderFlag",
              "length": 1,
              "value": "{{数据区头标志}}",
              "type": "const"
            },
            {
              "name": "应用过程标识符",
              "code": "apid",
              "length": 11,
              "value": "{{应用过程标识符}}",
              "type": "const"
            }
          ]
        },
        {
          "name": "包序列控制",
          "code": "sequenceControl",
          "length": 16,
          "type": "combPkt",
          "children": [
            {
              "name": "序列标志",
              "code": "sequenceFlags",
              "length": 2,
              "value": "{{序列标志}}",
              "type": "const"
            },
            {
              "name": "包序列计数",
              "code": "packetSequenceCount",
              "length": 14,
              "type": "pktSeqCnt",
              "value": "0"
            }
          ]
        },
        {
          "name": "包长",
          "code": "packetLength",
          "length": 16,
          "type": "length",
          "value": {
            "start": "secondaryHeader",
            "end": "data",
            "formula": "N-1"
          }
        }
      ]
    },
    {
      "name": "副导头",
      "code": "secondaryHeader",
      "length": 8,
      "type": "combPkt",
      "children": [
        {
          "name": "副导头标志",
          "code": "ccsdsSecondaryHeaderFlag",
          "length": 1,
          "value": "{{副导头标志}}",
          "type": "const"
        },
        {
          "name": "遥控包版本号",
          "code": "tcPktVersionNumber",
          "length": 3,
          "value": "{{遥控包版本号}}",
          "type": "const"
        },
        {
          "name": "命令正确应答",
          "code": "acknowledgmentFlag",
          "length": 4,
          "type": "const",
          "value": "{{命令正确应答}}"
        },
        {
          "name": "服务类型",
          "code": "serviceType",
          "length": 8,
          "type": "const",
          "value": "{{服务类型}}"
        },
        {
          "name": "服务子类型",
          "code": "serviceSubtype",
          "length": 8,
          "type": "const",
          "value": "{{服务子类型}}"
        },
        {
          "name": "源地址",
          "code": "sourceAddr",
          "length": 8,
          "value": "{{源地址}}",
          "type": "const"
        }
      ]
    },
    {
      "name": "应用数据区",
      "code": "data",
      "length": null,
      "type": "insUnitList",
      "children": []
    },
    {
      "name": "包差错控制域",
      "code": "pktCheckSum",
      "length": 16,
      "type": "checkSum",
      "value": {"start": "START", "end": "PREV", "type": "ISOSum"}
    }
  ],
  "subPkts": []
}