>  > Hi to all,
>  > I would like to ask if somebody could tell me the relationship
>  > between the error_t result of the AMSend.sendDone and the
>  > PacketLink.wasDelivered methods..There could be a situation where
>  > AMSend.sendDone has SUCCESS but PacketLink.wasDelivered is not? Is
>  > it when the message has been correctly sent
>  > PacketLink.getMaxRetries() times but there was no acknowledgments?
>
>  Yes. SUCCESS on sendDone indicates the packet was transmitted; it does
>  not indicate whether it was received.
>

There is also the PacketAcknowledgements interface. Philip's reply
makes sense because packets (for cc2420) don't get an acknowledgement
(which you can check in AMSend.sendDone) unless you specifically ask
for one.

I don't know if there is a relationship between this and
PacketLink.wasDelivered.

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

Reply via email to