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
This commit is contained in:
joeyahines committed 2021-10-09 10:57:34 -06:00
1 parent 4e9f4bff1d
commit 6daf3a55f2
4 files changed
+68 -7

No files matched your search

+1 -1
View File
@@ -35,6 +35,6 @@ fn main() {
match format.format_data(&data) {
Ok(data_str) => println!("{}", data_str),
Err(e) => println!("Unable to format data: {}", e)
Err(_) => println!("Error formatting data")
}
}