diff --git a/formats/ccsds.toml b/formats/ccsds.toml index 6277ae4..c8bdd44 100644 --- a/formats/ccsds.toml +++ b/formats/ccsds.toml @@ -47,4 +47,10 @@ field_type = {type = "UInt", bit_width = 14, endianness = "BigEndian"} [[formats.fields]] name = "Data Length" -field_type = {type = "UInt", bit_width = 16, endianness = "BigEndian"} \ No newline at end of file +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"} +