Hi, SUCCESS refers to the packet being successfully sent, but it tells you nothing about the reception of the packet. In order to know whether the packet was received or not, you should activate link-level ACKs by using MacControl.enableACK(). Then you will be able to know if an ACK was receive by examining the field ack in the TOS_Msg structure given by sendDone().
I have tested this on Mica2 motes, I cannot tell you if it works on other motes. Regards, Pablo Gil ----- Mensaje original ---- De: Muhammad Azhar <[EMAIL PROTECTED]> Para: [email protected] Enviado: viernes, 16 de febrero, 2007 7:13:15 Asunto: [Tinyos-help] What does SUCCESS refer to? Hi, I know this is a rather basic question, but does SUCCESS in the return value of AMSend.send(x, y, sizeof(z)) refer to the fact that this node has successfully sent the packet (but may not have reached the receiver) or does it mean that the packet sent from this node has successfully reached its receiver? If it's the latter, then it'll really make my life easier :P Thanks Azhar _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
