[Tinyos-help] question on LQI function of CC2420

2008-04-11 Thread Baozhi Chen
We know that the LQI is calculated by the first 4 bytes of the packet. But how is the LQI obtained ( I mean exact formula or procedure to derive it)? Does anyone have any idea on it? It is not defined on IEEE 802.15.4. Thanks. Baozhi ___ Tinyos-help mail

[Tinyos-help] Link Quality Estimation on Tossim

2008-03-11 Thread Baozhi Chen
Hi guys, I plan to do simulations on Tossim. Unfortunately, I found that there is no LQI support on it. Neither does IEEE 802.15.4 or CC2420 data-sheet provide a model for LQI. Does anyone know good models/references to build up LQI functions on Tossim? Thanks a lot. Philip __

[Tinyos-help] Can tossim simulate activities for two frequency channels at the same time?

2008-03-11 Thread Baozhi Chen
As far as my understanding for the Tossim source code, it cannot simulate activities for two or more frequency channels at the same time. Right? Any comments are welcome! Philip ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://ww

[Tinyos-help] [help] wiring CC2420Config, CC2420Packet, CC2420PacketBody etc to my codes

2008-03-11 Thread Baozhi Chen
Hi, I want to wire components like CC2420Config, CC2420Packet, CC2420PacketBody, CC2420ControlC in my code. For example, in my configuration, I do the following configuration ABC{ }implementation{ components CC2420ControlC; } However, the compiler always reports not find them. How do I

[Tinyos-help] Can we turn off the CC2420 hardware CRC byte generation and use some other channel coding such as FEC?

2008-01-12 Thread Baozhi Chen
As we know, the CRC can be automatically generated by CC2420. I wonder if we can use some other codes such as forward error correction codes instead of CRC. Is it possible to do this on TinyOS or TOSSIM? When can I make the revision (i.e. which files and functions need changes)? Thanks. ___

[Tinyos-help] How to incorporate C or C++ library into my nesC program

2007-12-27 Thread Baozhi Chen
For example, can I call some function in the external C/C++ library in my nesC program? How to do it if it is possible? This may be a nit-pick problem but it would be a great help for advancing my project. Thanks. ___ Tinyos-help mailing list Tinyos-hel

[Tinyos-help] Can we change the channel BER during the simulation of TOSSIM (cont.)

2007-12-20 Thread Baozhi Chen
something like a Rayleigh fading model? Thanks. Baozhi On Dec 20, 2007 5:32 AM, Baozhi Chen <[EMAIL PROTECTED]> wrote: > Hi, > > As I read the documents by Dr. Levis (written in 2003), I found that it > seems you can not change the BERs during the simulation. > For example,

[Tinyos-help] Can we change the channel BER during the simulation of TOSSIM

2007-12-20 Thread Baozhi Chen
Hi, As I read the documents by Dr. Levis (written in 2003), I found that it seems you can not change the BERs during the simulation. For example, if I want to model a time-varying channel instead of static channel, I will need to change the BER during simulation. So far from the documents, a confi

[Tinyos-help] tinyos platform IBMJava connection with MySQL problem?

2006-10-31 Thread Baozhi Chen
Dear all,I was working on a Java program which stores the data from the Micaz/Mote network into mysql database. I used the mysql-connector-java-3.1.14-bin.jar for the jdbc driver.There is nothing wrong with compiling the Java program. But when I run the program, there is a problem with the DriverMa