Hi,

I have some questions regarding the event handler of SubSend.sendDone in CTP
forwarding engine:
  event void SubSend.sendDone(message_t* msg, error_t error) {
...
    if (qe == NULL || qe->msg != msg) {
      dbg("Forwarder", "%s: BUG: not our packet (%p != %p)!\n",
__FUNCTION__, msg, qe->msg);
      sendDoneBug();      // Not our packet, something is very wrong...
      return;
//Why CTP engine gives up because of just one error, even it's serious? Why
not recover by resetting "sending" to FALSE and try to repost sendTask()?
    }
...

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

Reply via email to