On Mar 6, 2007, at 9:40 AM, Tiago Camilo wrote:
Hey list,
I am writing a tinyOS program where I usually check some sensors
readings. I am using boomerang with a tmote from moteiv. I have two
timers, each one responsible to call a sensor reading:
-call ADCTemperature.getData() and call ADCTemperature.getData(),
if the timers occur at the same the -async event result_t
ADCHumidity.dataReady(uint16_t data) event is called but the event:
-async event result_t ADCTemperature.dataReady(uint16_t data) is
never called.
Is this a normal procedure? How can I workaround such behavior, is
it possible? Or the only solution is not set the timer at the same
time?
Thanks in advance.
It sounds like the boomerang ADC drivers don't allow concurrent
requests (they follow the 1.x model of pushing failure conditions to
the higher layer). Chances are the ADCTemperature.getData() call
doesn't return SUCCESS? If it returns SUCCESS then it is probably a bug.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help