Improve repeater alerts and delivery reliability
This commit is contained in:
1 parent
da00a00436
commit
5a2aa592ea
13 files changed
+338
-23
No files matched your search
+6
-1
@@ -344,7 +344,12 @@ void Dispatcher::checkSend() {
|
||||
}
|
||||
|
||||
if (!millisHasNowPassed(next_tx_time)) return;
|
||||
if (_radio->isReceiving()) {
|
||||
|
||||
Packet* pending = _mgr->peekNextOutbound(_ms->getMillis());
|
||||
bool channel_busy = pending != NULL && usePassiveChannelCheck(pending)
|
||||
? _radio->isReceivingPassive(getRetryInterferenceMargin())
|
||||
: _radio->isReceiving();
|
||||
if (channel_busy) {
|
||||
if (cad_busy_start == 0) {
|
||||
cad_busy_start = _ms->getMillis(); // record when CAD busy state started
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user