Thank you very much Pedro!

 

Liu

 

From: Pedro Nunes [mailto:[email protected]] 
Sent: Thursday, June 17, 2010 9:30 PM
To: liujinzhi
Cc: [email protected]
Subject: Re: [Tinyos-help] A simple question about "import _TOSSIM" in file:
TOSSIM.py,

 

Hi, Liu.

 

To the best of my knowledge, _TOSSIMmodule.so is a Shared Object (.so) and
it is native code. Therefore, there is no "original .py file" - the .so file
IS the .py file (please, anyone correct me if I'm wrong).

 

Regards,

Pedro Nunes

On Thu, Jun 17, 2010 at 3:44 AM, liujinzhi <[email protected]>
wrote:

Thank you Pedro..

 

I noticed that there is the binary file  _TOSSIMmodule.so. Do you mean the
import __TOSSIM  wires to the compiled _TOSSIMmodule.so ? Then if so, where
is the original .py file?

 

Liu

 

From: Pedro Nunes [mailto:[email protected]] 

Sent: Wednesday, June 16, 2010 10:46 PM

To: [email protected]

Cc: [email protected]


Subject: Re: [Tinyos-help] A simple question about "import _TOSSIM" in file:
TOSSIM.py,

 

Hi.

 

Try to search for _TOSSIMmodule.so (it should be on the same folder as
TOSSIM.py).

 

Regards,

Pedro Nunes

Hi,



I studied python for several days by now. But still, I can figure out the
where is the corresponding file of _TOSSIM.* lies?

Exiting email said that the _TOSSIM module is a native C code generated by
C. but I searched the whole ubutun, no result.



Could somebody give me an answer.



My aim is to add channel switch delay in Tossim.(It seems there is no
corresponding method about channel switching). But I can get stuck in
figuring out where should I start from.



Thank you in advance.



Liu

 

 

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

Reply via email to