[Tinyos Core WG]
Interface switchover: Packet, Send, AMSend, Receive
Philip Levis
pal at cs.stanford.edu
Thu Sep 13 16:14:52 PDT 2007
I've just checked in the changes to the Packet, Send, AMSend, and
Receive interfaces following the discussion on TEP 116. A summary of
the changes:
Packet: "void* getPayload(message_t*, uint8_t*)" has become "void*
getPayload(message_t*, uint8_t)"
Send: "void* getPayload(message_t*)" has become "void* getPayload
(message_t*, uint8_t)"
Receive: removed getPayload and payloadLength
AMSend: "void* getPayload(message_t*)" has become "void* getPayload
(message_t*, uint8_t)"
I've also updated the TEP. I tried to scour the repository as best I
could for places where they are used/provided, but I might have
missed a few. I updated the CC1000, CC2420, TDA5250, XE1205, and
serial stacks. I tested a few complex apps, and everything seemed to
work fine. If you find issues or things I missed, please let me know.
Phil
More information about the Tinyos-2.0wg
mailing list