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
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:
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
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
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
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