Dear Vikram,
You wait for sendDone. You should not send a new message until sendDone 
is called for the first message.
Usually people send more message from within sendDone.

best regards,

-- 
Faisal Aslam

University of Freiburg
http://cone.informatik.uni-freiburg.de/people/aslam/


Vikram vik76 wrote:
> Hello,
>
> How do I send multiple messages ( say two messages) one after the other?
> The send statements in my code are one after the other.
> Is there any queuing in tinyos which will take care of this automatically?
> Because, when the second message is sent, the first message may still 
> be using the radio.
>
> Thanks
> Regards
> Vikram
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to