[Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?
Michael Schippling
schip at santafe.edu
Wed May 6 23:37:27 PDT 2009
OK. Sending from the HOST to the remote nodes,
rather than having the base station mote do
the sending on it's own, that's what you want?
If so look at my code or SimpleCmd.
In my code you can modify the message to Broadcast
to all nodes or send to only ONE of the re-Motes --
using the mote ID set at install time. See the TOS
doc/tutorial for info about the message structure and
addressing during Sends.
MS
ma. pratama wrote:
> Yes..i want to send the source from the sink that connected to the PC to
> other motes..
> Where can i find the send and simplecmd examples in TinyOS 1?? i dont
> get what you mean..? And can I use your program to send the data from
> sink to a specific mote ??
>
> for example if there are 4 nodes and i want to send data from Sink only
> to node 3 and 4 without sending to node 1 and 2,how can i do that ?
>
> Thx,.
>
>
> --- On *Thu, 5/7/09, Michael Schippling /<schip at santafe.edu>/* wrote:
>
>
> From: Michael Schippling <schip at santafe.edu>
> Subject: Re: [Tinyos-help] Ask how to make sink as a sender on
> tinyos 1.1.10?
> To: "ma. pratama" <spidol_permanen at yahoo.com>
> Cc: tinyos-help at millennium.berkeley.edu
> Date: Thursday, May 7, 2009, 1:53 AM
>
> You can certainly change the base station code to use the Send
> interface just like the re-Motes, but I suspect you want to
> use the PC host as a message source. In that case see the Send
> and SimpleCmd examples in the T1 java code, or TestSerial which
> I think is only in T2.
>
> You can also look at my posted code for bi-directional messaging:
> http://www.etantdonnes.com/Motes/robocode.tar.gz
>
> MS
>
> ma. pratama wrote:
> > Hi all..
> >
> > I want to ask all of you how to make a sink / base station
> act as a sender that could send information to other nodes? are
> there any interface or component that could do that sort of
> thing? please help me..
> >
> > Thx..
> >
> > -Arif-
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at millennium.berkeley.edu
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
More information about the Tinyos-help
mailing list