Fixed CCSDS parsing

+ Using bitvec now for parsing binary data
+ Fixed issues with how some data was handled across byte boundaries
+ Updated CCSDS def
+ Added test to verify good ccsds parsing
+ clippy + fmt
This commit is contained in:
2022-04-17 10:19:44 -06:00
parent 415a9c6ee1
commit d956c111d8
9 changed files with 289 additions and 74 deletions
+11 -1
View File
@@ -1,5 +1,15 @@
# Example fields to show off configuration
# Example data to use "[0x00, 0x55, 0xff, 0x43, 0xd2 0x99 0x90, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x00, 0x57, 0x6f, 0x72, 0x6c, 0x64]"
#
# Example data:
# "[0x00, 0x55, 0xff, 0x43, 0xd2 0x99 0x90, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x00, 0x57, 0x6f, 0x72, 0x6c, 0x64]"
#
# Example Output:
# int field: 85
# uint field: 0xf
# uint field: 0xf
# float field: 421.1997
# string field: [72, 101, 108, 108, 111]
# bytes field: [87, 111, 114, 108, 100]
[[formats]]
# Format name