I can't opine on T2 because I don't use it.
I would hope that the semantics are similar,
in which case, with ACKs enabled, you should
see true/false on the indicator where false
would be a timeout. In T1 this increases the
time between send and done by the timeout length.

MS

Andrey Gursky wrote:
> 
>>> If you have ACKs enabled and are sending point-to-point messages
>>> then sendDone() is signaled after the ACK is received or times out.
>>> Otherwise, w/o ACKs, and for BCAST messages, sendDone() is signaled
>>> when the transmitter is finished sending.
>>
>> Is it hopefully possible to distinguish between received ACK and 
>> timeout? With value in error definitely not. But maybe there is some 
>> function (for CC2420 and RF230), could be called in sendDone to get 
>> the answer whether it was ACK or timeout?
>>
> 
> Michael, I've seen your answer regarding ack, but it was for T1. I've 
> forgotten to mention I use T2. It should be something like 
> msg->..?..->cc2420.ack in sendDone() for MicaZ? And is there also ack 
> for IRIS?
> 
> Andrey
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to