Sun SPOT API
Green Release  


Package com.sun.spot.peripheral.radio

Interfaces and classes to support 802.15.4 over the SPOT 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.
ILowPanPacketDispatcher Multiplexes traffic for up to 255 protocols over the radio connection between two Spots or between a host application and a spot.
IPBPMFactory  
IPortBasedProtocolManager 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.

Currently underpins com.sun.squawk.io.j2me.radiogram.RadiogramConnection and com.sun.squawk.io.j2me.radio.RadioConnection.
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.
 

Class Summary
ConnectionID  
LowPanPacketDispatcher Implements ILowPanPacketDispatcher for the Spot environment.
PBPMFactory  
PortBasedProtocolManager  
Queue Implements a fully synchronised FIFO queue of Objects.
RadioFactory Static factory for public access to the radio in various guises.
RadioPacket Represents an I802.15.4 radio packet.

Because the standard allows variable length and format packets according to the purpose and data content of the packet, this class's apparent length and contents varies also.
SerialFactory Static factory for public access to the serial line in various guises.
SerialPipe  
 

Exception Summary
MAC_InvalidParameter 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
PHY_InvalidParameter Thrown when an invalid parameter is passed to an I802_15_4_PHY
PHY_UnsupportedAttribute Thrown on an attempt to use an unsupported attribute using I802_15_4_PHY.plmeSet(int, int) or I802_15_4_PHY.plmeGet(int)
SequenceNumberException  
 

Package com.sun.spot.peripheral.radio Description

Interfaces and classes to support 802.15.4 over the SPOT radio.


Sun SPOT API
Green Release  


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