From a09cd383e9a0ab1ef1de31a11948cb3a195bd392 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Mon, 29 Apr 2024 20:25:32 -0600 Subject: [PATCH] Added back in data field --- formats/ccsds.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"} +