Avinash Sridharan wrote:
Hi Phil,
I was trying to use the TOSSIM that comes with tinyos 2.0.1 by
following the TOSSIM tutorial. I was primarily interested in using the
new radio model that comes with TinyOS 2.0.1.
However when I try to run the example code given in the TOSSIM
tutorial with the RadioCountToLeds application the script just prints
out the python statements and exits. Here is the output.
/home/hobes/developement/tinyos-2.0.1/apps/RadioCountToLeds/TOSSIM.py:4:
RuntimeWarning: Python C API version mismatch for module _TOSSIM: This
Python has API version 1013, module _TOSSIM has version 1012.
import _TOSSIM
1 2 -54.0
2 1 -54.0
2 3 -64.0
3 2 -64.0
1 3 -64.0
3 1 -64.0
Creating noise model for 1
Creating noise model for 2
Creating noise model for 3
Could this be due to the warning ? I have just upgraded my system to
Ubuntu 7.0.4. Do I need to recompile TOSSIM in order to remove the
compatibility warnings ?
I tried this simple example since with my other applications (that had
been working with 2.0.0 UscGainInterference model) the radio wouldn't
work with TOSSIM.
The only difference between the code in the tutorial and my example
run here is that instead of using the meyer-heavy.txt file I used a
shorter noise trace by using the first 100 lines of the meyer-heavy.txt.
Thanks in advance for the help.
I have no idea. I've never seen that error before.
Could you dig a bit deeper? That is, try typing in the script and see
what happens? Are any TOSSIM events executing? Your output is not much
to go on.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help