X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2FUDPEcho%2FUDPEchoC.nc;h=984f55d9ad34742ca669cfe76adb04e52645d286;hb=3d5c78e867d6fd52e44894e93e4bd0c172071522;hp=8682984225720c85e98cd010c93cf69b8d818294;hpb=a29780e6ea58dcba37fe982931b23021003a16d4;p=tinyos-2.x.git diff --git a/apps/UDPEcho/UDPEchoC.nc b/apps/UDPEcho/UDPEchoC.nc index 86829842..984f55d9 100644 --- a/apps/UDPEcho/UDPEchoC.nc +++ b/apps/UDPEcho/UDPEchoC.nc @@ -44,7 +44,9 @@ configuration UDPEchoC { UDPEchoP.StatusTimer -> TimerMilliC; + components UdpC; UDPEchoP.IPStats -> IPDispatchC.IPStats; + UDPEchoP.UDPStats -> UdpC; UDPEchoP.RouteStats -> IPDispatchC.RouteStats; UDPEchoP.ICMPStats -> IPDispatchC.ICMPStats; @@ -59,14 +61,16 @@ configuration UDPEchoC { #ifdef DBG_TRACK_FLOWS components TestDriverP, SerialActiveMessageC as Serial; components ICMPResponderC, IPRoutingP; - components new TimerMilliC() as Mark; TestDriverP.Boot -> MainC; TestDriverP.SerialControl -> Serial; TestDriverP.ICMPPing -> ICMPResponderC.ICMPPing[unique("PING")]; TestDriverP.CmdReceive -> Serial.Receive[AM_TESTDRIVER_MSG]; TestDriverP.IPRouting -> IPRoutingP; TestDriverP.DoneSend -> Serial.AMSend[AM_TESTDRIVER_MSG]; + TestDriverP.AckSend -> Serial.AMSend[AM_TESTDRIVER_ACK]; TestDriverP.RadioControl -> IPDispatchC; - TestDriverP.MarkTimer -> Mark; +#endif +#ifdef DBG_FLOWS_REPORT + components TrackFlowsC; #endif }