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()
Events
event void recvFooterDone(error_t error)
event void recvHeaderDone(error_t error)
Commands - Details
recvFooter
command void recvFooter()
Events - Details
recvFooterDone
event void recvFooterDone(error_t error)
- 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)
- Parameters:
-
error - Will be SUCCESS if a packet header has been received FAIL
otherwise.