Interface: tos.interfaces.BareSendMsg
interface BareSendMsg
Functionality for sending a raw packet buffer; unaware of message
structure (besides length). This is in contrast to SendMsg, which
takes parameters for message headers.
- Author:
-
Jason Hill
-
David Gay
-
Philip Levis
Commands
command result_t send(TOS_MsgPtr msg)
Events
event result_t sendDone(TOS_MsgPtr msg, result_t success)
Commands - Details
send
command result_t send(TOS_MsgPtr msg)
- Returns:
-
SUCCESS if the buffer will be sent, FAIL if not. If
SUCCESS, a sendDone should be expected, if FAIL, the event should
not be expected.
Events - Details
sendDone
event result_t sendDone(TOS_MsgPtr msg, result_t success)
- Returns:
-
SUCCESS always.