Hello,
I am using Tinyos-1.x with a MicaZ mote and trying to measure RSSI at high
rates, I've posted about this before and am slowly getting closer to my
goal. Right now when I use TimerC, I am unable to get a measurement any
faster than 4ms. Clearly I'm running into a limitation of TimerC or need to
modify something or use another timing function (should I use AlarmC?)
Here is the relevant code:
command result_t StdControl.start() {
// Start a repeating timer that fires every 1000ms
return call Timer.start(TIMER_REPEAT, 1);
}
basically what happens is the timer simply doesn't work, i.e. Timer.fired()
isn't triggered. I'm trying to understand why this happens, is it linked to
the micaz's timer or what is it that limits TimerC from going much faster
than 4ms.
Thanks,
Nick
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help