[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250 Tda5250ActiveMessageP.nc, 1.8, 1.9

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


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

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


Index: Tda5250ActiveMessageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/Tda5250ActiveMessageP.nc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Tda5250ActiveMessageP.nc	24 Jul 2007 12:22:42 -0000	1.8
--- Tda5250ActiveMessageP.nc	13 Sep 2007 23:10:16 -0000	1.9
***************
*** 88,93 ****
    }
  
!   command void* AMSend.getPayload[am_id_t id](message_t* m) {
!     return call SubPacket.getPayload(m, NULL);
    }
  
--- 88,93 ----
    }
  
!   command void* AMSend.getPayload[am_id_t id](message_t* m, uint8_t len) {
!     return call SubPacket.getPayload(m, len);
    }
  
***************
*** 103,122 ****
    }
  
-   command void* Receive.getPayload[am_id_t id](message_t* m, uint8_t* len) {
-     return call SubPacket.getPayload(m, len);
-   }
- 
-   command uint8_t Receive.payloadLength[am_id_t id](message_t* m) {
-     return call SubPacket.payloadLength(m);
-   }
- 
-   command void* Snoop.getPayload[am_id_t id](message_t* m, uint8_t* len) {
-     return call SubPacket.getPayload(m, len);
-   }
- 
-   command uint8_t Snoop.payloadLength[am_id_t id](message_t* m) {
-     return call SubPacket.payloadLength(m);
-   }
- 
    command am_addr_t AMPacket.address() {
      return call amAddress();
--- 103,106 ----



More information about the Tinyos-2-commits mailing list