On Sat, Oct 24, 2009 at 4:54 AM, Mehwish Nasim <[email protected]> wrote: > Hi, > I am new to tinyOS. > > I want to evaluate a clustering protocol in sensor networks using Tossim. > So far, I have learnt from the tutorials how to create a topology file. But > for a clustering protocol evaluation I want the protocol to create the > topology, after deciding appropriate clusterheads. Moreover I can use the > topology file to communicate initial messages to the neighbors but even then > another problem is that how would I know the residual energy of the > neighboring nodes?
The topology file you provide to the simulator is the communication graph which specifies all the possible links in the network. The links used by your clustering protocol will be a subset of the links specified in the topology file. Your clustering protocol decides which links to use, much like what a routing protocol does. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
