Commit Graph

5 Commits (6daf3a55f27e68310aceb1ddfe12fdf6d6704f0b)

Author SHA1 Message Date
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