]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/ActiveMessageC.nc
moving files from rf230 to rf2xx, prepare the support of rf212
[tinyos-2.x.git] / tos / platforms / iris / ActiveMessageC.nc
index 5515cc26c7464121f5ef5c302b09c9b595f1f841..649ae6f312eb5094007d9a120cabd8bbf655b7e1 100644 (file)
@@ -32,13 +32,18 @@ configuration ActiveMessageC
                interface Receive as Snoop[uint8_t id];
                interface Packet;
                interface AMPacket;
-               interface PacketAcknowledgements as Acks;
+
+               interface PacketAcknowledgements;
+               interface LowPowerListening;
+
+               interface PacketTimeStamp<TMicro, uint32_t> as PacketTimeStampMicro;
+               interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli;
        }
 }
 
 implementation
 {
-       components DefaultMacC as MAC;
+       components RF230ActiveMessageC as MAC;
 
        SplitControl = MAC;
        AMSend       = MAC;
@@ -46,10 +51,9 @@ implementation
        Snoop        = MAC.Snoop;
        Packet       = MAC;
        AMPacket     = MAC;
-       Acks         = MAC;
 
-       // TODO: do these from PlatformC
-//     components RealMainP, HplRF230C, RF230DriverC;
-//     RealMainP.PlatformInit -> HplRF230C.PlatformInit;
-//     RealMainP.PlatformInit -> RF230DriverC.PlatformInit;
+       PacketAcknowledgements  = MAC;
+       LowPowerListening       = MAC;
+       PacketTimeStampMilli    = MAC;
+       PacketTimeStampMicro    = MAC;
 }