sidnet.stack.std.mac.ieee802_15_4
Interface PhyInterface

All Superinterfaces:
JistAPI.Proxiable, JistAPI.Timeless
All Known Subinterfaces:
PhyInterface.Phy802_15_4

public interface PhyInterface
extends JistAPI.Proxiable


Nested Class Summary
static interface PhyInterface.Phy802_15_4
          Extends the default Phy interface with 802_15_4 functions.
 
Method Summary
 void peek(Message msg)
          Radio has locked onto a packet signal; phy may have a peek.
 void receive(Message msg)
          Radio has received a packet for phy to process.
 void send(Message msg)
          MAC layer would like to send the following packet.
 void setRadioMode(byte mode)
          Update phy regarding new mode of its radio.
 

Method Detail

setRadioMode

void setRadioMode(byte mode)
Update phy regarding new mode of its radio.

Parameters:
mode - new radio mode

peek

void peek(Message msg)
Radio has locked onto a packet signal; phy may have a peek.

Parameters:
msg - packet currently in flight

receive

void receive(Message msg)
Radio has received a packet for phy to process.

Parameters:
msg - packet received

send

void send(Message msg)
MAC layer would like to send the following packet. Should be called only after Phy has notified that it is wants a packet.

Parameters:
msg - packet to send