orbotix.robot.base
Class DeviceResponse
java.lang.Object
orbotix.robot.base.DeviceMessage
orbotix.robot.base.DeviceResponse
- All Implemented Interfaces:
- android.os.Parcelable
- Direct Known Subclasses:
- CalibrateResponse, FrontLEDOutputResponse, GetBluetoothInfoResponse, JumpToBootloaderResponse, JumpToMainResponse, PingResponse, RawMotorResponse, RGBLEDOutputResponse, RollResponse, RotationRateResponse, SleepResponse, StabilizationResponse, VersioningResponse
public abstract class DeviceResponse
- extends DeviceMessage
User: brian
Date: 6/30/11
Time: 11:55 AM
Nested classes/interfaces inherited from interface android.os.Parcelable |
android.os.Parcelable.Creator |
Fields inherited from interface android.os.Parcelable |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface android.os.Parcelable |
describeContents |
RESPONSE_CODE_OK
public static final byte RESPONSE_CODE_OK
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_GENERAL
public static final byte RESPONSE_CODE_ERROR_GENERAL
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_CHECKSUM
public static final byte RESPONSE_CODE_ERROR_CHECKSUM
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_FRAGMENT
public static final byte RESPONSE_CODE_ERROR_FRAGMENT
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_BAD_COMMAND
public static final byte RESPONSE_CODE_ERROR_BAD_COMMAND
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_UNSUPPORTED
public static final byte RESPONSE_CODE_ERROR_UNSUPPORTED
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_BAD_MESSAGE
public static final byte RESPONSE_CODE_ERROR_BAD_MESSAGE
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_PARAMETER
public static final byte RESPONSE_CODE_ERROR_PARAMETER
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_EXECUTE
public static final byte RESPONSE_CODE_ERROR_EXECUTE
- See Also:
- Constant Field Values
RESPONSE_CODE_MAIN_APP_CORRUPT
public static final byte RESPONSE_CODE_MAIN_APP_CORRUPT
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR_TIME_OUT
public static final byte RESPONSE_CODE_ERROR_TIME_OUT
- See Also:
- Constant Field Values
DeviceResponse
public DeviceResponse(byte code)
getCode
public byte getCode()
getIsDataCorrupt
public boolean getIsDataCorrupt()
writeToParcel
public void writeToParcel(android.os.Parcel dest,
int flags)
- Specified by:
writeToParcel
in interface android.os.Parcelable
- Overrides:
writeToParcel
in class DeviceMessage