mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge e01c6a5a29 into dee3e26ac0
This commit is contained in:
commit
58eef2e792
19 changed files with 143 additions and 17 deletions
|
|
@ -258,7 +258,7 @@ float MyMesh::getAirtimeBudgetFactor() const {
|
|||
}
|
||||
|
||||
int MyMesh::getInterferenceThreshold() const {
|
||||
return 0; // disabled for now, until currentRSSI() problem is resolved
|
||||
return 1; // non-zero enables hardware CAD (Channel Activity Detection) before TX
|
||||
}
|
||||
|
||||
int MyMesh::calcRxDelay(float score, uint32_t air_time) const {
|
||||
|
|
|
|||
|
|
@ -151,6 +151,10 @@ protected:
|
|||
|
||||
uint32_t calcFloodTimeoutMillisFor(uint32_t pkt_airtime_millis) const override;
|
||||
uint32_t calcDirectTimeoutMillisFor(uint32_t pkt_airtime_millis, uint8_t path_len) const override;
|
||||
uint32_t getCADFailMaxDuration() const override {
|
||||
if (_radio->isJapanMode()) return UINT32_MAX; // JP LBT: no forced TX — channel must be free per ARIB STD-T108
|
||||
return Dispatcher::getCADFailMaxDuration();
|
||||
}
|
||||
void onSendTimeout() override;
|
||||
|
||||
// DataStoreHost methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue