mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* new Dispatcher::getCADFailRetryDelay()
This commit is contained in:
parent
be2af61dfe
commit
189ed79d46
13 changed files with 55 additions and 15 deletions
|
|
@ -12,8 +12,11 @@ public:
|
|||
idle(); // put sx126x into standby
|
||||
// do some basic CAD (blocks for ~12780 micros (on SF 10)!)
|
||||
bool activity = (((CustomLLCC68 *)_radio)->scanChannel() == RADIOLIB_LORA_DETECTED);
|
||||
idle();
|
||||
|
||||
if (activity) {
|
||||
startRecv();
|
||||
} else {
|
||||
idle();
|
||||
}
|
||||
return activity;
|
||||
}
|
||||
float getLastRSSI() const override { return ((CustomLLCC68 *)_radio)->getRSSI(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue