Hi Bo,

You are probably referring to the instructions that came with the Tmote. 
  This behavior is specific to their boomerang software and as far as I 
am aware there is no similar software in the standard distribution of 
TinyOS.

The reset button triggers a hardware reset of the mote, while the user 
button is simply connected to a digital I/O of the mote and can trigger 
an interrupt.

If you want to program the behavior that you described you would need to 
  check as soon as Boot.booted is called whether the user button is 
pressed. If this is the case, you would abort normal startup and make 
sure that all peripherals (including radio, sensors, flash and LEDs) are 
turned off, and then simply stop your application (TinyOS should then 
put the microcontroller into a sleep mode, which consumes extremely 
little power).

Cheers,
Urs


Bo Zhang wrote:
> Hi, I'm new to the telosb mote.
> I was trying to turn off the telosb mote by holding the user button and 
> press-release the reset button. However, that does not shut it off as the 
> LEDs are still blinking. Is the action I took correct, or do I have to 
> install some other components, e.g. tosboot?
> 
> Thanks a lot!
> 
> Bo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to