SunSPOT API V2.0


com.sun.spot.peripheral.radio
Interface IRadioPacketDispatcher

All Known Implementing Classes:
RadioPacketDispatcher

public interface 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.

Version:
0.1
Author:
Allen Ajit George, Jochen Furthmueller

Method Summary
 void initialize(LowPan lowPanLayer)
          Called by LowPan to initialize the dispatcher.
 void sendPacket(RadioPacket rp)
          Send a radio packet
 

Method Detail

sendPacket

void sendPacket(RadioPacket rp)
                throws NoAckException,
                       ChannelBusyException
Send a radio packet

Parameters:
rp - the radio packet to send
Throws:
NoAckException
ChannelBusyException

initialize

void initialize(LowPan lowPanLayer)
Called by LowPan to initialize the dispatcher. Note: This is only called after LowPan is completely started up. This method is there to prevent cycles in the initialization process

Parameters:
lowPanLayer - reference to the fully started LowPan instance

SunSPOT API V2.0


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