It can be used locally. But how you invoke this command is what matters. If you want the BS to tell others when to reboot then the motes should execute this function when it receives command from BS.
If all the motes know when they should reboot, then you can simply have a timer for that amount of time then they'l reboot by themselves without having to wait for command from BS. > Does this mean that I can use NetProg.reboot() only from the base > station mote as in the case of Deluge and then disseminate this > command over the air? > Or, I can use it locally on a remote mote directly. > > Thanks > Vikram > > > On Tue, Mar 23, 2010 at 3:17 PM, Deeksha Rao Sahib > <[email protected]> wrote: >> Hi, >> >> yes it is possible. NetProgC component provides NetProg.reboot() >> command. >> >>> Hello, >>> >>> How can we reboot a mote programmatically? >>> >>> The mote is currently running and I want to reboot it without using >>> the reset switch OR removing the batteries. >>> >>> Is it possible that I can call a command which does this? >>> >>> Thanks >>> >>> Vikram >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by MailScanner, and is >>> believed to be clean. >>> >> >> >> --Deeksha >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > --Deeksha -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
