Here's the output. Hope this helps.

I think it does. Can you change this function in TossimPacketModelC.nc:


  event bool GainRadioModel.shouldAck(message_t* msg) {
    if (running) {
      return signal Packet.shouldAck(msg);
    }
    else {
      return FALSE;
    }
  }


to be

  event bool GainRadioModel.shouldAck(message_t* msg) {
    if (running && !transmitting) {
      return signal Packet.shouldAck(msg);
    }
    else {
      return FALSE;
    }
  }

It looks like I fixed the reception version of this problem (take a look at the receive() event), but didn't fix the ack one. Let me know if this works? If it does I'll check in the fix.

Phil

Yeah, looks like you forgot the ack.. :) i have changed the code, i will do some tests to see if this fix it. I will get back to you..

Ricardo

_________________________________________________________________
MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br

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

Reply via email to