Interface: tos.lib.byte_radio.MacReceive
interface MacReceive
This interface is similar to the Receive interface.
The interface provides one event in async context which indicates that
a packet was received. It Is provided by the MAC layer ofi
a byte radio.
- See:
-
Receive
- Author:
-
Philipp Huppertz
Events
event message_t *receiveDone(message_t *msg)
Events - Details
receiveDone
event message_t *receiveDone(message_t *msg)
- Parameters:
-
msg - the received packet
- Returns:
-
a packet buffer for the stack to use for the next
received packet.