[Tinyos-contrib-commits] How make sensor wake, sleep and reset using batch file?

MohdRizal MdNoor eza17 at yahoo.com
Sun Dec 14 21:36:03 PST 2008


Sleep bat file

@echo off

C:
chdir C:\Crossbow\cygwin\bin

bash --login -i -c "xserveterm -server=localhost:9003 & xserveterm  sleep 2619"

Wake bat file

@echo off


C:chdir C:\cygwin\bin
bash --login -i -c "xserveterm -server=localhost:9003 & xserveterm  wake 2619" 

Reset bat file

@echo off

C:
chdir C:\Crossbow\cygwin\bin

bash --login -i -c "xserveterm -server=localhost:9003 & xserveterm  reset 2619"


anyone who can help me improve that command?i feel tired for typing frequently for xserveterm command,but that bat file cannot work.please help me.


      


More information about the Tinyos-contrib-commits mailing list