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 <[email protected]>

> 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
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to