mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-07-27 11:30:56 +00:00
Refine trace and group data retries
This commit is contained in:
@@ -393,6 +393,8 @@ void Dispatcher::processRecvPacket(Packet* pkt) {
|
||||
if (!queueOutboundPacket(pkt, priority, _delay)) {
|
||||
onSendFail(pkt);
|
||||
releasePacket(pkt);
|
||||
} else if (pkt->isRouteDirect() && pkt->getPayloadType() == PAYLOAD_TYPE_TRACE) {
|
||||
onTracePacketQueuedForSend(pkt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -554,6 +556,9 @@ bool Dispatcher::sendPacket(Packet* packet, uint8_t priority, uint32_t delay_mil
|
||||
releasePacket(packet);
|
||||
return false;
|
||||
}
|
||||
if (packet->isRouteDirect() && packet->getPayloadType() == PAYLOAD_TYPE_TRACE) {
|
||||
onTracePacketQueuedForSend(packet);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user