SunSPOT API V3.0


com.sun.spot.peripheral.radio
Class SpotSerialPipe

java.lang.Object
  extended by com.sun.spot.peripheral.radio.SpotSerialPipe

public class SpotSerialPipe
extends Object


Field Summary
static int PAYLOAD_OFFSET
          Number of bytes that you must leave blank in your byte array for SpotSerialPipe to use for its own purposes
 
Constructor Summary
SpotSerialPipe()
           
 
Method Summary
 void receive(byte[] in)
           
 void reset()
           
 void send(byte[] out, int length)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAYLOAD_OFFSET

public static final int PAYLOAD_OFFSET
Number of bytes that you must leave blank in your byte array for SpotSerialPipe to use for its own purposes

See Also:
Constant Field Values
Constructor Detail

SpotSerialPipe

public SpotSerialPipe()
               throws IOException
Throws:
IOException
Method Detail

receive

public void receive(byte[] in)

send

public void send(byte[] out,
                 int length)

reset

public void reset()
           throws IOException
Throws:
IOException

SunSPOT API V3.0


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