[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:14:24 PDT 2009
I'm still presuming that you want to send messages from the host
machine, through the base station to Re-moteS. To do that look at:
C:\cygwin\opt\tinyos-1.x\apps\SimpleCmd
C:\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\tools\Send.java
The Send.java program is fairly opaque so look at SimpleCmd first.
My code contains a full impl of a command/reply system targeted
at testing the message rates between host and motes. I hand
generated java classes for the messages, but you can also use
the MIG utility to make, IMHO, higher overhead versions of the
same classes. See parts of the doc/tutorial for a bit more info.
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..?
>
> 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
> </mc/compose?to=Tinyos-help at millennium.berkeley.edu>
> >
> https://www..millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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