[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250 Tda5250ActiveMessageP.nc, 1.5, 1.6 tda5250_message.h, 1.3, 1.4

Philipp Huppertz phihup at users.sourceforge.net
Thu Jun 21 04:44:17 PDT 2007


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

Modified Files:
	Tda5250ActiveMessageP.nc tda5250_message.h 
Log Message:

- re-introduced, accidentally removed, AM group field



Index: Tda5250ActiveMessageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/Tda5250ActiveMessageP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Tda5250ActiveMessageP.nc	20 Jun 2007 23:49:02 -0000	1.5
--- Tda5250ActiveMessageP.nc	21 Jun 2007 11:44:14 -0000	1.6
***************
*** 155,166 ****
  
    command void AMPacket.setGroup(message_t* msg, am_group_t group) {
!     //tda5250_header_t* header = getHeader(msg);
!     //header->group = group;
    }
  
    command am_group_t AMPacket.group(message_t* msg) {
!     //tda5250_header_t* header = getHeader(msg);
!     //return header->group;
!     return TOS_AM_GROUP;
    }
  
--- 155,165 ----
  
    command void AMPacket.setGroup(message_t* msg, am_group_t group) {
!     tda5250_header_t* header = getHeader(msg);
!     header->group = group;
    }
  
    command am_group_t AMPacket.group(message_t* msg) {
!     tda5250_header_t* header = getHeader(msg);
!     return header->group;
    }
  

Index: tda5250_message.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/tda5250_message.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tda5250_message.h	7 Nov 2006 19:31:15 -0000	1.3
--- tda5250_message.h	21 Jun 2007 11:44:15 -0000	1.4
***************
*** 10,13 ****
--- 10,14 ----
    nx_am_addr_t dest;
    nx_am_id_t   type;
+   nx_am_group_t group;
    nx_uint8_t   token;
  } tda5250_header_t;



More information about the Tinyos-2-commits mailing list