PacketAcknowledgments.requestAck() enables acknowledgement. But as a caveat, even if the ack is enabled and error==SUCCESS, it does not guarantee the message has been sent to receiver. After the transmitter sends out the message it will wait for a period of ACK_WAIT (some constant defined like this) for the ack. However if the ack does not come during this period it will still signal(SUCCESS). Dr. Philip, correct me if I am wrong.
Tie On 11/16/06, Philip Levis <[EMAIL PROTECTED]> wrote:
On Nov 15, 2006, at 8:26 AM, Tao Wu wrote: > Would you please tell to enable acknowledgement when sending > message? Thanks a lot. > > Best If you are using tinyos-2.x, I recommend reading tutorial 3. It talks about the PacketAcknowledgments interface and how to use it. Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- Regards, Tie
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
