C# Class Sample.ObdComm

ファイルを表示 Open project: mkelly/J2534DotNet Class Usage Examples

Public Methods

Method Description
ClearFaults ( ) : bool
ConnectIso15765 ( ) : bool
DetectProtocol ( ) : bool
Disconnect ( ) : bool
GetAllPidValues ( ) : string[]
GetAvailableObdPids ( List &availablePids ) : bool
GetBatteryVoltage ( double &voltage ) : bool
GetFaults ( string &faults ) : bool
GetLastError ( ) : J2534Err
GetObdPidValue ( string pidName ) : string
GetVin ( string &vin ) : bool
IsConnected ( ) : bool
ObdComm ( IJ2534Extended j2534Interface ) : System

Private Methods

Method Description
GetAvailableObdPidsAt ( byte start, List &availablePids ) : void
ReadObdPid ( byte mode, byte pid, ProtocolID protocolId, List &value ) : bool

Method Details

ClearFaults() public method

public ClearFaults ( ) : bool
return bool

ConnectIso15765() public method

public ConnectIso15765 ( ) : bool
return bool

DetectProtocol() public method

public DetectProtocol ( ) : bool
return bool

Disconnect() public method

public Disconnect ( ) : bool
return bool

GetAllPidValues() public method

public GetAllPidValues ( ) : string[]
return string[]

GetAvailableObdPids() public method

public GetAvailableObdPids ( List &availablePids ) : bool
availablePids List
return bool

GetBatteryVoltage() public method

public GetBatteryVoltage ( double &voltage ) : bool
voltage double
return bool

GetFaults() public method

public GetFaults ( string &faults ) : bool
faults string
return bool

GetLastError() public method

public GetLastError ( ) : J2534Err
return J2534Err

GetObdPidValue() public method

public GetObdPidValue ( string pidName ) : string
pidName string
return string

GetVin() public method

public GetVin ( string &vin ) : bool
vin string
return bool

IsConnected() public method

public IsConnected ( ) : bool
return bool

ObdComm() public method

public ObdComm ( IJ2534Extended j2534Interface ) : System
j2534Interface IJ2534Extended
return System