Commit Graph

13 Commits (main)

Author SHA1 Message Date
Joey Hines a09cd383e9
Added back in data field
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
2024-04-29 20:25:32 -06:00
Joey Hines 33aec25566
Removed broken CCSDS w/ secondary header
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
2024-04-29 19:42:37 -06:00
Joey Hines 333a92b729
Added a string printer and updated README
ci/woodpecker/push/woodpecker Pipeline failed Details
+ Fixed a unit test as well
2024-04-28 15:33:19 -06:00
Joey Hines 3274386ccf
Added support for layered formats
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
+ Formats can include sub-formats of previously defined formats
+ This search is done post config building so any format in the global config can be used
+ Clippy + fmt
2022-06-19 14:08:37 -06:00
Joey Hines f2cec4c89e
Added file input + stdin support
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
+ Files/stdin input can be binary or ascii
+ Handles piping from other programs
+ Misc test fixes
+ Updated readme
+ clippy + fmt
2022-05-07 18:35:06 -06:00
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