orbotix.robot.base
Class GetBluetoothInfoResponse

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

public class GetBluetoothInfoResponse
extends DeviceResponse

Class that encapsulates the response from a GetBluetoothInfoCommand.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
android.os.Parcelable.Creator
 
Field Summary
static android.os.Parcelable.Creator CREATOR
           
 
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
GetBluetoothInfoResponse(DeviceCommand command, byte code, byte[] data)
           
 
Method Summary
 int describeContents()
           
 java.lang.String getAddress()
           
 java.lang.String getName()
           
 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

CREATOR

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

GetBluetoothInfoResponse

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

getName

public java.lang.String getName()

getAddress

public java.lang.String getAddress()

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