mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-06-29 04:31:38 +00:00
* ACK packets being 'clipped' (in Dispatcher send). Needed to extend max_airtime timeout calc for short packets
This commit is contained in:
@@ -26,6 +26,11 @@ public:
|
||||
return rssi;
|
||||
}
|
||||
|
||||
uint32_t getEstAirtimeFor(int len_bytes) override {
|
||||
auto airtime = RadioLibWrapper::getEstAirtimeFor(len_bytes);
|
||||
return airtime < 200 ? 200 : airtime; // at least 200 millis
|
||||
}
|
||||
|
||||
void onSendFinished() override {
|
||||
RadioLibWrapper::onSendFinished();
|
||||
_radio->setPreambleLength(preambleLengthForSF(getSpreadingFactor())); // overcomes weird issues with small and big pkts
|
||||
|
||||
Reference in New Issue
Block a user