In general Yes and No...

Yes. sendDone will wait for an ACK from the receiver and timeout on failure,
however, in T1 at least, only the msg.ack field will indicate this.

No. When messages are NOT point-to-point ACKs are not used. If you BCAST
a message sendDone doesn't wait and the receiver(s) don't ACK.

MS

Yi-Tao Wang wrote:
Hi,

I'm a bit unclear about the PacketAcknowledgements interface. If I do
requestAck() for synchronous acknowledgments. Does that mean that
sendDone won't be signaled until the sender gets an ack from the
destination? And in the case where the destination is everyone, does
it only wait for 1 ack?

Thanks,

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

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to