[Tinyos-help] Please help

Qiyuan Zhang qiyuan711 at gmail.com
Thu Apr 8 23:23:11 PDT 2010


who should set sendflag back to 0, in Channel.sendDone()?
if so, you can post a task there.

Regards,

Qiyuan

On Fri, Apr 9, 2010 at 4:43 AM, avinash chaurasia <
avinash.aviank2003 at gmail.com> wrote:

> I have the following code
> if (sendflag==0) {
>             sendflag=1;
>             call Channel.send(node_s,msg);
>             dbg("DBG_USR1","node%d send answer to node%d.\n",sID,node_s);
>         }
> when sendflag =1 it skips the this part of code and never send a reply.
> I wanted to send reply later when sendflag=0. I tried task also but it is
> not working properly on tossim
>
>
> Thanks
> Avinash Kumar Chaurasia
> Department of Computer Science
> IIT Kanpur, India
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100409/91e5a248/attachment.htm 


More information about the Tinyos-help mailing list