The baud rate of the serial communication is 38400bps. All commands and responses are terminated with \r (ASCII: 0xd). Currently the command-set contains following commands.

ATZ

  • Function: initializing the emulator
  • Response: the name and version of the emulator

ATR

  • Function: resetting the emulator
  • Response: the name and version of the emulator

ATE0/ATE1

  • Function: turning off/on character echoing
  • Response: OK

ATBUS [Protocol]

  • Function: changing the simulated protocol (default is CAN bus 11-bit/500Kbps)
  • Argument: a string that specifies the protocol which can be one of the following:
    • CAN_11B_500K
    • CAN_29B_500K
    • CAN_11B_250K
    • CAN_29B_250K
    • KWP2000_FAST
    • KWP2000_5BPS
    • ISO9141_2
    • J1850_PWM
    • J1850_VPW
  • Response: OK or Error

ATSET DTC=[Mode 03 Trouble Codes]

  • Function: setting mode 03 DTC (about the codes)
  • Argument: series of Mode 03 DTCs separated by comma (up to 6)
  • Response: OK or Error
  • Example: ATSET DTC=P0105,P0106

ATSET DTC7=[Mode 07 Trouble Codes]

  • Function: setting mode 07 DTC (about the codes)
  • Argument: series of Mode 07 DTCs separated by comma (up to 6)
  • Response: OK or Error
  • Example: ATSET DTC7=P0105,P0106

ATSET DTCA=[Mode 0A Trouble Code]

  • Function: setting mode 07 DTC / permanent DTC (about the codes)
  • Argument: series of Mode 07 DTCs separated by comma (up to 6)
  • Response: OK or Error
  • Example: ATSET DTCA=P0105,P0106

ATCLR DTC

  • Function: clear all DTC

ATSET VIN=[Vehicle Identification Number]

ATVIN0 / ATVIN1

  • Function: enable/disable VIN response

ATSET [PID]=[Value]
ATSET [PID]=[A],[B],[C],[D]…

  • Function: setting the value of an OBD-II PID
  • Arguments:
    • PID: a 4-digit HEX number specifying an OBD-II PID
    • Value: the value of the OBD-II PID in decimal or in HEX (raw data)
  • Examples:
    • ATSET 010C=2000 (setting RPM to 2000)
    • ATSET 010C=0x31,0x64 (also setting RPM to 2000 with raw byte data)
  • Response: OK or Error

ATGET [PID]

  • Function: retrieving the current value of an OBD-II PID
  • Argument: a 4-digit HEX number specifying an OBD-II PID
  • Response: The raw HEX data of the requested OBD-II PID

ATACC0 / ATACC1

  • Function: emulating ignition OFF / ON
  • Response: OK
  • Note: this does not emulate any voltage change caused by ignition switching

ATINF0 / ATINF1

  • Function: enable/disable debug information output