Thanks for the response. Please see below.

>> 2)   The "setThreshold" command, cited at the start of the tutorial
>> section "Configuring a Network", does not appear to exist in this
>> release.
>> Also, it is not listed in the dir(r) response cited above or in the
>> one
>> that I run myself.  How, then do I complete the following step of the
>> tutorial?
>
>>
>> "If you set node's clear channel assessment to be at -110dBm, then
>> nodes
>> will never transmit, as noise and interference never drop this low."
>>
>
> I believe this inconsistency is due to the fact that the command was
> removed after the tutorial was first written. I removed it because
> some radio chips let you set the sensitivity, so its presence would
> raise issues when there are conflicts between was the script and the
> TinyOS code specify.

     In TOSSIM, is it possible to set the CCI and accomplish the step
cited above?

>>
>> 4)   The tutorial refers to the file packets.py. This file contains
>> the
>> following line of code:
>>
>> print "Delivering " + msg.__str__() + " to 0 at " + str(t.time() + 3);
>>
>>      This line does not run correctly for me. This is the error
>> message:
>>
>> Traceback (most recent call last):
>>   File "packets.py", line 46, in ?
>>     print "Delivering ", msg, " to 0 at ", str(t.time() + 3);
>> TypeError: 'str' object is not callable
>>
>>      However, when I change it as follows, then the code does run:
>>
>> print "Delivering " + msg.__str__() + " to 0 at " + (t.time() + 3);
>>
>>      Line 46 of the latest CVS version
>> (/tinyos-2.x/tos/lib/tossim/examples/packets.py) still seems to have
>> this problem.
>
> What version of Python are you using? Works for me.

     Python 2.4.4c1

     In addition, I have seen this question asked in the past, but I could
not locate the answer:

     Is there a default GUI for TOSSIM 2.x, as there was for TOSSIM 1.x?

     Also, I have reviewed the TOSSIM source code in the following directory:
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/tos/lib/tossim/

     It appears to me that many of the source code files (including, for
example, the CPM model) are written in NesC (*.nc). If my
understanding is correct, NesC is an embedded programming language
used to program motes (as presented in
http://nescc.sourceforge.net/papers/nesc-pldi-2003.pdf)
     Does this mean that TOSSIM is intended to be run on the motes as well?

Thanks,
Tal

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to