Mode AT - AT Commands

AT commands are used to configure and control the ELM327 adapter.

class obdii.modes.ModeAT[source]

Bases: GroupCommands

AT Commands

REPEAT = <Command Mode.NONE  REPEAT>

Repeat the last command

BAUDRATE_DIVISOR = <Command Mode.AT <Template "BRD {hh}" ['hh']> BAUDRATE_DIVISOR>

Try Baude Rate Divisor hh

SET_BAUDRATE_TIMEOUT = <Command Mode.AT <Template "BRT {hh}" ['hh']> SET_BAUDRATE_TIMEOUT>

Set Baud Rate Timeout

TO_DEFAULT = <Command Mode.AT D TO_DEFAULT>

Set all to defaults

ECHO_OFF = <Command Mode.AT E0 ECHO_OFF>

Echo off

ECHO_ON = <Command Mode.AT E1 ECHO_ON>

Echo on

FORGET_EVENTS = <Command Mode.AT FE FORGET_EVENTS>

Forget Events

VERSION_ID = <Command Mode.AT I VERSION_ID>

Print the version ID

LINEFEED_OFF = <Command Mode.AT L0 LINEFEED_OFF>

Linefeeds off

LINEFEED_ON = <Command Mode.AT L1 LINEFEED_ON>

Linefeeds on

LOWPOWER = <Command Mode.AT LP LOWPOWER>

Go to Low Power mode

MEMORY_OFF = <Command Mode.AT M0 MEMORY_OFF>

Memory off

MEMORY_ON = <Command Mode.AT M0 MEMORY_ON>

Memory on

READ_STORED = <Command Mode.AT RD READ_STORED>

Read the stored Data

SAVE_DATA = <Command Mode.AT <Template "SD {hh}" ['hh']> SAVE_DATA>

Save Data byte hh

SOFT_RESET = <Command Mode.AT WS SOFT_RESET>

Warm Start (quick software reset)

RESET = <Command Mode.AT Z RESET>

Reset all

DESCRIPTION = <Command Mode.AT @1 DESCRIPTION>

Display device description

IDENTIFIER = <Command Mode.AT @2 IDENTIFIER>

Display device identifier

STORE_ID = <Command Mode.AT <Template "@3 {cccccccccccc}" ['cccccccccccc']> STORE_ID>

Stores the @2 device identifier

PROG_PARAM_OFF = <Command Mode.AT <Template "PP {xx:str} OFF" ['xx']> PROG_PARAM_OFF>

Disable Prog Parameter xx

PROG_PARAMS_OFF = <Command Mode.AT PP FF OFF PROG_PARAMS_OFF>

All Prog Parameters off

PROG_PARAM_ON = <Command Mode.AT <Template "PP {xx:str} ON" ['xx']> PROG_PARAM_ON>

Enable Prog Parameter xx

PROG_PARAMS_ON = <Command Mode.AT PP FF ON PROG_PARAMS_ON>

All Prog Parameters on

PROG_SET_PARAM = <Command Mode.AT <Template "PP {xx:str} SV {yy:str}" ['xx', 'yy']> PROG_SET_PARAM>

For PP xx, Set the Value to yy

PROG_SUMMARY = <Command Mode.AT PPS PROG_SUMMARY>

Print a PP Summary

CALIBRATE_VOLTAGE = <Command Mode.AT <Template "CV {dddd}" ['dddd']> CALIBRATE_VOLTAGE>

Calibrate the Voltage to dd.dd volts

RESTORE_VOLTAGE = <Command Mode.AT CV 0000 RESTORE_VOLTAGE>

Restore CV value to factory setting

READ_VOLTAGE = <Command Mode.AT RV READ_VOLTAGE>

Read the Voltage

IGN = <Command Mode.AT IGN IGN>

Read the IgnMon input level

ALLOW_LONG = <Command Mode.AT AL ALLOW_LONG>

Allow Long (>7 bytes) messages

ACTIVITY_MONITOR_COUNT = <Command Mode.AT AMC ACTIVITY_MONITOR_COUNT>

Display Activity Monitor Count

ACTIVITY_MONITOR_TIMEOUT = <Command Mode.AT <Template "AMT {hh}" ['hh']> ACTIVITY_MONITOR_TIMEOUT>

Set Activity Monitor Timeout to hh

AUTO_RECEIVE = <Command Mode.AT AR AUTO_RECEIVE>

Automatically Receive

ADAP_TIMING_OFF = <Command Mode.AT AT0 ADAP_TIMING_OFF>

Adaptive Timing off

ADAP_TIMING_1 = <Command Mode.AT AT1 ADAP_TIMING_1>

Adaptive Timing Auto1

ADAP_TIMING_2 = <Command Mode.AT AT2 ADAP_TIMING_2>

Adaptive Timing Auto2

BUFFER_DUMP = <Command Mode.AT BD BUFFER_DUMP>

Perform a Buffer Dump

BYPASS_INIT = <Command Mode.AT BI BYPASS_INIT>

Bypass the Initialization sequence

DESC_PROTOCOL = <Command Mode.AT DP DESC_PROTOCOL>

Describe the current Protocol

DESC_PROTOCOL_N = <Command Mode.AT DPN DESC_PROTOCOL_N>

Describe the Protocol by Number

FILTER_TRANSMITTER_OFF = <Command Mode.AT FT FILTER_TRANSMITTER_OFF>

Filter Transmitter off

FILTER_TRANSMITTER_ON = <Command Mode.AT <Template "FT {hh}" ['hh']> FILTER_TRANSMITTER_ON>

Filter for Transmitter = hh

HEADERS_OFF = <Command Mode.AT H0 HEADERS_OFF>

Headers off

HEADERS_ON = <Command Mode.AT H1 HEADERS_ON>

Headers on

IS_PROTOCOL_ACTIVE = <Command Mode.AT IA IS_PROTOCOL_ACTIVE>

Is the Protocol active

MONITOR_ALL = <Command Mode.AT MA MONITOR_ALL>

Monitor All

MONITOR_RECEIVER = <Command Mode.AT <Template "MR {hh}" ['hh']> MONITOR_RECEIVER>

Monitor for Receiver = hh

MONITOR_TRANSMITTER = <Command Mode.AT <Template "MT {hh}" ['hh']> MONITOR_TRANSMITTER>

Monitor for Transmitter = hh

NORMAL_LENGTH = <Command Mode.AT NL NORMAL_LENGTH>

Normal Length messages

PROTOCOL_CLOSE = <Command Mode.AT PC PROTOCOL_CLOSE>

Protocol Close

RESPONSES_OFF = <Command Mode.AT R0 RESPONSES_OFF>

Responses off

RESPONSES_ON = <Command Mode.AT R1 RESPONSES_ON>

Responses on

SET_RECEIVE_ADDR = <Command Mode.AT <Template "RA {hh}" ['hh']> SET_RECEIVE_ADDR>

Set Receive Address to hh

SPACES_OFF = <Command Mode.AT S0 SPACES_OFF>

Printing of Spaces off

SPACES_ON = <Command Mode.AT S1 SPACES_ON>

Printing of Spaces on

SET_HEADER = <Command Mode.AT <Template "SH {x}{y}{z}" ['x', 'y', 'z']> SET_HEADER>

Set Header to xyz

SET_HEADER_LONG = <Command Mode.AT <Template "SH {xx}{yy}{zz}" ['xx', 'yy', 'zz']> SET_HEADER_LONG>

Set Header to xxyyzz

SET_PROTOCOL = <Command Mode.AT <Template "SP {h}" ['h']> SET_PROTOCOL>

Set Protocol to h and save it

SET_PROTOCOL_AUTO = <Command Mode.AT <Template "SP A{h}" ['h']> SET_PROTOCOL_AUTO>

Set Protocol to Auto, h and save it

PROTOCOL_ERASE = <Command Mode.AT SP 00 PROTOCOL_ERASE>

Erase stored protocol

SET_RECEIVE_ADDR_ALT = <Command Mode.AT <Template "SR {hh}" ['hh']> SET_RECEIVE_ADDR_ALT>

Set the receive address to hh

Use Standard Search order (J1978)

SET_TIMEOUT = <Command Mode.AT <Template "ST {hh}" ['hh']> SET_TIMEOUT>

Set Timeout to hh x 4 msec

SET_TESTER_ADDR = <Command Mode.AT <Template "TA {hh}" ['hh']> SET_TESTER_ADDR>

Set Tester Address to hh

TRY_PROTOCOL = <Command Mode.AT <Template "TP {h}" ['h']> TRY_PROTOCOL>

Try Protocol h

TRY_PROTOCOL_AUTO = <Command Mode.AT <Template "TP A{h}" ['h']> TRY_PROTOCOL_AUTO>

Try Protocol h with Auto search

IFR_OFF = <Command Mode.AT IFR0 IFR_OFF>

IFRs off if not monitoring

IFR_AUTO = <Command Mode.AT IFR1 IFR_AUTO>

IFRs Auto if not monitoring

IFR_ON = <Command Mode.AT IFR2 IFR_ON>

IFRs on if not monitoring

IFR_OFF_ALWAYS = <Command Mode.AT IFR4 IFR_OFF_ALWAYS>

IFRs off at all times

IFR_AUTO_ALWAYS = <Command Mode.AT IFR5 IFR_AUTO_ALWAYS>

IFRs auto at all times

IFR_ON_ALWAYS = <Command Mode.AT IFR6 IFR_ON_ALWAYS>

IFRs on at all times

IFR_HEADER = <Command Mode.AT IFR H IFR_HEADER>

IFR value from Header

IFR_SOURCE = <Command Mode.AT IFR S IFR_SOURCE>

IFR value from Source

FAST_INIT = <Command Mode.AT FI FAST_INIT>

Perform a Fast Initiation

SET_BAUDRATE_10400 = <Command Mode.AT IB 10 SET_BAUDRATE_10400>

Set the ISO Baud rate to 10400

SET_BAUDRATE_12500 = <Command Mode.AT IB 12 SET_BAUDRATE_12500>

Set the ISO Baud rate to 12500

SET_BAUDRATE_15625 = <Command Mode.AT IB 15 SET_BAUDRATE_15625>

Set the ISO Baud rate to 15625

SET_BAUDRATE_4800 = <Command Mode.AT IB 48 SET_BAUDRATE_4800>

Set the ISO Baud rate to 4800

SET_BAUDRATE_9600 = <Command Mode.AT IB 96 SET_BAUDRATE_9600>

Set the ISO Baud rate to 9600

SET_ISO_INIT_ADDR = <Command Mode.AT <Template "IIA {hh}" ['hh']> SET_ISO_INIT_ADDR>

Set ISO (slow) Init Address to hh

KEY_WORDS = <Command Mode.AT KW KEY_WORDS>

Display the Key Words

KEY_WORD_OFF = <Command Mode.AT KW0 KEY_WORD_OFF>

Key Word checking off

KEY_WORD_ON = <Command Mode.AT KW1 KEY_WORD_ON>

Key Word checking on

SLOW_INIT = <Command Mode.AT SI SLOW_INIT>

Perform a Slow (5 baud) Initiation

SET_WAKEUP = <Command Mode.AT <Template "SW {hh}" ['hh']> SET_WAKEUP>

Set Wakeup interval to hh x 20 msec

SET_WAKEUP_STOP = <Command Mode.AT SW 00 SET_WAKEUP_STOP>

Stop sending Wakeup messages

CONFIRMATION_OFF = <Command Mode.AT C0 CONFIRMATION_OFF>

Send Confirmation off

CONFIRMATION_ON = <Command Mode.AT C1 CONFIRMATION_ON>

Send Confirmation on

FORMAT_AUTO_OFF = <Command Mode.AT CAF0 FORMAT_AUTO_OFF>

Automatic Formatting off

FORMAT_AUTO_ON = <Command Mode.AT CAF1 FORMAT_AUTO_ON>

Automatic Formatting on

CAN_EXT_ADDR_OFF = <Command Mode.AT CEA CAN_EXT_ADDR_OFF>

Turn off CAN Extended Addressing

CAN_EXT_ADDR = <Command Mode.AT <Template "CEA {hh}" ['hh']> CAN_EXT_ADDR>

Use CAN Extended Address hh

SET_CAN_EXT_ADDR_RX = <Command Mode.AT <Template "CER {hh}" ['hh']> SET_CAN_EXT_ADDR_RX>

Set CAN Extended Rx address to hh

SET_ID_FILTER = <Command Mode.AT <Template "CF {hhh}" ['hhh']> SET_ID_FILTER>

Set the ID Filter to hhh

SET_ID_FILTER_LONG = <Command Mode.AT <Template "CF {hhhhhhhh}" ['hhhhhhhh']> SET_ID_FILTER_LONG>

Set the ID Filter to hhhhhhhh

FLOW_CONTROLS_OFF = <Command Mode.AT CFC0 FLOW_CONTROLS_OFF>

Flow Controls off

FLOW_CONTROLS_ON = <Command Mode.AT CFC1 FLOW_CONTROLS_ON>

Flow Controls on

SET_ID_MASK = <Command Mode.AT <Template "CM {hhh}" ['hhh']> SET_ID_MASK>

Set the ID Mask to hhh

SET_ID_MASK_LONG = <Command Mode.AT <Template "CM {hhhhhhhh}" ['hhhhhhhh']> SET_ID_MASK_LONG>

Set the ID Mask to hhhhhhhh

SET_CAN_PRIORITY = <Command Mode.AT <Template "CP {hh}" ['hh']> SET_CAN_PRIORITY>

Set CAN Priority to hh (29 bit)

SET_CAN_ADDR = <Command Mode.AT <Template "CRA {hhh}" ['hhh']> SET_CAN_ADDR>

Set CAN Receive Address to hhh

SET_CAN_ADDR_LONG = <Command Mode.AT <Template "CRA {hhhhhhhh}" ['hhhhhhhh']> SET_CAN_ADDR_LONG>

Set CAN Receive Address to hhhhhhhh

CAN_STATUS = <Command Mode.AT CS CAN_STATUS>

Show the CAN Status counts

SILENT_MONITORING_OFF = <Command Mode.AT CSM0 SILENT_MONITORING_OFF>

Silent Monitoring off

SILENT_MONITORING_ON = <Command Mode.AT CSM1 SILENT_MONITORING_ON>

Silent Monitoring on

SET_TIMER_MULTIPLIER_1 = <Command Mode.AT CTM1 SET_TIMER_MULTIPLIER_1>

Set Timer Multiplier to 1

SET_TIMER_MULTIPLIER_5 = <Command Mode.AT CTM5 SET_TIMER_MULTIPLIER_5>

Set Timer Multiplier to 5

DLC_OFF = <Command Mode.AT D0 DLC_OFF>

Display of the DLC off

DLC_ON = <Command Mode.AT D1 DLC_ON>

Display of the DLC on

SET_FLOW_CONTROL_MODE = <Command Mode.AT <Template "FC SM {h}" ['h']> SET_FLOW_CONTROL_MODE>

Flow Control, Set the Mode to h

SET_FLOW_CONTROL_HEADER = <Command Mode.AT <Template "FC SH {hhh}" ['hhh']> SET_FLOW_CONTROL_HEADER>

Flow Control, Set the Header to hhh

SET_FLOW_CONTROL_HEADER_LONG = <Command Mode.AT <Template "FC SH {hhhhhhhh}" ['hhhhhhhh']> SET_FLOW_CONTROL_HEADER_LONG>

Flow Control, Set the Header to hhhhhhhh

PROTOCOL_B_BAUDRATE = <Command Mode.AT <Template "PB {xx} {yy}" ['xx', 'yy']> PROTOCOL_B_BAUDRATE>

Protocol B options and baud rate

RTR_MESSAGE = <Command Mode.AT RTR RTR_MESSAGE>

Send an RTR message

VARIABLE_DLC_OFF = <Command Mode.AT V0 VARIABLE_DLC_OFF>

Use of Variable DLC off

VARIABLE_DLC_ON = <Command Mode.AT V1 VARIABLE_DLC_ON>

Use of Variable DLC on

MONITOR_DM1 = <Command Mode.AT DM1 MONITOR_DM1>

Monitor for DM1 messages

FORMAT_ELM = <Command Mode.AT JE FORMAT_ELM>

Use J1939 Elm data format

FORMAT_HEADER_OFF = <Command Mode.AT JHF0 FORMAT_HEADER_OFF>

Header Formatting off

FORMAT_HEADER_ON = <Command Mode.AT JHF1 FORMAT_HEADER_ON>

Header Formatting on

FORMAT_SAE = <Command Mode.AT JS FORMAT_SAE>

Use J1939 SAE data format

J_SET_TIMER_MULTIPLIER_1 = <Command Mode.AT JTM1 J_SET_TIMER_MULTIPLIER_1>

Set timer multiplier to 1

J_SET_TIMER_MULTIPLIER_5 = <Command Mode.AT JTM5 J_SET_TIMER_MULTIPLIER_5>

Set timer multiplier to 5

MONITOR_PGN = <Command Mode.AT <Template "MP {hhhh}" ['hhhh']> MONITOR_PGN>

Monitor for PGN 0hhhh

MONITOR_PGN_N = <Command Mode.AT <Template "MP {hhhh} {n}" ['hhhh', 'n']> MONITOR_PGN_N>

“ “ and get n messages

MONITOR_PGN_LONG = <Command Mode.AT <Template "MP {hhhhhh}" ['hhhhhh']> MONITOR_PGN_LONG>

Monitor for PGN hhhhhh

MONITOR_PGN_LONG_N = <Command Mode.AT <Template "MP {hhhhhh} {n}" ['hhhhhh', 'n']> MONITOR_PGN_LONG_N>

“ “ and get n messages