Interface: tos.lib.byte_radio.PhyPacketRx

interface PhyPacketRx

Physical Packet Receive Interface for byte radios. Commands and events provided by the Radio Interface to communicate with upper layers about the status of a received packet.

Author:
Kevin Klues <klues@tkn.tu-berlin.de>

Commands
command void recvFooter() Start receiving the packet footer.

Events
event void recvFooterDone(error_t error) Notification that the the packet footer was received.
event void recvHeaderDone(error_t error) Notification that a packet header was received.

Commands - Details

recvFooter

command void recvFooter()

Start receiving the packet footer.

Events - Details

recvFooterDone

event void recvFooterDone(error_t error)

Notification that the the packet footer was received.

Parameters:
error - Will be SUCCESS if a packet incl. footer was received. It will be FAIL if the packet was not fully received (timeout).

recvHeaderDone

event void recvHeaderDone(error_t error)

Notification that a packet header was received.

Parameters:
error - Will be SUCCESS if a packet header has been received FAIL otherwise.