[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/csma CC2420CsmaP.nc, 1.1, 1.2

Phil Levis scipio at users.sourceforge.net
Thu Sep 13 16:10:48 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/csma
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/tos/chips/cc2420/csma

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


Index: CC2420CsmaP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CC2420CsmaP.nc	4 Jul 2007 00:37:14 -0000	1.1
--- CC2420CsmaP.nc	13 Sep 2007 23:10:16 -0000	1.2
***************
*** 156,161 ****
    }
  
!   command void* Send.getPayload(message_t* m) {
!     return m->data;
    }
  
--- 156,166 ----
    }
  
!   command void* Send.getPayload(message_t* m, uint8_t len) {
!     if (len <= call Send.maxPayloadLength()) {
!       return m->data;
!     }
!     else {
!       return NULL;
!     }
    }
  



More information about the Tinyos-2-commits mailing list