]> 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 a7f4d7ab49ecc1efd4b37d7a66c0893fb5d90fb8..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 {
@@ -50,6 +48,12 @@ configuration CC1000ActiveMessageC {
     interface AMPacket;
     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 {
@@ -60,7 +64,8 @@ implementation {
   SplitControl = Radio;
   Packet       = Radio;
   PacketAcknowledgements = Radio;
-
+  LinkPacketMetadata = Radio;
+  
   AMSend   = AM;
   Receive  = AM.Receive;
   Snoop    = AM.Snoop;
@@ -70,4 +75,9 @@ implementation {
   AM.SubReceive -> Radio.Receive;
   AM.amAddress -> Address;
   AM.Packet     -> Radio;
+  
+  PacketTimeStamp32khz = Radio;
+  PacketTimeStampMilli = Radio;
+  PacketTimeSyncOffset = Radio;
+  LowPowerListening    = Radio;
 }