[Tinyos-help] CC1000RadioIntM question?

2007-01-22 Thread Nedal
I figured out the basic idea in CountSleepRadio application is to start and stop the CommStdControl() or CommControl() at appropriate times, say 2 seconds. And this application works. I have one basic same question and problem, which I was having in implementing the alternate application,

[Tinyos-help]How to improve the frequency of Timer.fired()

2007-01-22 Thread Zhang Yan
I am using Tinyos-1.x with a MicaZ mote and trying to do some work at high rates. But when I use the TimerC, it seems that the timer couldn't work when the interval is below 4 milli second. It means that when I use codes as follows, command result_t StdControl.start() {

[Tinyos-help] The best way to send messages using SP (Sensornet Protocol)

2007-01-22 Thread Jón Grétar Guðjónsson
Hello all, I've been writing code to send messages using the Sensornet Protocol. I'm struggling with sending a large buffer (don't want to use Spram) of data from a mote to matlab. Anyway, I send chunks of the large data buffer, residing on the mote, and combine the chunks in matlab to rebuild

Re: [Tinyos-help]How to improve the frequency of Timer.fired()

2007-01-22 Thread David Moss
There are timing problems when a timer is below 4 ms - I believe it was due to the microcontroller not being able to keep up with executing code that quickly. If you look at the code that gets executed when you call Timer.start(..), one of the first tests is to make sure you're not trying to

Re: [Tinyos-help]How to improve the frequency of Timer.fired()

2007-01-22 Thread Michael Schippling
Ok, I'm Beginning to See the Light here... I was using TOS1.7 to make my robots on mica2's and a 1ms interval setting worked just great. But then I tried the code on micaz (and had to upgrade to 1.10 to do so) and there indeedy is the if( ... interval = 2 ) no-go; So I gave up and stuck like

Re: [Tinyos-help]How to improve the frequency of Timer.fired()

2007-01-22 Thread Cory Sharp
Quick answer: If you need timing resolution on the order of ones of milliseconds, you should be using a hardware timer in TOS1 or an Alarm in TOS2. Also note, for Telos/Tmote the 3 check is in 32khz units, not 1khz units. Response to the odd comment: Atomic sections cannot prevent the issue

[Tinyos-help] tinyos Help

2007-01-22 Thread Aaron Jones
to whom it may concern, I am a graduate researher at The City College of New York of The City University of New York(Cuny).I would like to actuate an external sensor using the sloid state relays of the mda300ca sensor board. I would like to know how to program the mote to trigger the

[Tinyos-help] TOS 1.1.15: Clock/Times and PowerTOSSIM

2007-01-22 Thread Bernd-Christian Renner
Hi list, I've got three questions concerning TinyOS 1.1.15: 1.) Clock and Time: Is there a simple way to obtain some sort of time (in ms)? I does not matter, if it is the time since boot or a global time. It's just some relative time in ms I need and does not have to be exact, i.e. it does

Re: [Tinyos-help]How to improve the frequency of Timer.fired()

2007-01-22 Thread Michael Schippling
I suppose it's all moot at this point as (it sounds like) T2 uses some different approaches. But...I remember distinctly using T1.7 on mica2 and timing my ADC conversions vs 1ms TimerC ticks quite solidly with a logic analyzer. And that was with a fair amount of calculation taking place in each

[Tinyos-help] Tossim architecture in TinyOS 2.0

2007-01-22 Thread [EMAIL PROTECTED]
The architecture described in TOSSIM: Accurate and Scalable Simulation of Entire TinyOS Applications is also valid for Tossim in TinyOS 2.0? Thanks a lot for any help. Salvo -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone

RE: [Tinyos-help] The best way to send messages using SP (Sensornet Protocol)

2007-01-22 Thread Jón Grétar Guðjónsson
I see it now, you are right, it was a bug in my code causing it to send the same message over and over again. Thanks :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Polastre Sent: 22. janúar 2007 18:16 To: Jón Grétar Guðjónsson Cc:

Re: [Tinyos-help] make micaz sim compilation problem (declaration of 'link' shadows global declaration)

2007-01-22 Thread Philip Levis
On Jan 22, 2007, at 9:37 AM, Antonio wrote: Hi, we are two Italian students, novice to tinyOS world. We have installed tinyOS and nesC in a WindowsXP PC, so we had to install cygwin first. We followed with attention the installation guide we have found in this site. Then , to test if

[Tinyos-help] Lqi calculation

2007-01-22 Thread Shuo Xiao
Hi all, I'd like to know how to calculate the values of lqi in metadata header of CC2420 in tinyos 2.0. Is it relevant to the value of rssi? I got some values listed as follows from experiments: rssi 3A 3E 3F 40 lqiDF D9 D7 CE Thanks in advance shuo

[Tinyos-help] using dbg() to execute python commands

2007-01-22 Thread jamesonjlee
Hi, Does anyone know if there is a way to use the dbg() statements to have TOSSIM run arbitrary commands in python? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Lqi calculation

2007-01-22 Thread Philip Levis
On Jan 22, 2007, at 5:30 PM, Shuo Xiao wrote: Hi all, I'd like to know how to calculate the values of lqi in metadata header of CC2420 in tinyos 2.0. Is it relevant to the value of rssi? I got some values listed as follows from experiments: rssi 3A 3E 3F 40 lqiDF D9 D7 CE

[Tinyos-help] High Frequency Sampling using TOSSIM

2007-01-22 Thread Robert Stewart
Hi I am trying to use a mica2dot to perform some high frequency sampling. I have been trying to use the High Frequency Sampling example program and have modified it to work on a mica2dot. There are some bugs in the code though and I have been trying to debug it using TOSSIM. The problem that I