[Tinyos-help] About Lesson 7 in TinyOS 1.X

Michael Schippling schip at santafe.edu
Fri Jul 13 10:21:59 PDT 2007


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


More information about the Tinyos-help mailing list