[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge DelugeM.nc, 1.17, 1.18

Jonathan Hui jwhui at users.sourceforge.net
Thu Jun 9 15:13:31 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24814

Modified Files:
	DelugeM.nc 
Log Message:
- Added support to reset version number for an image. The operation
can only occur if directly connected to the PC and is not
epidemic. Supports cases where users want to shift nodes between
networks.



Index: DelugeM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/DelugeM.nc,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** DelugeM.nc	17 May 2005 20:55:47 -0000	1.17
--- DelugeM.nc	9 Jun 2005 22:13:26 -0000	1.18
***************
*** 1,5 ****
  // $Id$
  
! /*									tab:4
   *
   *
--- 1,5 ----
  // $Id$
  
! /*									tab:2
   *
   *
***************
*** 281,284 ****
--- 281,288 ----
  	return pMsg;
        }
+       else if ( rxAdvMsg->imgDesc.vNum == DELUGE_INVALID_VNUM ) {
+ 	call Metadata.setupNewImage(&(rxAdvMsg->imgDesc));
+ 	return pMsg;
+       }
      }
  



More information about the Tinyos-beta-commits mailing list