]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc1000/CC1000ActiveMessageC.nc
LPL interface changes
[tinyos-2.x.git] / tos / chips / cc1000 / CC1000ActiveMessageC.nc
index abf72c0544b23d95228c045e1512f19f1ec42284..1ad985b970514ab29a04015b097641b448c83593 100644 (file)
@@ -1,6 +1,4 @@
-// $Id$
-
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2004-2005 The Regents of the University  of California.  
  * All rights reserved.
  *
@@ -38,7 +36,7 @@
  * addr and group).
  * 
  * @author Philip Levis
- * @date June 19 2005
+ * @author Marco Langerwisch (Packet timestamping)
  */
 
 configuration CC1000ActiveMessageC {
@@ -51,6 +49,11 @@ configuration CC1000ActiveMessageC {
     interface Packet;
     interface PacketAcknowledgements;
     interface LinkPacketMetadata;
+
+    interface PacketTimeStamp<T32khz, uint32_t> as PacketTimeStamp32khz;
+    interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli;
+    interface PacketTimeSyncOffset;
+    interface LowPowerListening;
   }
 }
 implementation {
@@ -73,4 +76,8 @@ implementation {
   AM.amAddress -> Address;
   AM.Packet     -> Radio;
   
+  PacketTimeStamp32khz = Radio;
+  PacketTimeStampMilli = Radio;
+  PacketTimeSyncOffset = Radio;
+  LowPowerListening    = Radio;
 }