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:
4 files changed
+68
-7
No files matched your search
+1
-1
@@ -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")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user