[Tinyos-help] sendDone() called before receive

Thang Le nt7272 at yahoo.com
Sun Apr 1 19:02:56 PDT 2007


  From my understanding, in TinyOS 1.1.15, SendDone is invoked when the package is successfully queued at the sender. Even without any receiver, SendDone is still called.
   
  
Bibudh Lahiri <bibudh at gmail.com> wrote:
    
Faisal,
    I'm not sure, but my guess is sendDone() is invoked at the src when the MAC-layer ACK is received by the sender. The MAC layer ACK is always rcvd from the one-hop neighbor, because MAC is not concerned about end-to-end message delivery. So in case of multi-hop routing, it appears to u that sendDone() is called before the frame is received at destination. 
                                                                                                                      Bibudh
   
  On 4/1/07, Faisal Karim <shaikh_fk at yahoo.com> wrote:       Hi All

Im using TinyOS 1.1.15, can anybody tell me why this behavior is encountered for sendDone()

When the source is in one hop from destination the packet is received by destination first than sendDone is called at source. But in case when source is more than one hop away sendDone is called before it is received at destination, which is correct operation. Can someone put light on this. 
   
      Regards 
Shaikh, Faisal Karim 




  
 


  
---------------------------------
  Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 


_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070401/324b6948/attachment.htm


More information about the Tinyos-help mailing list