[Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/PowerMgmt PowerMgmtC.nc, 1.6, 1.6.2.1 PowerMgmtM.nc, 1.7, 1.7.2.1

Gilman Tolle gtolle at users.sourceforge.net
Thu Sep 23 21:05:06 PDT 2004


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

Modified Files:
      Tag: xsm-release-2004-09-20-fixes
	PowerMgmtC.nc PowerMgmtM.nc 
Log Message:
Added support for firing the Grenade Timer using SNMS, as well as another small and ineffective tweak to the sleep-mode code. New binaries are compiled.

Index: PowerMgmtC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/PowerMgmt/PowerMgmtC.nc,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -d -r1.6 -r1.6.2.1
*** PowerMgmtC.nc	7 Sep 2004 22:15:39 -0000	1.6
--- PowerMgmtC.nc	24 Sep 2004 04:05:04 -0000	1.6.2.1
***************
*** 38,41 ****
--- 38,42 ----
    PowerMgmtM.Leds -> Leds;
  
+   PowerMgmtM.PowerManagement -> Power;
    PowerMgmtM.PowerEnable -> Power.Enable;
    PowerMgmtM.PowerDisable -> Power.Disable;

Index: PowerMgmtM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/PowerMgmt/PowerMgmtM.nc,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -d -r1.7 -r1.7.2.1
*** PowerMgmtM.nc	7 Sep 2004 23:32:22 -0000	1.7
--- PowerMgmtM.nc	24 Sep 2004 04:05:04 -0000	1.7.2.1
***************
*** 17,20 ****
--- 17,22 ----
      interface StdControl as RadioControl;
  
+     interface PowerManagement;
+ 
  #if defined(PLATFORM_MICA2) || defined(PLATFORM_MICA2DOT) || defined(PLATFORM_XSM)    
      command result_t SetListeningMode(uint8_t power);
***************
*** 147,150 ****
--- 149,153 ----
  	call Leds.redOff();
  	call PowerEnable();
+ 	call PowerManagement.adjustPower();
        }
        break;



More information about the Tinyos-beta-commits mailing list