Commit Graph

15 Commits (ddcfb9b1742aa87685f2b7ae514ccecf77002753)

Author SHA1 Message Date
Joey Hines ddcfb9b174
Updated README.md [CI SKIP] 2022-04-09 13:51:30 -06:00
Joey Hines a1d51d08ef
Added Woodpecker CI support
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-04-09 13:44:24 -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 6407335362
Fmt + Clippy 2022-04-09 12:40:37 -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 2697b4b848
Added README.md LICENSE.md
+ Also made --help more useful
2021-10-09 14:09:21 -06:00
Joey Hines ef8918d517
fmt + clippy 2021-10-09 14:00:49 -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
Joey Hines 4e9f4bff1d
Added string and bytes formatting
+ String fields are always null terminated and have a max length
+ Byte fields are made of raw bytes, and read data until they hit a max length or the end of data is reached
2021-10-09 10:05:32 -06:00
Joey Hines 652682cb19
Added floating point formatting
+ Supports single and double precession formatting
+ Added Error handling from the formatting functions
2021-10-09 09:30:02 -06:00
Joey Hines 9e5b0aafbd
Int formatting working
+ Using num-bigint to support arbitrarily sized ints
+ Added formatting tests
2021-10-09 08:42:17 -06:00
Joey Hines b85ba31f91
Initial Commit
+ Basic implementation working with just unsigned ints
+ Can fetch data from arbitrary bit positions in a byte string
+ TOML config implementation for describing data
+ Simple CLI
2021-09-11 12:21:34 -06:00