SunSPOT API V3.0


com.sun.spot.peripheral.basestation
Class SetPLMETransmitPowerCommand

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

public class SetPLMETransmitPowerCommand
extends MACCommand


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

Constructor Detail

SetPLMETransmitPowerCommand

public SetPLMETransmitPowerCommand()
Method Detail

with

public ICommand with(int power)

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

classIndicatorByte

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

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.