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
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to