Hi Salvatore,

This works for TelosB motes:

void resetMote() {

WDTCTL = 0; 

}



From: salvatore galati 
Sent: Saturday, April 12, 2008 4:53 AM
To: [email protected] 
Subject: [Tinyos-help] reboot tmote/telosb runtime


Hi.
I'm a student of Univesity of Pisa and i'm working with tinyos-2.x

I'm testing my application on tmoteSky motes.
I have installed my application on 2 motes, this motes must exchange messages 
for 15 - 20 seconds.

At this moment I reboot the motes by clicking on reset button on the motes...
Is there an interface or a method in nesc to reboot motes ( after the reboot 
the mote must run the Boot.booted() event and the Init.init() command ) ?

I saw, in the mailing list, some posts in which there is an indication to look 
at   tinyos-2.x/tos/lib/TOSBoot/msp430/HardwareC.nc , but there is no 
HardwareC.nc in this directory in my tinyos-2.x tree...

thank you very much for yours answers

Bye  salvatore



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


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to