Hi Fu,
 
If you are working on TOSSIM, I am assuming that you are using the Surge application. You have to make some changes in  the MultiHopLEPSM.nc module (/tinyos/tos/lib/Route).
 
To set mote 1 specifically send packets to mote 2, you can hardwire the parent address "gpCurrentParent->id" in chooseParent(). Else, you can also do it at RouteSelect.selectRoute().
 
You can read my previous posts on implementing static routes in Surge. Hope that helps.
 
Regards,
Yogesh.
 
 
>hi,
>In Tossim, I am trying to set mote 1 specifically send packet to mote 2 instead of >broadcasting. Is there any parameter that I can set to do that?
>Thanks!
>Fu


Do you Yahoo!?
The all-new My Yahoo! � Get yours free!
_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to