[Tinyos-help] How do I calculate RSSI value from received message

2007-10-01 Thread Peizhao Hu
Hi all, as suggested in the mailing list, I retrieved the received RSSI value from the message structure and showed it in my application. the value is captured and stored into a struct of the basestation node and forward to my application through a nx_uint16_t type variable.

[Tinyos-help] Problems with tutorial 10

2007-10-01 Thread mejda chouaieb
Hello, I have windows Media Center Edition and I installed JN-SW-4027 SDK with CLI (jennic bash shell) (link : http://www.jennic.com/support/view_section.php?sectionID=10) because I'm working with jennic motes, then I Installed Tinyos 2.x, I followed the manual steps (with RPMs) in

RE: [Tinyos-help] Acoustic Localization

2007-10-01 Thread Michael Collett
Hi Azhar, It's been a while since I worked on this but my understanding is: *The chirps are added on top of each other at the raw data level. This is to increase the signal to noise ratio. *The sample rate of the microphone is determined by ADC.getContinuousData() and is 15kHZ (I think) *The

[Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Liron Elmaleh
Hi, I'm trying to measure the time that a task is running. For this issue I'm printing a message using the function sim_time_string() in the begining the end of the runTask function, but even when I'm using a task with a big loop in it, I still see that the difference is 0. How can I get the

[Tinyos-help] problems with yamp

2007-10-01 Thread mejda chouaieb
Hello All, I have windows Media Center Edition and I installed JN-SW-4027 SDK with CLI (jennic bash shell) (link : http://www.jennic.com/support/view_section.php?sectionID=10) because I'm working with jennic motes, then I Installed Tinyos 2.x, I followed the manual steps (with RPMs)

Re: [Tinyos-help] non-continous usage

2007-10-01 Thread Ákos Maróy
Philip Levis wrote: Here's a starter on how to write a low-power app: http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson16.html thanks... I tried to get the LowPowerSensing tutorial app mentioned at the end of this page from CVS, but it doesn't seem to be there :( is this tutorial

Re: [Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Chad Metcalf
Its very likely that what you are trying to time happens in fractions of a second so small they won't show up in sim_time_string. Use sim_time() and then divide the result by sim_ticks_per_sec() You probably will get an extremely small number. Chad On 10/1/07, Liron Elmaleh [EMAIL PROTECTED]

Re: [Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Philip Levis
On Oct 1, 2007, at 5:01 AM, Liron Elmaleh wrote: Hi, I'm trying to measure the time that a task is running. For this issue I'm printing a message using the function sim_time_string() in the begining the end of the runTask function, but even when I'm using a task with a big loop in it, I

Re: [Tinyos-help] non-continous usage

2007-10-01 Thread Kevin Klues
Its definitely there. I just reran the set of commands mentioned at the end of the tutorial: cd $TOSROOT/apps/tutorials cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P -d LowPowerSensing tinyos-2.x/apps/tutorials/LowPowerSensing

RE: [Tinyos-help] CC2420 Radio

2007-10-01 Thread David Moss
Rx is default for everything. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Tiago Sent: Sunday, September 30, 2007 6:45 PM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] CC2420 Radio Hi, When the cc2420 radio is turned on , in

[Tinyos-help] Atmega 128 I2C

2007-10-01 Thread Philip Levis
Following the consensus that came out of the discussion on -devel, I've changed the atmega128 I2C stack to assume that 7-bit I2C addresses are right-aligned, and not left aligned. This means that if you have driver code which uses the I2C, you will most likely need to change how you pass the

[Tinyos-help] Strange error when rename CC2420ActiveMessageC.nc

2007-10-01 Thread LE KHAC HIEU
Hi, I have a strange error which I don't know how to interprete. I changed the RadioCountToLeds to use the CC2420ActiveMessageC.nc directly and it works. Then I created another copy of CC2420ActiveMessageC as CC2420ActiveMessageMineC and try to use it in RadioCountToLeds. Even though I didn't

[Tinyos-help] Is the C serialforwarder (sf) broken?

2007-10-01 Thread Ali Shah
Hey guys, I recently checked out a new cvs version and the c serialforwarder program doesn't allow one to connect to it, disconnect form it, and connect to it again. It just hangs when trying to reconnect? Is this a new feature that I missed or a bug? Ali

re: [Tinyos-help] problems with yamp

2007-10-01 Thread Daniel Widyanto
Hi, `ncc` and `tos-ident-flags` is installed in /usr/bin by default (not sure whether they put it in the same place for Cygwin or not). Check where these two programs lie on your system, and make sure that their path are included. Thus, I think if you open cygwin shell, it will run .bashrc in

[Tinyos-help] compiling issues

2007-10-01 Thread JON GORZITZE
Hi, I have just purchased a new laptop with Windows XP. I have dowloaded the TinyOS software and am running into problems when I try to compile the Blink program. I get the following message: Couldn't execute avr-gcc make: *** [exe0] Error 2 I am new to TinyOS and am not familiar with the

[Tinyos-help] Re: Time measurment in TOSSIM

2007-10-01 Thread Christian Brenninkmeijer
Hi Liron, We are switching to Avrora for our time and power measurements. See http://compilers.cs.ucla.edu/avrora/ Liron said: Hi, I'm trying to measure the time that a task is running. For this issue I'm printing a message using the function sim_time_string() in the begining the end of the