]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/rf230/RF230Sniffer/RF230SnifferC.nc
update RF230Sniffer to the new interfaces
[tinyos-2.x.git] / apps / tests / rf230 / RF230Sniffer / RF230SnifferC.nc
index 43d495a733c86e783b24fb1da34e200150b86d4d..489583937a437a3ad334c4111a4b65aaaf9015ef 100644 (file)
@@ -27,18 +27,16 @@ configuration RF230SnifferC
 
 implementation
 {
-       components RF230SnifferP, MainC, SerialActiveMessageC, RF230LayerC, RF230ActiveMessageP, RF230PacketC, IEEE154PacketC, AssertC;
-
+       components RF230SnifferP, MainC, SerialActiveMessageC, RF230LayerC, RF230ActiveMessageP, IEEE154PacketC, AssertC;
+       
        RF230SnifferP.Boot -> MainC;
        RF230SnifferP.SplitControl -> SerialActiveMessageC;
-
        RF230SnifferP.RadioState -> RF230LayerC;
 
        RF230LayerC.RF230Config -> RF230ActiveMessageP;
-       RF230LayerC.PacketLinkQuality -> RF230PacketC.PacketLinkQuality;
-       RF230LayerC.PacketRSSI -> RF230PacketC.PacketRSSI;
-       RF230LayerC.PacketTransmitPower -> RF230PacketC.PacketTransmitPower;
-       RF230LayerC.PacketTimeStamp -> RF230PacketC.PacketTimeStamp;
 
        RF230ActiveMessageP.IEEE154Packet -> IEEE154PacketC;
+
+       // just to avoid a timer compilation bug
+       components new TimerMilliC();
 }