[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/unique
UniqueReceiveP.nc, 1.1, 1.2 UniqueSendP.nc, 1.1, 1.2
Phil Levis
scipio at users.sourceforge.net
Thu Sep 13 16:10:49 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/unique
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/tos/chips/cc2420/unique
Modified Files:
UniqueReceiveP.nc UniqueSendP.nc
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.
Index: UniqueReceiveP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** UniqueReceiveP.nc 4 Jul 2007 00:37:16 -0000 1.1
--- UniqueReceiveP.nc 13 Sep 2007 23:10:16 -0000 1.2
***************
*** 82,104 ****
void insert(uint16_t msgSource, uint8_t msgDsn);
- /***************** Receive Commands ***************/
- command void *Receive.getPayload(message_t* msg, uint8_t* len) {
- return call SubReceive.getPayload(msg, len);
- }
-
- command uint8_t Receive.payloadLength(message_t* msg) {
- return call SubReceive.payloadLength(msg);
- }
-
-
- /***************** DuplicateReceive Commands ****************/
- command void *DuplicateReceive.getPayload(message_t* msg, uint8_t* len) {
- return call SubReceive.getPayload(msg, len);
- }
-
- command uint8_t DuplicateReceive.payloadLength(message_t* msg) {
- return call SubReceive.payloadLength(msg);
- }
-
/***************** SubReceive Events *****************/
event message_t *SubReceive.receive(message_t* msg, void* payload,
--- 82,85 ----
Index: UniqueSendP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/unique/UniqueSendP.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** UniqueSendP.nc 4 Jul 2007 00:37:16 -0000 1.1
--- UniqueSendP.nc 13 Sep 2007 23:10:16 -0000 1.2
***************
*** 97,102 ****
}
! command void *Send.getPayload(message_t* msg) {
! return call SubSend.getPayload(msg);
}
--- 97,102 ----
}
! command void *Send.getPayload(message_t* msg, uint8_t len) {
! return call SubSend.getPayload(msg, len);
}
More information about the Tinyos-2-commits
mailing list