Added back in data field
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details

main latest
Joey Hines 2024-04-29 20:25:32 -06:00
parent 33aec25566
commit a09cd383e9
Signed by: joeyahines
GPG Key ID: 995E531F7A569DDB
1 changed files with 7 additions and 1 deletions

View File

@ -47,4 +47,10 @@ 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"}