[Tinyos-help] About Lesson 7 in TinyOS 1.X
Chao Sun
sunchao.nju at gmail.com
Fri Jul 13 19:04:11 PDT 2007
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 <schip at santafe.edu> 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
> > Tinyos-help at Millennium.Berkeley.EDU
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070714/9329979e/attachment.htm
More information about the Tinyos-help
mailing list