On Jan 18, 2007, at 4:29 PM, ricardo tiago wrote:
OK. Can you add "Gain" as a debug channel (along with the other
ones you're using) and send me the output (preferably gzipped)?
That should help me try to track down the problem.
There was a problem along these lines about 10 months ago, and I
thought I had solved it. There might be a rare edge case
remaining, though.
Phil
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
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help