Harden retry, region, radio, and alert logic
This commit is contained in:
1 parent
5a2aa592ea
commit
b9e7e416be
37 files changed
+1192
-311
No files matched your search
@@ -198,6 +198,15 @@ void Dispatcher::loop() {
|
||||
}
|
||||
checkRecv();
|
||||
checkSend();
|
||||
releaseDroppedOutbound();
|
||||
}
|
||||
|
||||
void Dispatcher::releaseDroppedOutbound() {
|
||||
Packet* dropped;
|
||||
while ((dropped = _mgr->getNextDroppedOutbound()) != NULL) {
|
||||
onSendFail(dropped);
|
||||
releasePacket(dropped);
|
||||
}
|
||||
}
|
||||
|
||||
bool Dispatcher::tryParsePacket(Packet* pkt, const uint8_t* raw, int len) {
|
||||
|
||||
Reference in new issue
Block a user