orbotix.robot.base
Class VersioningResponse

java.lang.Object
  extended by orbotix.robot.base.DeviceMessage
      extended by orbotix.robot.base.DeviceResponse
          extended by orbotix.robot.base.VersioningResponse
All Implemented Interfaces:
android.os.Parcelable

public final class VersioningResponse
extends DeviceResponse


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
android.os.Parcelable.Creator
 
Field Summary
static android.os.Parcelable.Creator CREATOR
           
static int MODEL_NUMBER_SPHERO
           
 
Fields inherited from class orbotix.robot.base.DeviceResponse
RESPONSE_CODE_ERROR_BAD_COMMAND, RESPONSE_CODE_ERROR_BAD_MESSAGE, RESPONSE_CODE_ERROR_CHECKSUM, RESPONSE_CODE_ERROR_EXECUTE, RESPONSE_CODE_ERROR_FRAGMENT, RESPONSE_CODE_ERROR_GENERAL, RESPONSE_CODE_ERROR_PARAMETER, RESPONSE_CODE_ERROR_TIME_OUT, RESPONSE_CODE_ERROR_UNSUPPORTED, RESPONSE_CODE_MAIN_APP_CORRUPT, RESPONSE_CODE_OK
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
VersioningResponse(DeviceCommand command, byte code, byte[] data)
           
 
Method Summary
 int describeContents()
           
 java.lang.String getBootloaderVersion()
           
 java.lang.String getHardwareVersion()
           
 java.lang.String getMainApplicationVersion()
           
 int getModelNumber()
           
 java.lang.String getOrbBasicVersion()
           
 java.lang.String getOverlayManagerVersion()
           
 java.lang.String getRecordVersion()
           
 void writeToParcel(android.os.Parcel dest, int flags)
           
 
Methods inherited from class orbotix.robot.base.DeviceResponse
getCode, getIsDataCorrupt
 
Methods inherited from class orbotix.robot.base.DeviceMessage
getTimeStamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODEL_NUMBER_SPHERO

public static final int MODEL_NUMBER_SPHERO
See Also:
Constant Field Values

CREATOR

public static final android.os.Parcelable.Creator CREATOR
Constructor Detail

VersioningResponse

public VersioningResponse(DeviceCommand command,
                          byte code,
                          byte[] data)
Method Detail

getRecordVersion

public java.lang.String getRecordVersion()

getModelNumber

public int getModelNumber()

getHardwareVersion

public java.lang.String getHardwareVersion()

getMainApplicationVersion

public java.lang.String getMainApplicationVersion()

getBootloaderVersion

public java.lang.String getBootloaderVersion()

getOrbBasicVersion

public java.lang.String getOrbBasicVersion()

getOverlayManagerVersion

public java.lang.String getOverlayManagerVersion()

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(android.os.Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface android.os.Parcelable
Overrides:
writeToParcel in class DeviceResponse