]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/ActiveMessageC.nc
move/create RF2xxTimeSyncMessageC to avoid future changes in platforms
[tinyos-2.x.git] / tos / platforms / iris / ActiveMessageC.nc
index 649ae6f312eb5094007d9a120cabd8bbf655b7e1..39f07fa252f2a495cceea721303b6857d946156e 100644 (file)
@@ -35,6 +35,9 @@ configuration ActiveMessageC
 
                interface PacketAcknowledgements;
                interface LowPowerListening;
+#ifdef PACKET_LINK
+               interface PacketLink;
+#endif
 
                interface PacketTimeStamp<TMicro, uint32_t> as PacketTimeStampMicro;
                interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli;
@@ -45,12 +48,15 @@ implementation
 {
        components RF230ActiveMessageC as MAC;
 
-       SplitControl = MAC;
-       AMSend       = MAC;
-       Receive      = MAC.Receive;
-       Snoop        = MAC.Snoop;
-       Packet       = MAC;
-       AMPacket     = MAC;
+       SplitControl    = MAC;
+       AMSend          = MAC;
+       Receive         = MAC.Receive;
+       Snoop           = MAC.Snoop;
+       Packet          = MAC;
+       AMPacket        = MAC;
+#ifdef PACKET_LINK
+       PacketLink      = MAC;
+#endif
 
        PacketAcknowledgements  = MAC;
        LowPowerListening       = MAC;