]> 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 cf22b7dc0bf4300ab3e2030e11c83b26033055b1..489583937a437a3ad334c4111a4b65aaaf9015ef 100644 (file)
@@ -27,12 +27,16 @@ configuration RF230SnifferC
 
 implementation
 {
-       components RF230SnifferP, MainC, SerialActiveMessageC, RF230LayerC, IEEE154PacketC;
-
+       components RF230SnifferP, MainC, SerialActiveMessageC, RF230LayerC, RF230ActiveMessageP, IEEE154PacketC, AssertC;
+       
        RF230SnifferP.Boot -> MainC;
        RF230SnifferP.SplitControl -> SerialActiveMessageC;
        RF230SnifferP.RadioState -> RF230LayerC;
-       RF230SnifferP.IEEE154Packet -> IEEE154PacketC;
 
-       RF230LayerC.RF230Config -> RF230SnifferP;
+       RF230LayerC.RF230Config -> RF230ActiveMessageP;
+
+       RF230ActiveMessageP.IEEE154Packet -> IEEE154PacketC;
+
+       // just to avoid a timer compilation bug
+       components new TimerMilliC();
 }