[Tinyos-help] Alarm32khz32C produces some warnings
Ittipong Khemapech
ik.tinyos at googlemail.com
Mon Feb 9 09:19:49 PST 2009
Thank you for your help. I'm trying AlarmToTimerC and get stuck due to 'not
connected' errors. Any detailed examples around?
Ittipong
2009/2/9 Greg Hackmann <gwh2 at cse.wustl.edu>
> Ittipong Khemapech wrote:
> > *1st: called asynchronously*
> >
> > Payload.getPayload called asynchronously from DataSendAlarm.fired
> > AMSend.send called asynchronously from DataSendAlarm.fired
>
> You should read Section 4.5 of the TinyOS Programming Guide
> (http://www.tinyos.net/tinyos-2.x/doc/pdf/tinyos-programming.pdf) if it
> isn't clear why you're getting this warning.
>
> The simplest fix is to move all of your computations from
> DataSendAlarm.fired() into a task. Then handle the
> DataSendAlarm.fired() event by posting that task. Or, you could use
> TinyOS's built-in AlarmToTimerC component to transform the Alarm
> interface into a Timer interface.
>
> Greg Hackmann
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090209/e4ba883c/attachment.htm
More information about the Tinyos-help
mailing list