You should be able to send to a specific mode ID that was assigned
when you did "make install.<moteid>" with:
    mote.send(<moteid>, packet);

Routing and dissemination after that is a function of what is running
on the re-Motes.

MS

Chao Sun wrote:
Hello,
In the Lesson 7 of tutorial a command is broadcast to all other nodes in the network from base station, which is done by

mote.send(TOS_BCAST_ADDR, packet);

in the BcastInject.java file.
However, what should I do if I want to disseminate the command to the network using some specific routing protocol or rumor algorithm, not just simple broadcast? How can I modify this?


Regards,

Chao Sun


------------------------------------------------------------------------

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

Reply via email to