Re: [Tinyos-help] Rebooting a mote

2010-03-23 Thread Deeksha Rao Sahib
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 o

Re: [Tinyos-help] Rebooting a mote

2010-03-23 Thread Mehmet Akif Antepli
Hi, You should also use Dissemination protocol. Define a reboot msg which will be sent from basestation mote via dissemination protocol. When the message is received by remote motes, each of them will call their own NetProg.reboot() command. On Tue, Mar 23, 2010 at 12:19 PM, Vikram vik76 wrote:

Re: [Tinyos-help] Rebooting a mote

2010-03-23 Thread Vikram vik76
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 wrote: > Hi, > > yes it i

Re: [Tinyos-help] Rebooting a mote

2010-03-23 Thread Deeksha Rao Sahib
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

Re: [Tinyos-help] Rebooting a mote

2010-03-23 Thread Mehmet Akif Antepli
Hi, You should use NetProg interface and NetProgC configuration under /opt/tinyos-2.1.0/tos/lib/net/Deluge/extra in your application. Please have a look at those files. On Tue, Mar 23, 2010 at 11:14 AM, Vikram vik76 wrote: > Hello, > > How can we reboot a mote programmatically? > > The mote i

[Tinyos-help] Rebooting a mote

2010-03-23 Thread Vikram vik76
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