obdii 2.1.0.0
OBDII Device Settings

Settings for registers of OBDII Click driver. More...

Macros

#define OBDII_CMD_FIRMWARE_VERSION   "ATI"
 OBDII control commands.
 
#define OBDII_CMD_DISABLE_ECHO   "ATE0"
 
#define OBDII_CMD_ENABLE_ECHO   "ATE1"
 
#define OBDII_CMD_AUTO_PROTOCOL   "ATSP0"
 
#define OBDII_CMD_SPACES_OFF   "ATS0"
 
#define OBDII_CMD_RESET_DEFAULT   "ATD"
 
#define OBDII_CMD_RESET_DEVICE   "ATZ"
 
#define OBDII_CMD_GET_CURRENT_RPM   "010C"
 
#define OBDII_CMD_GET_CURRENT_SPEED   "010D"
 
#define OBDII_RSP_OK   "OK"
 OBDII device response for AT commands.
 
#define OBDII_RSP_UNKNOWN_CMD   "ERROR"
 
#define OBDII_RSP_PROMPT   ">"
 
#define OBDII_RSP_CURRENT_RPM   "410C"
 
#define OBDII_RSP_CURRENT_SPEED   "410D"
 
#define OBDII_TX_DRV_BUFFER_SIZE   100
 OBDII driver buffer size.
 
#define OBDII_RX_DRV_BUFFER_SIZE   300
 

Detailed Description

Settings for registers of OBDII Click driver.

Macro Definition Documentation

◆ OBDII_CMD_AUTO_PROTOCOL

#define OBDII_CMD_AUTO_PROTOCOL   "ATSP0"

◆ OBDII_CMD_DISABLE_ECHO

#define OBDII_CMD_DISABLE_ECHO   "ATE0"

◆ OBDII_CMD_ENABLE_ECHO

#define OBDII_CMD_ENABLE_ECHO   "ATE1"

◆ OBDII_CMD_FIRMWARE_VERSION

#define OBDII_CMD_FIRMWARE_VERSION   "ATI"

OBDII control commands.

Specified setting for control commands of OBDII Click driver.

◆ OBDII_CMD_GET_CURRENT_RPM

#define OBDII_CMD_GET_CURRENT_RPM   "010C"

◆ OBDII_CMD_GET_CURRENT_SPEED

#define OBDII_CMD_GET_CURRENT_SPEED   "010D"

◆ OBDII_CMD_RESET_DEFAULT

#define OBDII_CMD_RESET_DEFAULT   "ATD"

◆ OBDII_CMD_RESET_DEVICE

#define OBDII_CMD_RESET_DEVICE   "ATZ"

◆ OBDII_CMD_SPACES_OFF

#define OBDII_CMD_SPACES_OFF   "ATS0"

◆ OBDII_RSP_CURRENT_RPM

#define OBDII_RSP_CURRENT_RPM   "410C"

◆ OBDII_RSP_CURRENT_SPEED

#define OBDII_RSP_CURRENT_SPEED   "410D"

◆ OBDII_RSP_OK

#define OBDII_RSP_OK   "OK"

OBDII device response for AT commands.

Device response after commands.

◆ OBDII_RSP_PROMPT

#define OBDII_RSP_PROMPT   ">"

◆ OBDII_RSP_UNKNOWN_CMD

#define OBDII_RSP_UNKNOWN_CMD   "ERROR"

◆ OBDII_RX_DRV_BUFFER_SIZE

#define OBDII_RX_DRV_BUFFER_SIZE   300

◆ OBDII_TX_DRV_BUFFER_SIZE

#define OBDII_TX_DRV_BUFFER_SIZE   100

OBDII driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.