]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/tda5250/mac/RedMacC.nc
added SpeckMac
[tinyos-2.x.git] / tos / chips / tda5250 / mac / RedMacC.nc
index 469fe5ce431e612f256471973fd93b5d3b44cff0..3421fe920cc7c9bf1e8fc1082b8cb325223649d4 100644 (file)
@@ -45,7 +45,6 @@ configuration RedMacC {
     interface MacSend;
     interface MacReceive;
     interface Packet;
-    interface LocalTime<T32khz> as LocalTime;
     interface Sleeptime;
     interface ChannelCongestion;
   }
@@ -64,8 +63,7 @@ implementation {
         RssiFixedThresholdCMC as Cca,
         new Alarm32khz16C() as Timer,
         new Alarm32khz16C() as SampleTimer,
-        RandomLfsrC,
-        Counter32khz16C as Counter;
+        RandomLfsrC, LocalTimeC, DuplicateC;
     
     components ActiveMessageAddressC;
     RedMacP.amAddress -> ActiveMessageAddressC;
@@ -78,7 +76,6 @@ implementation {
     Tda5250Control = RedMacP;
     UartPhyControl = RedMacP;
     RadioTimeStamping = RedMacP;
-    LocalTime = RedMacP;
     ChannelCongestion = RedMacP;
     
     RedMacP = PacketSend;
@@ -98,7 +95,9 @@ implementation {
 
     RedMacP.Timer -> Timer;
     RedMacP.SampleTimer -> SampleTimer;
-    RedMacP.Counter32khz16 -> Counter;
+    RedMacP.LocalTime32kHz -> LocalTimeC;
+
+    RedMacP.Duplicate -> DuplicateC;
     
 /*    components PlatformLedsC;
     RedMacP.Led0 -> PlatformLedsC.Led0;