Add get_dtc_info

This commit is contained in:
Robert Sammelson 2023-05-13 19:50:05 -04:00
parent 4139dcea60
commit 4d08a680d1
No known key found for this signature in database
GPG key ID: 92F1F04EDB06B9E9
2 changed files with 37 additions and 0 deletions

View file

@ -5,6 +5,7 @@ fn main() {
let mut device = obd2::Obd2::default();
println!("VIN: {:?}", device.get_vin());
println!("DTC Info: {:#?}", device.get_dtc_info());
let dtcs = device.get_dtcs();
println!("DTCs: {:?}", dtcs);