com.sun.spot.peripheral.radio
Class SpotSerialPipe
java.lang.Object
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 |
Method Summary |
void |
receive(byte[] in)
|
void |
reset()
|
void |
send(byte[] out,
int length)
|
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
SpotSerialPipe
public SpotSerialPipe()
throws IOException
- Throws:
IOException
receive
public void receive(byte[] in)
send
public void send(byte[] out,
int length)
reset
public void reset()
throws IOException
- Throws:
IOException
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.