public class

DiagnosticResponse

extends DiagnosticMessage
java.lang.Object
   ↳ com.openxc.messages.VehicleMessage
     ↳ com.openxc.messages.KeyedMessage
       ↳ com.openxc.messages.DiagnosticMessage
         ↳ com.openxc.messages.DiagnosticResponse

Class Overview

A diagnostic response message from the vehicle interface.

Summary

Nested Classes
enum DiagnosticResponse.NegativeResponseCode  
[Expand]
Inherited Constants
From class com.openxc.messages.DiagnosticMessage
From class com.openxc.messages.VehicleMessage
From interface android.os.Parcelable
[Expand]
Inherited Fields
From class com.openxc.messages.DiagnosticMessage
From class com.openxc.messages.VehicleMessage
Public Constructors
DiagnosticResponse(int busId, int id, int mode)
DiagnosticResponse(int busId, int id, int mode, int pid, byte[] payload)
DiagnosticResponse(int busId, int id, int mode, int pid, byte[] payload, DiagnosticResponse.NegativeResponseCode negativeResponseCode, double value)
Protected Constructors
DiagnosticResponse(Parcel in)
DiagnosticResponse()
Public Methods
static boolean containsRequiredFields(Set<String> fields)
boolean equals(Object obj)
DiagnosticResponse.NegativeResponseCode getNegativeResponseCode()
Double getValue()
boolean hasValue()
boolean isSuccessful()
void setNegativeResponseCode(DiagnosticResponse.NegativeResponseCode code)
void setValue(Double value)
String toString()
void writeToParcel(Parcel out, int flags)
Protected Methods
void readFromParcel(Parcel in)
[Expand]
Inherited Methods
From class com.openxc.messages.DiagnosticMessage
From class com.openxc.messages.KeyedMessage
From class com.openxc.messages.VehicleMessage
From class java.lang.Object
From interface android.os.Parcelable
From interface java.lang.Comparable

Public Constructors

public DiagnosticResponse (int busId, int id, int mode)

public DiagnosticResponse (int busId, int id, int mode, int pid, byte[] payload)

public DiagnosticResponse (int busId, int id, int mode, int pid, byte[] payload, DiagnosticResponse.NegativeResponseCode negativeResponseCode, double value)

Protected Constructors

protected DiagnosticResponse (Parcel in)

protected DiagnosticResponse ()

Public Methods

public static boolean containsRequiredFields (Set<String> fields)

public boolean equals (Object obj)

public DiagnosticResponse.NegativeResponseCode getNegativeResponseCode ()

public Double getValue ()

public boolean hasValue ()

public boolean isSuccessful ()

public void setNegativeResponseCode (DiagnosticResponse.NegativeResponseCode code)

public void setValue (Double value)

public String toString ()

public void writeToParcel (Parcel out, int flags)

Protected Methods

protected void readFromParcel (Parcel in)