Removed broken CCSDS w/ secondary header
parent
67d5bdfcf9
commit
33aec25566
|
@ -47,57 +47,4 @@ field_type = {type = "UInt", bit_width = 14, endianness = "BigEndian"}
|
||||||
|
|
||||||
[[formats.fields]]
|
[[formats.fields]]
|
||||||
name = "Data Length"
|
name = "Data Length"
|
||||||
field_type = {type = "UInt", bit_width = 16, endianness = "BigEndian"}
|
field_type = {type = "UInt", bit_width = 16, endianness = "BigEndian"}
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Data"
|
|
||||||
# Allow payloads up to the max size that can be specfied in "Data Length"
|
|
||||||
field_type = {type = "Bytes", max_len = 65535, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
# CCSDS packet w/ primary header + secondary header + payload
|
|
||||||
[[formats]]
|
|
||||||
name = "ccsds_sec"
|
|
||||||
bit_flip = false
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Version Number"
|
|
||||||
field_type = {type = "UInt", bit_width = 3, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Packet Type"
|
|
||||||
field_type = {type = "UInt", bit_width = 1, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Secondary Header Flag"
|
|
||||||
field_type = {type = "UInt", bit_width = 1, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "APID"
|
|
||||||
print_type = {print = "Base", base = 16}
|
|
||||||
field_type = {type = "UInt", bit_width = 11, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Sequence Flags"
|
|
||||||
field_type = {type = "UInt", bit_width = 2, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Packet Sequence Count"
|
|
||||||
field_type = {type = "UInt", bit_width = 14, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Data Length"
|
|
||||||
field_type = {type = "UInt", bit_width = 16, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Data"
|
|
||||||
# Allow payloads up to the max size that can be specfied in "Data Length"
|
|
||||||
field_type = {type = "Bytes", max_len = 65535, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "Secondary header"
|
|
||||||
field_type = {type = "Bytes", max_len = 6, endianness = "BigEndian"}
|
|
||||||
|
|
||||||
[[formats.fields]]
|
|
||||||
name = "data"
|
|
||||||
# allow payloads up to the max size that can be specfied in "data length"
|
|
||||||
field_type = {type = "Bytes", max_len = 65535, endianness = "BigEndian"}
|
|
Loading…
Reference in New Issue