last before fix

This commit is contained in:
Nicholas Orlowsky 2025-03-18 17:13:03 -04:00
parent 0994648ed1
commit ab604f3c51
2 changed files with 244 additions and 0 deletions

View file

@ -48,6 +48,10 @@ impl<T: Obd2BaseDevice> Obd2<T> {
Ok(device)
}
pub fn reset(&mut self) -> Result<()> {
Ok(self.device.reset()?)
}
fn command(&mut self, command: &[u8]) -> Result<Vec<Vec<u8>>> {
let response = self
.device