Serialport Support

- allow communication to elm327 device via a serialport
- allow creation of elm327 device without requiring unwrap()
- added some extra documentation
- expose reset() functionality of device
- serial_comm and ftdi_comm abstractions added
This commit is contained in:
Nicholas Orlowsky 2025-05-23 18:41:49 -04:00
parent db4b4d990d
commit 821e80aaaf
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
14 changed files with 213 additions and 60 deletions

View file

@ -8,6 +8,11 @@ edition = "2021"
[dependencies]
env_logger = "0.10"
ftdi = "0.1.3"
log = "0.4.8"
thiserror = "1.0.15"
ftdi = { version = "0.1.3", optional = true }
serialport= { version = "=4.6.1", optional = true }
[features]
ftdi_comm = [ "dep:ftdi" ]
serialport_comm = [ "dep:serialport" ]