Hi, Michael,
Thanks for the reply,I know that I can send a packet to a specific node
using mote.send(<moteid>,packet). However, does that mean I should
implement an event such as ReceiveCmdMsg.receive() so as to receive the
command packet and then re-send them using some routing protocol
interface?

Regards,

Chao Sun


On 7/14/07, Michael Schippling <[EMAIL PROTECTED]> wrote:

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