]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/eyesIFX/ActiveMessageC.nc
started support for FTSP
[tinyos-2.x.git] / tos / platforms / eyesIFX / ActiveMessageC.nc
index 354ae288615052a3b50ff87365611c98883e4701..0b5b1d5e54bf9fa348cf12402a211f75ce0fa69c 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-/*                                                                      tab:4
+/*                                                                      
  * "Copyright (c) 2004-2005 The Regents of the University  of California.
  * All rights reserved.
  *
@@ -45,6 +45,8 @@
  * @date July 20 2005
  */
 
+#include "Timer.h"
+
 configuration ActiveMessageC {
   provides {
     interface SplitControl;
@@ -57,11 +59,15 @@ configuration ActiveMessageC {
     interface AMPacket;
 
     interface PacketAcknowledgements;
+
+    interface PacketTimeStamp<T32khz, uint32_t> as PacketTimeStamp32khz;
+    interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli;
   }
 }
 implementation {
   components ActiveMessageFilterC as Filter;
   components Tda5250ActiveMessageC as AM;
+  components PacketStampC as PacketStamp;
 
   AMSend       = Filter;
   Receive      = Filter.Receive;
@@ -77,4 +83,7 @@ implementation {
   AMPacket     = AM;
 
   PacketAcknowledgements = AM;
+
+  PacketTimeStamp32khz = PacketStamp;
+  PacketTimeStampMilli = PacketStamp;
 }