|
to find neighbors of a node in sensor network in LEACH protocol
Hello,
Can anyone tell me the code to be added to LEACH protocol to get the neighbors of a sensor node in the network?? As I have gone through some files realted to leach protocol in MIT directory, there is a file named ns-neighbor-resource.tcl in mit/rca/resource directory in which there are some functions that tell how to add/remove neighbors of a node. But the problem is, how should I access those functions to get the neighbors ??
Thanks in advance,
Sushma
|