[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250/mac RedMacP.nc, 1.7, 1.8

akoepke andreaskoepke at users.sourceforge.net
Tue Apr 17 05:56:44 PDT 2007


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

Modified Files:
	RedMacP.nc 
Log Message:
measured time correction wiht osci


Index: RedMacP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/mac/RedMacP.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** RedMacP.nc	5 Apr 2007 06:38:45 -0000	1.7
--- RedMacP.nc	17 Apr 2007 12:56:40 -0000	1.8
***************
*** 80,84 ****
          interface GeneralIO as Led2;
          interface GeneralIO as Led3;        
! */      
  #ifdef REDMAC_DEBUG
          interface SerialDebug;
--- 80,84 ----
          interface GeneralIO as Led2;
          interface GeneralIO as Led3;        
! */  
  #ifdef REDMAC_DEBUG
          interface SerialDebug;
***************
*** 121,125 ****
          PREAMBLE_BYTE_TIME=14,        // byte at 23405 kBit/s, no coding
          PHY_HEADER_TIME=84,           // 6 Phy Preamble at 23405 bits/s
!         TIME_CORRECTION=15,           // difference between sendSFD and rxSFD, to do: measure!
                  
          SUB_HEADER_TIME=PHY_HEADER_TIME + sizeof(message_header_t)*BYTE_TIME,
--- 121,125 ----
          PREAMBLE_BYTE_TIME=14,        // byte at 23405 kBit/s, no coding
          PHY_HEADER_TIME=84,           // 6 Phy Preamble at 23405 bits/s
!         TIME_CORRECTION=16,           // difference between txSFD and rxSFD: 475us
                  
          SUB_HEADER_TIME=PHY_HEADER_TIME + sizeof(message_header_t)*BYTE_TIME,



More information about the Tinyos-2-commits mailing list