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

Reply via email to