X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftests%2Frf230%2FRF230Sniffer%2FRF230SnifferC.nc;h=340898332347116b4d71d612032b482aabd0045b;hb=0b3a49fb657ceaf2b4d2665ffedccf44aba23d19;hp=ce078455eee07ef90793a4b652b208b40f8236f6;hpb=d03b3dc553fa13fffcc3bfd7c4e00bf34e9cbcb8;p=tinyos-2.x.git diff --git a/apps/tests/rf230/RF230Sniffer/RF230SnifferC.nc b/apps/tests/rf230/RF230Sniffer/RF230SnifferC.nc index ce078455..34089833 100644 --- a/apps/tests/rf230/RF230Sniffer/RF230SnifferC.nc +++ b/apps/tests/rf230/RF230Sniffer/RF230SnifferC.nc @@ -27,16 +27,35 @@ configuration RF230SnifferC implementation { - components RF230SnifferP, MainC, SerialActiveMessageC, RF2xxDriverLayerC, RF2xxActiveMessageP, IEEE154PacketC, AssertC; + components RF230SnifferP, MainC, SerialActiveMessageC, AssertC; RF230SnifferP.Boot -> MainC; RF230SnifferP.SplitControl -> SerialActiveMessageC; - RF230SnifferP.RadioState -> RF2xxDriverLayerC; - - RF2xxDriverLayerC.RF2xxDriverConfig -> RF2xxActiveMessageP; - - RF2xxActiveMessageP.IEEE154Packet -> IEEE154PacketC; + RF230SnifferP.RadioState -> RF230DriverLayerC; // just to avoid a timer compilation bug components new TimerMilliC(); + +// -------- ActiveMessage + + components RF230RadioP, Ieee154PacketLayerC; + RF230RadioP.Ieee154PacketLayer -> Ieee154PacketLayerC; + +// -------- TimeStamping + + components TimeStampingLayerC; + TimeStampingLayerC.LocalTimeRadio -> RF230DriverLayerC; + TimeStampingLayerC.SubPacket -> MetadataFlagsLayerC; + +// -------- MetadataFlags + + components MetadataFlagsLayerC; + MetadataFlagsLayerC.SubPacket -> RF230DriverLayerC; + +// -------- RF230 Driver + + components RF230DriverLayerC; + RF230DriverLayerC.Config -> RF230RadioP; + RF230DriverLayerC.PacketTimeStamp -> TimeStampingLayerC; + }