[Tinyos-help] How to put mote to sleep

씨티정보기술 cti at chol.com
Fri Dec 5 23:48:35 PST 2008


 

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.

  }

}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081206/b0f62abb/attachment-0001.htm 


More information about the Tinyos-help mailing list