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

akoepke andreaskoepke at users.sourceforge.net
Tue Jul 10 06:09:53 PDT 2007


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

Modified Files:
	tda5250_message.h Tda5250ActiveMessageP.nc 
Log Message:
remove group field, breaks MAC timings.


Index: tda5250_message.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/tda5250_message.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tda5250_message.h	21 Jun 2007 11:44:15 -0000	1.4
--- tda5250_message.h	10 Jul 2007 13:09:47 -0000	1.5
***************
*** 10,14 ****
    nx_am_addr_t dest;
    nx_am_id_t   type;
-   nx_am_group_t group;
    nx_uint8_t   token;
  } tda5250_header_t;
--- 10,13 ----
***************
*** 25,28 ****
--- 24,30 ----
    nx_uint8_t sendSecurityMode;
    nx_uint8_t receiveSecurityMode;
+   /* some meta information that allows to compute a density */
+   nx_uint8_t maxRepetitions;
+   nx_uint8_t repetitions;
  } tda5250_metadata_t;
  

Index: Tda5250ActiveMessageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/Tda5250ActiveMessageP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Tda5250ActiveMessageP.nc	21 Jun 2007 11:44:14 -0000	1.6
--- Tda5250ActiveMessageP.nc	10 Jul 2007 13:09:47 -0000	1.7
***************
*** 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;
    }
  
--- 155,163 ----
  
    command void AMPacket.setGroup(message_t* msg, am_group_t group) {
!      return;
    }
  
    command am_group_t AMPacket.group(message_t* msg) {
!     return TOS_AM_GROUP;
    }
  



More information about the Tinyos-2-commits mailing list