Woman, Life, Freedom |
|
OBD-II Emulator
Linux ODB-II Emulator public and protected interfaces documentation
|
A class that routes OBD queries to their corresponding services. More...
#include <obd_emulator.h>
Public Member Functions | |
| ObdEmulator (CommunicationLayer *communicationLayer, const CanDriver *canDriver, std::initializer_list< ObdService * > obdServices) | |
| Constructor. More... | |
| bool | TryStart () |
| Try to start the emulation. More... | |
| bool | TryStartAsync () |
| Try to start the emulation for asynchrous data handling. More... | |
| bool | TryStop () |
| Try to stop the emulation. More... | |
A class that routes OBD queries to their corresponding services.
| ObdEmulator::ObdEmulator::ObdEmulator | ( | CommunicationLayer * | communicationLayer, |
| const CanDriver * | canDriver, | ||
| std::initializer_list< ObdService * > | obdServices | ||
| ) |
Constructor.
| communicationLayer | CAN communication medium abstraction layer |
| canDriver | CAN USB to serial communication driver |
| obdServices | Supported OBD-II services during the emulation |
| bool ObdEmulator::ObdEmulator::TryStart | ( | ) |
Try to start the emulation.
| bool ObdEmulator::ObdEmulator::TryStartAsync | ( | ) |
Try to start the emulation for asynchrous data handling.
| bool ObdEmulator::ObdEmulator::TryStop | ( | ) |
Try to stop the emulation.