[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/ctp CtpRoutingEngineP.nc, 1.1.2.15, 1.1.2.16

Rodrigo Fonseca rfonseca76 at users.sourceforge.net
Sat Oct 28 13:23:29 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19690

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	CtpRoutingEngineP.nc 
Log Message:
Disabled Threshold check


Index: CtpRoutingEngineP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp/Attic/CtpRoutingEngineP.nc,v
retrieving revision 1.1.2.15
retrieving revision 1.1.2.16
diff -C2 -d -r1.1.2.15 -r1.1.2.16
*** CtpRoutingEngineP.nc	27 Oct 2006 22:50:20 -0000	1.1.2.15
--- CtpRoutingEngineP.nc	28 Oct 2006 20:23:27 -0000	1.1.2.16
***************
*** 250,253 ****
--- 250,254 ----
      // Implemented assuming quality is EETX
      bool passLinkEtxThreshold(uint16_t etx) {
+ 	return TRUE;
          return (etx < ETX_THRESHOLD);
      }
***************
*** 323,326 ****
--- 324,328 ----
          }
  
+         //call CollectionDebug.logEventDbg(NET_C_DBG_3, routeInfo.parent, currentEtx, minEtx);  
  
          /* Now choose between the current parent and the best neighbor */
***************
*** 658,662 ****
          uint16_t  linkEtx;
          linkEtx = evaluateEtx(call LinkEstimator.getLinkQuality(from));
-         //call CollectionDebug.logEventDbg(NET_C_DBG_3, from, parent, call LinkEstimator.getLinkQuality(from));  
  
          idx = routingTableFind(from);
--- 660,663 ----



More information about the Tinyos-2-commits mailing list