[Tinyos-help] How to put mote to sleep

Juan Antonio Lopez Riquelme jantonio.lopez at upct.es
Sat Dec 6 04:23:10 PST 2008


http://docs.tinyos.net/index.php/Writing_Low-Power_Applications
  ----- Original Message ----- 
  From: 씨티정보기술 
  To: tinyos-help at millennium.berkeley.edu 
  Sent: Saturday, December 06, 2008 8:48 AM
  Subject: [Tinyos-help] How to put mote to sleep


   

  Hello all,

  I'm using telosb mote and trying to put it to sleep in tinyos 2.x with Null application(%TOS/apps/Null) listed below.

   

  I think my mote will go to sleep after booted by scheduler but the current draw is about 31mA.

  How do I to put my mote to sleep?

   

  Thanks.

   

  J. Jeong.

   

  // NullAppC

  configuration NullAppC{}

  implementation {

    components MainC, NullC;

   

    MainC.Boot <- NullC;

  }

   

  // NullC

  module NullC @safe()

  {

    uses interface Boot;

  }

  implementation

  {

    event void Boot.booted() {

      // Do nothing.

    }

  }



------------------------------------------------------------------------------


  _______________________________________________
  Tinyos-help mailing list
  Tinyos-help at millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081206/cabf38db/attachment.htm 


More information about the Tinyos-help mailing list