I think it's signalled after the last byte has been successfully released
over radio.

Have a look at CRCPacket.nc

-Brian


On Sun, Apr 6, 2008 at 11:50 AM, Gaurav Chhawchharia <
[EMAIL PROTECTED]> wrote:

> Hello all,
>
> I am working with tinyos-1.x and using tmote sky.
>
> I wanted to know when exactly is sendDone signaled. Is it signaled
> when the last bit is transmitted over the radio or when the message is
> transfered to radio and waiting to be transmitted over air or
> something else?
>
> I was under the impression that sendDone is signaled when the message
> is transmitted over the radio (air) but I came across this code for
> timestamping where the call to add timestamp is done inside the
> implementation of the event sendDone.
>
> event result_t SendMsg.sendDone(TOS_MsgPtr mptr, result_t res) {
>        call TimeStamp.addStamp(mptr,SEND_OFFSET);
>        return res;
> } // End event SendMsg.sendDone()
>
> Clearly, if Timestamping is done after sendDone is signaled, it means
> that the message is still not transmitted over air.
>
> Kindly help.
>
> Thanks in advance,
>
> Gaurav
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to