]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
measured time correction wiht osci
authorandreaskoepke <andreaskoepke>
Tue, 17 Apr 2007 12:56:40 +0000 (12:56 +0000)
committerandreaskoepke <andreaskoepke>
Tue, 17 Apr 2007 12:56:40 +0000 (12:56 +0000)
tos/chips/tda5250/mac/RedMacP.nc

index c7cd5153ceef6dbca69d9e322df045059f289e12..ea7e070105ca7d026cdb9f58515fc19ec6beecbe 100644 (file)
@@ -79,7 +79,7 @@ module RedMacP {
         interface GeneralIO as Led1;
         interface GeneralIO as Led2;
         interface GeneralIO as Led3;        
-*/      
+*/  
 #ifdef REDMAC_DEBUG
         interface SerialDebug;
 #endif
@@ -120,7 +120,7 @@ implementation
         BYTE_TIME=21,                 // byte at 23405 kBit/s, 4b6b encoded
         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!
+        TIME_CORRECTION=16,           // difference between txSFD and rxSFD: 475us
                 
         SUB_HEADER_TIME=PHY_HEADER_TIME + sizeof(message_header_t)*BYTE_TIME,
         SUB_FOOTER_TIME=2*BYTE_TIME, // 2 bytes crc