]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/UDPEcho/UDPEchoC.nc
Update READMEs to included instructions about blip make extra.
[tinyos-2.x.git] / apps / UDPEcho / UDPEchoC.nc
index 8682984225720c85e98cd010c93cf69b8d818294..8cc47ab93a7d9e436a0772db849d35956c6c1ff3 100644 (file)
@@ -21,7 +21,9 @@
  */
 
 #include <6lowpan.h>
+#ifdef DBG_TRACK_FLOWS
 #include "TestDriver.h"
+#endif
 
 configuration UDPEchoC {
 
@@ -44,7 +46,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 +63,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
 }