On Mar 30, 2006, at 7:18 AM, avinash wrote:

Hi all,

To send a multihop message from one mote to the root/base mote, what kind of send primitive should be used? Surge uses Send (msg,length).. How does it figure out who it is addressed to if the destination address is not provided in the send primitive? Is it by default sent to node id 0?

And while unpacking the multihop message, how can we just retrieve the TOS_Msg / Surge_Msg from the Multihop_Msg?

Please help me out here..

Collection trees are generally address-free protocols, as the implicit destination is a tree root. I'd recommend reading "Towards a Sensor Network Architecture" from HotOS X, which goes into this a bit.

Phil



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

Reply via email to