Re: [Tinyos-help] Changing transmit power at run time

2006-11-07 Thread Kannan Srinivasan
If I am not mistaken, CC2420Packet interface provides this feature in tinyos-2.x. You can access it using the CC2420ActiveMessageC component. Kannan. Quoting Tan, Chiang Kang [EMAIL PROTECTED]: Hi all, Does anyone know why the capability to change the transmit power of CC2420 at run

[Tinyos-help] Micaz Antenna Impedance.

2006-10-25 Thread Kannan Srinivasan
Hi All, Does anyone know what the input impedance of a micaz mote is? Thanks, Kannan. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Help in Understanding Code

2006-09-11 Thread Kannan Srinivasan
Hi Sumit, I believe the code is correct. The first call of the timer triggers it after a random duration. This is to keep the durations different for different nodes. But once it is triggered you repeatedly call the single shot timer with a deterministic duration. This deterministic duration will

Re: [Tinyos-help] how to convert raw LQI value?

2006-09-08 Thread Kannan Srinivasan
The standard simply says that LQI has to be between 0 and 255. It does not say how it is calculated. The raw value you get from CC2420 (CORR) is between 40 and 110. A simple thing to do might be to find 'a' and 'b' such that the final value is between 0 and 255. To get a more meaningful value

[Tinyos-help] Regarding Logging data in flash.

2006-09-07 Thread Kannan Srinivasan
Hi, I wrote a tinyos-2.x code for Crossbow Telos Rev B mote to log some data and to read it back after a chunk (16*16 bytes of data) is written. I am using the CircularLog. My LogWrite.Append, LogWrite.AppendDone and LogWrite.sync all seem to work fine. After the sync is successful, I try to read

[Tinyos-help] A warning when compiling .nc file.

2006-09-01 Thread Kannan Srinivasan
Hi, When I compiled my nesc code for telosb I get the following warning: /opt/tinyos-2.x/tos/chips/msp430/usart/HplMsp430UsartInterrupts.nc:49: warning: control reaches end of non-void function Some of my Uart based communication are working but others are not. I am debugging to see if there is

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under Oscilloscope): $ javac Oscilloscope.java Oscilloscope.java

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
version in the CLASSPATH, it just was later in the path than the older version and caused me errors. Cheers. -jay On 8/18/06, Kannan Srinivasan [EMAIL PROTECTED] wrote: Quoting Philip Levis [EMAIL PROTECTED]: On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead

[Tinyos-help] Tinyos-2.x Upgrade.

2006-08-17 Thread Kannan Srinivasan
Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the environment variables as: TOSROOT=/opt/tinyos-2.x export TOSROOT TOSDIR=$TOSROOT/tos export TOSDIR export