[Tinyos-help] About Lesson 7 in TinyOS 1.X
Chao Sun
sunchao.nju at gmail.com
Fri Jul 13 20:30:20 PDT 2007
Thanks,
Now I understand. :)
Regards,
Chao Sun
On 7/14/07, Michael Schippling <schip at santafe.edu> wrote:
>
> As I said, what you do on the re-Mote is between you and the chaplain...
>
> I think the receive() will get both BCAST and P2P messages. That method
> can post some new task to forward the messages. I don't know much
> (anything)
> about dissemination options in TOS, so you should look at the existing
> software to see if something is close to what you want.
>
> MS
>
> Chao Sun wrote:
> > 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
> > <mailto: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
> > <mailto: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/eca493bf/attachment.html
More information about the Tinyos-help
mailing list