Finding distances (localization) between motes is problematic, at best. Assuming each node is in a (known) static location you impose another requirement on the WSN. It doesn't really matter if motes know this up-front (e.g. program time) or are told OTA (over-the-air) later.
For OTA it may be beneficial to implement your own distribution protocol along-side. (It becomes more complicated when you try to merge everything into one, KISS.) Or maybe a Dissemination protocol or Deluge could help. Another approach may simply be to use some metric of link quality to implement your protocol. In the end, link-quality (aggregated with delay, power, throughput, etc.) is what counts when getting messages from A to B... On Tue, Jun 3, 2008 at 11:03 AM, <[EMAIL PROTECTED]> wrote: > Hello Dr.Levis, > > I am working on modifying a clustering protocol which is implemented in the > Surge application. I figured that the routing used is MultiHopLEPSM. I want > to calculate the distance of the node from the base station (i.e node 0) and > use it as one of the parameter for clustering. There are two ways that I > think of implementing it: > > 1.Give the location of the nodes ahead ,so from there the distance can be > calculated using Euclidean equation. Can I do that ,in that case I think I > should be writing a module in MultiHopLEPSM. > > 2.Secondly I thought of giving the input of coordinates in Neighbortbl.But > so far I understood the entries of Neighbortbl is updated from the packets > received from the neighboring nodes by snooping. In that case I thought of > declaring my own packet structure (as CC1000 radio can have it's own packet > structure). And giving the two field for coordinates of the node. > > Can you please correct me if I'm going in the wrong way? Or this is not at > all possible? I am working on this for last few months and couldn't get a > possible solution. > > Regards > Nirupama Barua > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
