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 <[EMAIL PROTECTED]>
To: Muhammad Azhar <[EMAIL PROTECTED]>, tinyos-help_list
<[email protected]>
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 <[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