RVS_BTDriver_OBD_ELM327_AT_Command
internal enum RVS_BTDriver_OBD_ELM327_AT_Command : String
This enum is used to define OBD Commands As Strings.
-
This applies to the “General” group of commands.
Declaration
Swift
case getDeviceDescription = "AT@1" -
Return the device ID (no parameters)
Declaration
Swift
case getDeviceIdentifier = "AT@2" -
Set the device ID (Character String -Up to 12 ASCII Characters)
Declaration
Swift
case setDeviceIdentifier = "AT@3 %@" -
Set the Baud Rate Divisor (Up to 2 hex digits)
Declaration
Swift
case setBaudRateDivisor = "ATBRD %02x" -
Set the Baud Rate Rate Handshake Timeout (Up to 2 hex digits)
Declaration
Swift
case setBaudRateHandshakeTimeout = "ATBRT %02x" -
Restore the OBD Device to Defaults (no parameters)
Declaration
Swift
case restoreToDefaults = "ATD" -
Turn echo on (no parameters)
Declaration
Swift
case turnEchoOn = "ATE1" -
Turn Echo Off (no parameters)
Declaration
Swift
case turnEchoOff = "ATE0" -
Flush All Events (no parameters)
Declaration
Swift
case flushAllEvents = "ATFE" -
Return the unit ID (no parameters)
Declaration
Swift
case getID = "ATI" -
Turn on Linefeeds (no parameters)
Declaration
Swift
case turnLinefeedsOn = "ATL1" -
Turn Off Linefeeds (no parameters)
Declaration
Swift
case turnLinefeedsOff = "ATL0" -
Turn On Low Power Mode (no parameters)
Declaration
Swift
case turnLowPowerModeOn = "ATLP" -
Turn On Memory (no parameters)
Declaration
Swift
case turnMemoryOn = "ATM1" -
Turn Off Memory (no parameters)
Declaration
Swift
case turnMemoryOff = "ATM0" -
Return Stored Data In Memory (no parameters)
Declaration
Swift
case fetchStoredData = "ATRD" -
Store 1 Byte of Data in Memory (Up to 2 Hex Digits)
Declaration
Swift
case storeData = "ATSD %02x" -
Perform a “Warm Start” (no parameters)
Declaration
Swift
case warmStart = "ATWS" -
Reset All (no parameters)
Declaration
Swift
case resetAll = "ATZ"
-
This applies to the “OBD” group of commands.
Declaration
Swift
case useLongMessages = "ATAL" -
Use Short <= 7Bytes) Messages (no parameters)
Declaration
Swift
case useShortMessages = "ATNL" -
Enable Automatic Receive (no parameters)
Declaration
Swift
case autoReceive = "ATAR" -
Enable Adaptive Timing Auto Mode 1 (no parameters)
Declaration
Swift
case useAdaptiveTimingMode1 = "ATAT1" -
Enable Adaptive Timing Auto Mode 1 (no parameters)
Declaration
Swift
case useAdaptiveTimingMode2 = "ATAT2" -
Turn Adaptive Timing Off (no parameters)
Declaration
Swift
case turnAdaptiveTimingOff = "ATAT0" -
Return a Buffer Dump (no parameters)
Declaration
Swift
case bufferDump = "ATBD" -
Bypass the Initialization Sequence (no parameters)
Declaration
Swift
case bypassInitialization = "ATBI" -
Describe the Current Protocol (no parameters)
Declaration
Swift
case describeCurrentProtocol = "ATDP" -
Describe the Current Protocol as a Number (no parameters)
Declaration
Swift
case describeProtocolByNumber = "ATDPN" -
Turn Headers On (no parameters)
Declaration
Swift
case turnHeadersOn = "ATH1" -
Turn Headers Off (no parameters)
Declaration
Swift
case turnHeadersOff = "ATH0" -
Monitor All (no parameters)
Declaration
Swift
case monitorAll = "ATMA" -
Set the Monitor for Receiver (Up to 2 Hex Digits)
Declaration
Swift
case setMonitorForReceiver = "ATMR %02x" -
Set the Monitor for Transmitter (Up to 2 Hex Digits)
Declaration
Swift
case setMonitorForTransmitter = "ATMT %02x" -
Set the Protocol (1 Hex Digit)
Declaration
Swift
case setProtocol = "ATSP %01x" -
Set Protocol (Alternate Try -1 Hex Digit)
Declaration
Swift
case setProtocol2 = "ATTP %01x" -
Set Auto Protocol (1 hex Digit)
Declaration
Swift
case setAutoProtocol = "ATSP A%01x" -
Set Auto Protocol (Alternate Try -1 Hex Digit)
Declaration
Swift
case setAutoProtocol2 = "ATTP A%01x" -
Use Auto Protocol (no parameters)
Declaration
Swift
case useAutoProtocol = "ATSP 00" -
Close the Protocol (no parameters)
Declaration
Swift
case closeProtocol = "ATPC" -
Turn Responses On (no parameters)
Declaration
Swift
case turnResponsesOn = "ATR1" -
Turn Responses Off (no parameters)
Declaration
Swift
case turnResponsesOff = "ATR0" -
Set the Receive Address (Up to 2 Hex Digits)
Declaration
Swift
case setReceiveAddress = "ATRA %02x" -
Set the Receive Address (Alternate Command -Up to 2 Hex Digits)
Declaration
Swift
case setReceiveAddress2 = "ATSR %02x" -
Turn On Print Spaces (no parameters)
Declaration
Swift
case turnPrintSpacesOn = "ATS1" -
Turn Off Print Spaces (no parameters)
Declaration
Swift
case turnPrintSpacesOff = "ATS0" -
Set Header (1 Hex Digit, and 2 Hex Digits)
Declaration
Swift
case setHeader1 = "ATSH %01x%02x" -
Set Header (3 Groups of 2 Hex Digits)
Declaration
Swift
case setHeader2 = "ATSH %02x %02x %02x" -
Set Standard (J1978) Search Order (no parameters)
Declaration
Swift
case useStandardSearchOrder = "ATSS" -
Set Tester Address (Up to 2 Hex Digits)
Declaration
Swift
case setTesterAddress = "ATTA %02x" -
Set Timeout to Multiples of 4ms (Up to 2 Hex Digits)
Declaration
Swift
case setTimeOutBy4MillisecondIntervals = "ATST %02x"
-
This applies to the “CAN” group of commands.
Declaration
Swift
case turnCANAutoFormattingOn = "ATCAF1" -
Turn CAN Auto-Formatting Off (no parameters)
Declaration
Swift
case turnCANAutoFormattingOff = "ATCAF0" -
Turn on CAN Extended Addressing, and Set it to the Given Value (Up to 2 Hex Digits)
Declaration
Swift
case setCANExtendedAddressing = "ATCEA %02x" -
Turn CAN Extended Addressing Off (no parameters)
Declaration
Swift
case turnOffCANExtendedAddressing = "ATCEA" -
Set the ID Filter (3 Hex Digits -1, and 2)
Declaration
Swift
case setIDFilter1 = "ATCF %01x%02x" -
Set the ID Filter (4 Groups of 2 Hex Digits)
Declaration
Swift
case setIDFilter2 = "ATCF %02x %02x %02x %02x" -
Turn CAN Flow Control On (no parameters)
Declaration
Swift
case turnCANFlowControlOn = "ATCFC1" -
Turn CAN Flow Control Off (no parameters)
Declaration
Swift
case turnCANFlowControlOff = "ATCFC0" -
Turn CAN Silent Mode On (no parameters)
Declaration
Swift
case turnCANSilentModeOn = "ATCSM1" -
Turn CAN Silent Mode Off (no parameters)
Declaration
Swift
case turnCANSilentModeOff = "ATCSM0" -
Turn DLC Display On (no parameters)
Declaration
Swift
case turnDLCDisplayOn = "ATD0" -
Turn DLC Display Off (no parameters)
Declaration
Swift
case turnDLCDisplayOff = "ATD1" -
Set the CAN Flow Control Data (Up to 5 Hex Bytes -10 Digits)
Declaration
Swift
case setFlowControlData = "ATFC SD %010x" -
Set the CAN Flow Control Header (4 Groups of 2 Hex Digits)
Declaration
Swift
case setFlowControlHeader = "ATFC SH %02x %02x %02x %02x" -
Set the CAN Flow Control Mode (1 Hex Digit)
Declaration
Swift
case setFlowControlMode = "ATFC SM %01x" -
Set the Protocol B Options and Baud Rate (2 Groups of 2 Hex Digits)
Declaration
Swift
case setProtocolBOptionsAndBaudRate = "ATPB %02x %02x" -
Send an RTR Message (no parameters)
Declaration
Swift
case rtrMessage = "ATRTR" -
Turn the Variable DLC On (no parameters)
Declaration
Swift
case turnVariableDLCOn = "ATV1" -
Turn the Variable DLC Off (no parameters)
Declaration
Swift
case turnVariableDLCOff = "ATV0"
-
This applies to the “Volts” group of commands.
Declaration
Swift
case setCalibratingVoltage = "ATCV %.2f" -
Reset the Calibration Voltage (no parameters)
Declaration
Swift
case resetCalibratingVoltage = "ATCV 0000"
-
This applies to the “J1939” group of commands.
Declaration
Swift
case monitorForDM1Messages = "ATDM1" -
Use ELM Data Format (no parameters)
Declaration
Swift
case useElmDataFormat = "ATJE" -
Use SAE Data Format (no parameters)
Declaration
Swift
case useSAEDataFormat = "ATJS" -
Turn Header Formatting On (no parameters)
Declaration
Swift
case turnJ1939HeaderFormattingOn = "ATJHF1" -
Turn Header Formatting Off (no parameters)
Declaration
Swift
case turnJ1939HeaderFormattingOff = "ATJHF0" -
Use the 1X Timer Multiplier (no parameters)
Declaration
Swift
case use1XTimerMultiplier = "ATJTM1" -
Use the 5X Timer Multiplier (no parameters)
Declaration
Swift
case use5XTimerMultiplier = "ATJTM5" -
Set the PGN Monitor (Up to 4 Hex Digits)
Declaration
Swift
case setPGNMonitor1 = "ATMP %04x" -
Set the PGN Monitor (Up to six Hex Digits)
Declaration
Swift
case setPGNMonitor2 = "ATMP %06x" -
Set the PGN Monitor (Up to 4 Hex Digits, and 1 Hex Digit)
Declaration
Swift
case setPGNMonitorGetMessages = "ATMP %04x %01x"
-
This applies to the “J1850” group of commands.
Declaration
Swift
case getIFRValueFromHeader = "ATIFR H" -
The IFR Value Should be Set From the Source (no parameters)
Declaration
Swift
case getIFRValueFromSource = "ATIFR S" -
Turn IFRs On (no parameters)
Declaration
Swift
case turnIFRsOn = "ATIFR2" -
Turn On IFRs, and Set to Auto (no parameters)
Declaration
Swift
case useIFRsAuto = "ATIFR1" -
Turn IFRs Off (no parameters)
Declaration
Swift
case turnIFRsOff = "ATIFR0"
-
This applies to the “ISO” group of commands.
Declaration
Swift
case isoBaudRate10400 = "ATIB 10" -
Try to Set Baud Rate to 4800 (no parameters)
Declaration
Swift
case isoBaudRate4800 = "ATIB 48" -
Try to Set Baud Rate to 9600 (no parameters)
Declaration
Swift
case isoBaudRate9600 = "ATIB 96" -
Set the ISO Initial Address (Up to 2 Hex Digits)
Declaration
Swift
case setISOInitAddress = "ATIIA %02x" -
Display Keywords (no parameters)
Declaration
Swift
case displayKeywords = "ATKW" -
Turn Keyword Checking On (no parameters)
Declaration
Swift
case turnKeywordCheckingOn = "ATKW1" -
Turn Keyword Checking Off (no parameters)
Declaration
Swift
case turnKeywordCheckingOff = "ATKW0" -
Perform a Slow Initiation (no parameters)
Declaration
Swift
case performSlowInitiation = "ATSI" -
Set the Wakeup Interval to Multiple of 4ms (Up to 2 Hex Digits)
Declaration
Swift
case setWakeupIntervalMultiplerBy20ms = "ATSW %02x" -
Set the Wakeup Message (Up to 6 Bytes -12 Hex Digits)
Declaration
Swift
case setWakeupMessage = "ATWM %012x"
-
This applies to the “PPs” group of commands.
Declaration
Swift
case turnAllPPsProgParametersOn = "ATPP FF ON" -
Turn Off All Program Parameters (no parameters)
Declaration
Swift
case turnAllPPsProgParametersOff = "ATPP FF OFF" -
Turn On the Given Program Parameter (Up to 2 Hex Digits)
Declaration
Swift
case setPPsProgParameterOn = "ATPP %02x ON" -
Turn On the Given Program Parameter (Up to 2 Hex Digits)
Declaration
Swift
case setPPsProgParameterOff = "ATPP %02x OFF" -
Set the Given Program Parameter to the Given Value (2 Sets of 2 Hex Digits)
Declaration
Swift
case setPPsProgParameterValue = "ATPP %02x SV %02x" -
Return a PPs Summary (no parameters)
Declaration
Swift
case ppSummary = "ATPPS"
View on GitHub
RVS_BTDriver_OBD_ELM327_AT_Command Enumeration Reference