mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-24 01:42:33 +00:00
new rx busy latch
This commit is contained in:
1 parent
a6d095bc16
commit
3441caf8b0
17 files changed
+556
-125
No files matched your search
@@ -27,6 +27,13 @@ public:
|
||||
virtual bool isInRecvMode() const = 0;
|
||||
virtual bool isReceiving() { return false; }
|
||||
virtual bool isRadioReady() { return true; }
|
||||
|
||||
/* Reset the radio back into a known good RX state. Called by the
|
||||
* Dispatcher on CAD timeout (when isReceiving() pinned true past the
|
||||
* recovery threshold). Default no-op — radios that can stall should
|
||||
* override to walk the chip through cancel → REST → fresh RX, which
|
||||
* also bulk-clears IRQ status and any internal busy latches. */
|
||||
virtual void recoverRxState() {}
|
||||
virtual float getLastRSSI() const { return 0; }
|
||||
virtual float getLastSNR() const { return 0; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user