[Tinyos-help] Please help: about data exchange between TOSSIM and PC

Bibudh Lahiri bibudh at gmail.com
Sun Apr 1 21:32:46 PDT 2007


Hi Chan *,*
*   *TOSSIM, being a simulator, itself runs on PC. If u want to view the
data on the screen, why don't u put debug messages in the program,

e.g.

dbg(DBG_TEMP, "Counter: Value is %i\n", (int)state);

Don't forget to run the following command before running ur program:

export DBG=temp

pls visit http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html also.


On 4/1/07, Chan kenniel <kennielchan at gmail.com> wrote:
>
> Dear all,
> I got a problem on how to pass data from TOSSIM to PC. I am totally new to
> tinyOS, it would be great if someone help me with answering detailedly a
> little bit.  :-)
>
>
> Now we are beginning a project on TinyOS, specifically, we are trying to
> do some testing work on it. But first important thing to do is making it
> clear that how to exchange data from TOSSIM to our PC. Because we are going
> to test some nesC programs, and we wanna pass some statistics to our PC to
> analyze online, I am wondering whether there's any way to pass data outside
> from TOSSIM emulator via the TOSSIM API. Could you please give me some
> examples or suggestions about this?
>
> Your kind help will be appreciated a lot. Thanks very much.
>
> --
> Best wishes,
> Kenneth Chan
>
> ------------------------
> Wish you have a good day!
>
>
> --
> Best wishes,
> Kenneth Chan
>
> ------------------------
> Wish you have a good day!
> _______________________________________________
> 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/20070401/cf78b482/attachment.htm


More information about the Tinyos-help mailing list