Struct ecu_diagnostics::hardware::passthru::PassthruDevice [−][src]
pub struct PassthruDevice { /* fields omitted */ }
Expand description
Passthru device
Trait Implementations
Creates an ISO-TP channel on the devices. This channel will live for as long as the hardware trait. Upon being dropped, the channel will automatically be closed, if it has been opened. Read more
Creates a CAN Channel on the devices. This channel will live for as long as the hardware trait. Upon being dropped, the channel will automatically be closed, if it has been opened. Read more
Tries to read battery voltage from Pin 16 of an OBD port (+12V). This is mainly used by diagnostic adapters, and is purely optional Should the adapter not support this feature, std::option::Option::None is returned Read more
Returns a list of hardware capabilities
Lists all scanned devices. This does not necessarily mean that the hardware can be used, just that the system known it exists. For instance, Passthru API uses the registry to scan for devices, but these devices might not actually be plugged into the computer at the time of the request Read more
Tries to open a device by a specific index from the [list_devices] function.
Tries to open a device given the devices name