Commit Graph

8 Commits (d956c111d899c1778ba6fbb8c918f40310075467)

Author SHA1 Message Date
Joey Hines d956c111d8
Fixed CCSDS parsing
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
+ 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
2022-04-17 10:19:44 -06:00
Joey Hines 70a3c260e6
Improved docs + a bunch of fixes
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
+ Better error handling
  + Line numbers in toml errors should now match the file
  + Errors during parsing show where in the bit stream they failed
+ Fixed some issues with string, float, and double parsing reporting the wrong bit width
+ Updated docs and added the example.toml config
+ clipppy + fmt
2022-04-10 10:42:05 -06:00
Joey Hines 1cf7f06230
Added additional printers
+ Data types can be printed in different formats
+ The formats respect endianness
+ Fixed tests
+ clippy+fmt
2022-04-09 13:33:55 -06:00
Joey Hines 59351fb699
Added default formatters + error handling 2022-04-09 12:34:15 -06:00
Joey Hines f8ba81e2ca
Fully Working CCSDS parsing
+ updated ccsds config to make it work, as I expect it to at least
2022-04-09 11:25:09 -06:00
Joey Hines e822d9ff13
Added endianness support 2022-04-05 20:45:58 -06:00
Joey Hines bb6f331c75
Cleared up issue with parsing ints
+ Endianness was all out of whack
+ Everything is currently handled as little endian, easy to add a config for endianness later
+ num-bigint comes in clutch, it now handles the shifting of bits
2021-10-09 13:58:41 -06:00
Joey Hines 6daf3a55f2
Added examples and better error reporting
+ The field that errors is now reported
+ The formats/ dir contains all predefined formats
  + Includes CCSDS packet for now
+ There appears to be an issue with bit formatting, the APID field is not being parsed correctly (upper 8 bits is not being factored in
2021-10-09 10:57:34 -06:00