* added Radio::loop() virtual function

* RadioLibWrapper:  new isChannelActive() based on current RSSI being above noise_floor + THRESHOLD
This commit is contained in:
Scott Powell 2025-05-24 21:24:44 +10:00
parent 2f8d9cf96a
commit f2243b78ae
10 changed files with 60 additions and 9 deletions

View file

@ -9,6 +9,11 @@ public:
bool isReceivingPacket() override {
return ((CustomLR1110 *)_radio)->isReceiving();
}
float getCurrentRSSI() override {
float rssi = -110;
((CustomLR1110 *)_radio)->getRssiInst(&rssi);
return rssi;
}
void onSendFinished() override {
RadioLibWrapper::onSendFinished();