[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/telosb/mac/tkn154 platform_message.h, 1.2, 1.3

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Tue Mar 24 05:56:49 PDT 2009


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/telosb/mac/tkn154
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23986/tos/platforms/telosb/mac/tkn154

Modified Files:
	platform_message.h 
Log Message:
1) simplified the resource transfer: removed ResourceTransfer* interfaces and corresponding components, replaced them by a single new extended TransferableResource interface (the token passing mechanism remains the same, but now there are less interfaces/components involved).
2) made some small fixes/modifications to facilitate porting to micaz, as proposed by Daniel F. Piñeiro Santos

Index: platform_message.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/telosb/mac/tkn154/platform_message.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** platform_message.h	4 Mar 2009 18:31:50 -0000	1.2
--- platform_message.h	24 Mar 2009 12:56:47 -0000	1.3
***************
*** 12,16 ****
  typedef struct {
    uint8_t control;  // stores length (lower 7 bits), top bit -> promiscuous mode
!   uint8_t mhr[23];  // maximum header size without security
  } ieee154_header_t;
  
--- 12,16 ----
  typedef struct {
    uint8_t control;  // stores length (lower 7 bits), top bit -> promiscuous mode
!   uint8_t mhr[MHR_MAX_LEN];  // maximum header size without security
  } ieee154_header_t;
  



More information about the Tinyos-2-commits mailing list