[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/receive CC2420ReceiveP.nc, 1.3, 1.4

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/receive
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/tos/chips/cc2420/receive

Modified Files:
	CC2420ReceiveP.nc 
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.


Index: CC2420ReceiveP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CC2420ReceiveP.nc	6 Sep 2007 19:20:18 -0000	1.3
--- CC2420ReceiveP.nc	13 Sep 2007 23:10:16 -0000	1.4
***************
*** 136,153 ****
    }
  
-   /***************** Receive Commands ****************/
-   command void* Receive.getPayload(message_t* m, uint8_t* len) {
-     if (len != NULL) {
-       *len = ((uint8_t*) (call CC2420PacketBody.getHeader( m_p_rx_buf )))[0];
-     }
-     return m->data;
-   }
- 
-   command uint8_t Receive.payloadLength(message_t* m) {
-     uint8_t* buf = (uint8_t*)(call CC2420PacketBody.getHeader( m_p_rx_buf ));
-     return buf[0];
-   }
-   
-   
    /***************** CC2420Receive Commands ****************/
    /**
--- 136,139 ----



More information about the Tinyos-2-commits mailing list