Report radio recovery refusal after receive ownership changes
This commit is contained in:
1 parent
21bb3e8a66
commit
dcfa31bb50
4 files changed
+93
-15
No files matched your search
@@ -86,6 +86,7 @@ struct RadioLibWrapper {
|
||||
bool _rx_ps_enabled = false, _rx_ps_armed = false, _rx_hold_continuous = false;
|
||||
bool _rx_ps_continuous_fallback = false, _nf_calib_active = false;
|
||||
bool _rx_boosted_gain_valid = true, _cur_rx_boosted_gain = true;
|
||||
bool _noise_floor_valid = true, _noise_floor_secondary_valid = true;
|
||||
bool _wd_last_busy = false;
|
||||
uint8_t _startrx_fails = 0, _irq_probe_failures = 0;
|
||||
uint32_t _rx_retry_at = 0;
|
||||
@@ -159,7 +160,10 @@ struct RadioLibWrapper {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
void resetAGC() { ++resets; }
|
||||
void doResetAGC() { ++resets; }
|
||||
bool isPacketPendingOrReceiving() { return hasPendingRadioInterrupt() || isReceivingPacket(); }
|
||||
bool resetAGCIfIdle();
|
||||
void resetAGC();
|
||||
void idle() { modem.standby(); state = STATE_IDLE; }
|
||||
uint8_t beginReconfigure();
|
||||
bool restoreAfterDeepInit();
|
||||
@@ -338,6 +342,8 @@ class BeaconRadioTest(unittest.TestCase):
|
||||
"uint8_t RadioLibWrapper::beginReconfigure()",
|
||||
"bool RadioLibWrapper::restoreAfterDeepInit()",
|
||||
"bool RadioLibWrapper::recoverRadio(bool hard)",
|
||||
"bool RadioLibWrapper::resetAGCIfIdle()",
|
||||
"void RadioLibWrapper::resetAGC()",
|
||||
"void RadioLibWrapper::startRecv()",
|
||||
"bool RadioLibWrapper::startSendRaw(const uint8_t* bytes, int len)",
|
||||
"void RadioLibWrapper::onSendFinished()",
|
||||
|
||||
Reference in new issue
Block a user