|
| enum | ObdError {
NODATA =0,
NOTCONNECTED,
OTHER,
SERIALWRITEERROR,
SERIALREADERROR,
TIMEOUT,
NONE
} |
| |
| enum | DebugLevel {
DEBUG_VERY_VERBOSE =0,
DEBUG_VERBOSE =1,
DEBUG_INFO =2,
DEBUG_WARN =3,
DEBUG_ERROR =4,
DEBUG_FATAL =5
} |
| |
|
|
int | openPort (const char *portName, int baudrate) |
| |
|
int | openPort (const int fd, int baudrate) |
| |
|
int | openPort (const char *portName) |
| |
|
void | setPortHandle (HANDLE hdnl) |
| |
|
int | initPort () |
| |
|
int | closePort () |
| |
|
bool | connected () |
| |
|
void | flush () |
| |
|
void | setDebugCallback (void(*callbackptr)(const char *, void *, obdLib::DebugLevel), void *) |
| |
|
void | setCommsCallback (void(*callbackptr)(const char *, void *), void *) |
| |
|
std::string | monitorModeReadLine () |
| |
|
std::string | getVersion () |
| |
|
bool | sendObdRequest (const char *req, int len, std::vector< byte > *reply) |
| |
|
bool | sendObdRequest (const char *req, int length, std::vector< byte > *reply, int sleep, int timeout) |
| |
|
bool | sendObdRequestString (const char *req, int len, std::vector< byte > *reply, int sleeptime) |
| |
|
bool | sendObdRequestString (const char *req, int length, std::vector< byte > *reply, int sleeptime, int timeout) |
| |
|
bool | sendObdRequestString (const char *req, int len, std::vector< byte > *reply) |
| |
|
bool | sendObdRequest (const char *req, int len) |
| |
|
bool | sendObdRequest (const char *req, int len, int timeout) |
| |
|
ObdError | lastError () |
| |
|
|
static byte | byteArrayToByte (byte b1, byte b2) |
| |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/automotive-message-broker-0.15/plugins/obd2plugin/obdlib.h