]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mica2/ActiveMessageC.nc
added provided PacketTimeStamp interfaces
[tinyos-2.x.git] / tos / platforms / mica2 / ActiveMessageC.nc
index 4f252583f7c393961feb563afae7afddf4dcdc81..c96eee4bdc84626a51d9eb104a8ffd6437f6fd65 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2004-2005 The Regents of the University  of California.  
  * All rights reserved.
  *
@@ -54,6 +54,8 @@ configuration ActiveMessageC {
     interface Packet;
     interface AMPacket;
     interface PacketAcknowledgements;
+    interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli; 
+    interface PacketTimeStamp<T32khz, uint32_t> as PacketTimeStamp32khz; 
   }
 }
 implementation {
@@ -67,4 +69,6 @@ implementation {
   Packet       = AM;
   AMPacket     = AM;
   PacketAcknowledgements = AM;
+  PacketTimeStampMilli   = AM;
+  PacketTimeStamp32khz   = AM;
 }