Go to the source code of this file.
Classes | |
| struct | otto_device |
| OBD2 data link device. More... | |
| struct | otto_bus |
| Otto data link bus interface. More... | |
| struct | otto_driver |
| OBD2 physical interface device driver. More... | |
Enumerations | |
| enum | otto_link_type { OTTO_LINK_TYPE_UNKNOWN = 0, OTTO_LINK_TYPE_ISO, OTTO_LINK_TYPE_VPW, OTTO_LINK_TYPE_PWM } |
| OBD2 data link type. More... | |
Functions | |
| void | otto_register (struct otto_driver *drv) |
| Register a device driver. | |
| otto_device * | otto_open (const char *name, const char *fname) |
| Open and initialize OBD2 device. | |
| int | otto_close (struct otto_device *dev) |
| Close ODB2 device. | |
| int | otto_write (struct otto_device *dev, int bus, union otto_packet *packet, size_t size) |
| Transmit a packet on an OBD2 device. | |
| int | otto_read (struct otto_device *dev, int bus, union otto_packet *packet, size_t size) |
| Receive a packet on an OBD2 device. | |
| int | otto_control (struct otto_device *dev, int bus, void *data, int cmd) |
| Control for device. | |
| int | otto_getselectfd (struct otto_device *dev) |
| Return a file descriptor for select() or poll(). | |
|
|
OBD2 data link type.
|
|
|
Close ODB2 device.
|
|
||||||||||||||||||||
|
Control for device.
|
|
|
Return a file descriptor for select() or poll().
|
|
||||||||||||
|
Open and initialize OBD2 device.
|
|
||||||||||||||||||||
|
Receive a packet on an OBD2 device.
|
|
|
Register a device driver.
|
|
||||||||||||||||||||
|
Transmit a packet on an OBD2 device.
|
1.3.7