On Thursday, March 11, 2004, at 06:37 PM, Qian Zheng wrote:

Hi:

I want to use TOSSIM to simulate some routing protocols and evaluate the
performance. Here I have some questions:


How to set several nodes that can communicate with each other using
routing protocols? And from the results printed by TOSSIM, how to analyze?
From the examples given by TinyOs, IntToRfm and RfmToLeds can realize
communication with each other on motes. But using simulation, how to
combine the two and thus we can see the sender and receiver status from
the results printed by TOSSIM, like the loss of packets, how many packets
are received by receiver?


I am very new to TOSSIM. Who can give me some hints? Thanks very much.

The TOSSIM tutorial should be a good place to start. You can configure output using the DBG environment variable. The easiest way to see all packets transmitted and received (successfully) is to set DBG to "am". When I use TOSSIM, I typically just output text files than process them using perl scripts. You can also use TinyViz and Tython, a Python-based TOSSIM scripting environment; the latter is fairly new, part of the most recent minor release, and has a short manual/tutorial as an introduction. Mike Demmer is actively developing/supporting Tython.


Phil

-------

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."

- T. S. Eliot, 'Little Gidding'

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to