|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
void |
deregisterPacketQualityListener(IPacketQualityListener listener)
Undo a previous call of registerPacketListener() |
void |
initialize(ILowPan lowPanLayer)
Called by LowPan to initialize the dispatcher. |
void |
registerPacketQualityListener(IPacketQualityListener packetListener)
Register to be notified with Link Quality information. |
void |
sendPacket(RadioPacket rp)
Send a radio packet |
| Method Detail |
|---|
void initialize(ILowPan lowPanLayer)
lowPanLayer - reference to the fully started LowPan instance
void sendPacket(RadioPacket rp)
throws NoAckException,
ChannelBusyException
rp - the radio packet to send
NoAckException
ChannelBusyExceptionvoid registerPacketQualityListener(IPacketQualityListener packetListener)
packetListener - the class that wants to be called backvoid deregisterPacketQualityListener(IPacketQualityListener listener)
listener - the class that wants to be deregistered
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||