Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • OBD

Index

Constructors

constructor

  • new OBD(pidList: any): OBD

Properties

Private _dataReceived

_dataReceived: string

Private _deviceCommands

_deviceCommands: any

Private _pidList

_pidList: any

Methods

parseCommand

  • Parses a hexadecimal string to a reply object. Uses PIDS.

    Parameters

    • hexString: string

      Hexadecimal value in string that is received over the serialport.

    Returns OBD2_IReplyParseCommand

    reply - The reply.

parseDataStream

  • parseDataStream(data: any, cb: any): void
  • Parse Serial data stream to PID details

    Parameters

    • data: any
    • cb: any

    Returns void

Generated using TypeDoc