Hi!

On Mon, 20 Apr 2009, Angela Perez wrote:

> Hi,
>
> Is the following possible using Deluge T2:
>
> I want a mote (say mote X) to re-program a selected neighbor in the
> network (say mote Y), without X being a base station connected to a
> serial port. Re-programming will take place when some condition
> specific to my app is true.
>
> If X has an image stored that can be used to reprogram Y, how can this
> be achieved? Is there any documentation - apart from the simple Deluge
> Tutorial - that explains Deluge in more detail?
>

The tutorial doesn't go into these details. Here is a few pointers.

The component that is implementing the basestation behavior is called 
DelugeManagerC. The code that triggers the dissemination and starts the 
object publishing is in DelugeManagerP. The function of interests are 
SerialAMReceiver.receive and DelugeMetadata.readDone.

The code that deals with what happens on the client side is in DelugeP.nc. 
The most interesting things happen in DisseminationValue.changed and 
ObjectTransfer.receiveDone.

Note: DelugeManagerP.nc and DelugeP.nc are in tos/lib/net/Deluge.

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

Reply via email to