SunSPOT API V3.0


Package com.sun.spot.peripheral.radio

Support for using the Sun SPOT's radio.

See:
          Description

Interface Summary
I802_15_4_MAC Defines the portion of the I802.15.4 MAC layer specification that this library currently supports.
I802_15_4_PHY Defines the portion of the I802.15.4 PHY layer specification that this library currently supports.
IConnectionID Defines things that can be registered with IRadioPolicyManager
IDataEventListener Applications that implement this interface are notified when their physical node is used to forward mesh packets
ILowPan Interface that specifies the minimum functionality offered by a layer that implements the LowPan specification
IPacketQualityListener Applications that implement this interface are notified when each time LowPan processes a packet.
IProprietaryMAC  
IProprietaryRadio This interface represents the parts of the CC2420's functionality that are not exposed by the I802.15.4 PHY layer but are still useful.
IProtocolManager Implementors of this interface handle traffic relating to a particular protocol.
IRadiogramProtocolManager A general purpose IProtocolManager designed to separate incoming radio packets into separate queues based on a unique identifying port number in the range 0-255, and manage them as unreliable datagrams.
IRadioPacketDispatcher Acts like a basic pass through layer that's responsible for sending/receiving packets from the MAC layer IRadioPacketDispatcher also provides a set of radio control facilities for application developers such as controlling power output, channel and PAN ID.
IRadioPolicyManager  
IRadioProtocolManager A general purpose IProtocolManager designed to separate incoming radio packets into separate queues based on a unique identifying port number in the range 0-255.
IRadiostreamProtocolManager A general purpose IProtocolManager designed to separate incoming radio packets into separate queues based on a unique identifying port number in the range 0-255, and manage them as reliable streams.
IRouteEventListener Interface implemented by classes that want to receive notifications when the node initiates a routing event
 

Class Summary
BroadcastConnectionState  
ConnectionID  
HeaderInfoBase HeaderInfoBase.java This class is to be extended according to the used mac layer.
IncomingData Structure that contains information about the data received
LowPan Packet processing layer based on the low pan draft.
LowPanHeader LowPanHeader.java
LowPanHeaderInfo LowPanHeaderInfo.java This class provides access to information that is stored in headers that are not existing any more after the decapsulation process that takes place in the low pan layer.
LowPanPacket LowPanPacket.java
LowPanStats  
MeshRouterDaemon A daemon that keeps the radio on and ensures that this SPOT acts as a node in the mesh network
RadioFactory Static factory for public access to the radio in various guises.
RadiogramProtocolManager  
RadioInputStream Deprecated. Please use com.sun.spot.io.j2me.radiostream.RadioInputStream
RadioOutputStream Deprecated. Please use com.sun.spot.io.j2me.radiostream.RadioOutputStream
RadioPacket Represents an I802.15.4 radio packet.
RadioPacketDispatcher Implements IRadioPacketDispatcher for the Spot environment.
RadioPolicy  
RadioPolicyManager  
RadioProtocolManager  
RadiostreamProtocolManager  
ReassemblyExpiration  
RetransmitBuffer A retransmit buffer is used by the SpotstreamProtocolManager to store data that has to be retransmitte in case that no acknowledgment arrives.
RetransmitTimer  
SpotNameLookup  
SpotSerialPipe  
 

Exception Summary
MAC_InvalidParameterException Thrown where an invalid parameter (typically attribute identifier, PAN id or channel number) is passed to an I802_15_4_MAC
MACException Thrown when an I802_15_4_MAC encounters unexpected errors in received radio packet format
NoMeshLayerAckException  
PHY_InvalidParameterException Thrown when an invalid parameter is passed to an I802_15_4_PHY
PHY_UnsupportedAttributeException Thrown on an attempt to use an unsupported attribute using I802_15_4_PHY.plmeSet(int, int) or I802_15_4_PHY.plmeGet(int)
RadioOffException This exception is thrown when an attempt to write to a RadioOutputStream that implies a multi-hop send fails because the radio receiver is turned off (it fails because for a multi-hop send, the radio must receive a mesh ACK).
 

Package com.sun.spot.peripheral.radio Description

Support for using the Sun SPOT's radio. Includes both the driver for the physical hardware and the logical stack that sits above that. This stack implements a portion of 802.15.4 as well as supporting some higher level protocols.

See Also:
com.sun.squawk.io.j2me.radio, com.sun.squawk.io.j2me.radiogram

SunSPOT API V3.0


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