sendDone will signal SUCCESS if the message TRANSMITS successfully, not
necessarily if it is RECEIVED successfully.
If you want to check if the ACK has been received, you need to check
that (msg->ack == 1).

Hope this helps,

Bryn Smith

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arijit
Ghosh
Sent: Saturday, 30 September 2006 6:38 AM
To: [email protected]
Subject: [Tinyos-help] ACK in TOSSM


Hello,

Can someone please help me in understanding the
ACK-ing procedure in TOSSIM? I have 4 nodes. A is
sending a message to B that B never acknowledges (for
good reason). C sends a message to D which D
acknowledges. Immediately after that, sendDone is
signaled in A with SUCCESS. Does that mean that the
ACK from D is picked up by A as the latter is waiting
for its own ACK and incorrectly assumes that its B who
is sending the ACK?

Thanks ...

"Do the best you can, with what you have, where you are." -- Roosevelt

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel
p

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

Reply via email to