[Tinyos-help] What does SUCCESS refer to?

Muhammad Azhar leo_az_83 at hotmail.com
Sat Feb 17 04:46:57 PST 2007


Hi...
   Thanks for ur reply, but I can't find MacControl in tinyos 2.  Instead, I 
found this interface - PacketAcknowledgements .  Looks easy to use, but I'm 
not sure where it should be wired to.  Should it be wired to LinkLayerC 
(i.e. PacketAcknowledgements -> LinkLayerC) or should it be wired to 
somewhere else?
   Thanks in advance.

Regards,
Azhar



>From: Pablo Gil Montaño <pgilmon at yahoo.es>
>To: Muhammad Azhar <leo_az_83 at hotmail.com>,  tinyos-help_list 
><tinyos-help at millennium.berkeley.edu>
>Subject: Re: [Tinyos-help] What does SUCCESS refer to?
>Date: Fri, 16 Feb 2007 11:14:37 +0000 (GMT)

>
>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
>
>
>
>
>




More information about the Tinyos-help mailing list