SunSPOT API V5.0


com.sun.spot.peripheral.basestation
Class GetRadioPropertyCommand

java.lang.Object
  extended by com.sun.spot.peripheral.basestation.MACCommand
      extended by com.sun.spot.peripheral.basestation.GetRadioPropertyCommand
All Implemented Interfaces:
ICommand

public class GetRadioPropertyCommand
extends MACCommand


Field Summary
static int CHANNEL
           
static int PAN_ID
           
static int TRANSMIT_POWER
           
 
Fields inherited from class com.sun.spot.peripheral.basestation.MACCommand
ExitCommand, GetChannelAccessFailureCommand, GetNoAckCommand, GetNullPacketAfterAckWaitCommand, GetRadioPropertyCommand, GetRxErrorCommand, GetWrongAckCommand, MCPSDataIndicationCommand, MCPSDataRequestCommand, MLMEGetCommand, MLMEResetCommand, MLMERxEnableCommand, MLMESetCommand, MLMEStartCommand, ResetErrorCountersCommand, ResetProxyCommand, SetPLMEChannelCommand, SetPLMETransmitPowerCommand
 
Constructor Summary
GetRadioPropertyCommand()
           
 
Method Summary
protected  byte classIndicatorByte()
           
 void populateFrom(byte[] inputBuffer, int startingOffset)
           
protected  void prepareResultOrExecute(I802_15_4_MAC mac)
           
protected  Object readResultFrom(DataInputStream dataInputStream)
           
 GetRadioPropertyCommand with(int attribute)
           
protected  void writeParametersOnto(DataOutputStream dataOutputStream)
           
protected  int writePreparedResult(byte[] outputBuffer, int startingOffset)
           
 
Methods inherited from class com.sun.spot.peripheral.basestation.MACCommand
getTimeout, getUID, resultFrom, setUID, writeOnto, writeResultOnto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSMIT_POWER

public static final int TRANSMIT_POWER
See Also:
Constant Field Values

CHANNEL

public static final int CHANNEL
See Also:
Constant Field Values

PAN_ID

public static final int PAN_ID
See Also:
Constant Field Values
Constructor Detail

GetRadioPropertyCommand

public GetRadioPropertyCommand()
Method Detail

with

public GetRadioPropertyCommand with(int attribute)

writeParametersOnto

protected void writeParametersOnto(DataOutputStream dataOutputStream)
                            throws IOException
Overrides:
writeParametersOnto in class MACCommand
Throws:
IOException

populateFrom

public void populateFrom(byte[] inputBuffer,
                         int startingOffset)
                  throws IOException
Specified by:
populateFrom in interface ICommand
Overrides:
populateFrom in class MACCommand
Throws:
IOException

prepareResultOrExecute

protected void prepareResultOrExecute(I802_15_4_MAC mac)
Specified by:
prepareResultOrExecute in class MACCommand

writePreparedResult

protected int writePreparedResult(byte[] outputBuffer,
                                  int startingOffset)
                           throws IOException
Overrides:
writePreparedResult in class MACCommand
Throws:
IOException

readResultFrom

protected Object readResultFrom(DataInputStream dataInputStream)
                         throws IOException
Overrides:
readResultFrom in class MACCommand
Throws:
IOException

classIndicatorByte

protected byte classIndicatorByte()
Specified by:
classIndicatorByte in class MACCommand

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.