[Tinyos-help] What does SUCCESS refer to?

Pablo Gil Montaño pgilmon at yahoo.es
Fri Feb 16 03:14:37 PST 2007


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 <leo_az_83 at hotmail.com>
Para: Tinyos-help at Millennium.Berkeley.EDU
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
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070216/4b469ca7/attachment.htm


More information about the Tinyos-help mailing list