mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* added Radio::loop() virtual function
* RadioLibWrapper: new isChannelActive() based on current RSSI being above noise_floor + THRESHOLD
This commit is contained in:
parent
2f8d9cf96a
commit
f2243b78ae
10 changed files with 60 additions and 9 deletions
|
|
@ -9,6 +9,9 @@ public:
|
|||
bool isReceivingPacket() override {
|
||||
return ((CustomLLCC68 *)_radio)->isReceiving();
|
||||
}
|
||||
float getCurrentRSSI() override {
|
||||
return ((CustomLLCC68 *)_radio)->getRSSI(false);
|
||||
}
|
||||
float getLastRSSI() const override { return ((CustomLLCC68 *)_radio)->getRSSI(); }
|
||||
float getLastSNR() const override { return ((CustomLLCC68 *)_radio)->getSNR(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue