[Tinyos-help] waiting for sendDone

2009-06-07 Thread Akankshu Dhawan
Respected All I have a large buffer and I am sending slices of that using AMSend.sendDone .. Before sending or preparing the next packet I am suppose to wait for sendDone . I wanted to know how I can do this ? Regards Akankshu Dhawan ___ Tinyos-help mail

Re: [Tinyos-help] waiting for sendDone

2009-06-08 Thread Rémi Villé
With a global variable ? if(!busy) { ... In the sendDone event => busy = FALSE; ? tutorial at http://docs.tinyos.net/index.php/Mote-mote_radio_communication ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley