[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla/components/ClusterheadDirectory ClusterheadDirectoryC.nc, 1.2, 1.3 ClusterheadDirectoryI.nc, 1.3, 1.4 ClusterheadDirectoryM.nc, 1.4, 1.5

Chien-Liang Fok chien-liang at users.sourceforge.net
Thu May 18 12:58:43 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/ClusterheadDirectory
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv25569/contrib/wustl/apps/Agilla/components/ClusterheadDirectory

Modified Files:
	ClusterheadDirectoryC.nc ClusterheadDirectoryI.nc 
	ClusterheadDirectoryM.nc 
Log Message:




Index: ClusterheadDirectoryM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/ClusterheadDirectory/ClusterheadDirectoryM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ClusterheadDirectoryM.nc	6 May 2006 00:26:57 -0000	1.4
--- ClusterheadDirectoryM.nc	18 May 2006 19:58:40 -0000	1.5
***************
*** 373,377 ****
          if (call NeighborListI.getGW(&onehop_dest) == NO_GW)
          {
!           dbg(DBG_USR1, "ClusterheadDirectoryM: sendMsg(): ERROR: No neighbor closer to a gateway.\n");
            return FAIL;
          }
--- 373,377 ----
          if (call NeighborListI.getGW(&onehop_dest) == NO_GW)
          {
!           dbg(DBG_USR1, "ClusterheadDirectoryM: sendClusterMsg(): ERROR: No nbr closer to gateway.\n");
            return FAIL;
          }
***************
*** 433,437 ****
          dbg(DBG_USR1, "ClusterheadDirectoryI: added new cluster member!\n");
          printClusterMemberList();
!         if(sentClusterMsg) call ClusteringI.sendClusterDebugMsg();
        #endif
      }
--- 433,438 ----
          dbg(DBG_USR1, "ClusterheadDirectoryI: added new cluster member!\n");
          printClusterMemberList();
!         //if(sentClusterMsg) 
!         call ClusteringI.sendClusterDebugMsg();
        #endif
      }



More information about the Tinyos-contrib-commits mailing list