kizniche / ttgo-tbeam-ttn-tracker

TTGO T-Beam Tracker for TTN Mapper and TTN Tracker using US (915 MHz) and EU (868 MHz) frequencies
https://kylegabriel.com/projects/2019/04/lorawan-tracker-and-mapper.html
GNU General Public License v3.0
266 stars 143 forks source link

Spreading Factor Increases on OTAA with ADR off #10

Closed tkerby closed 2 years ago

tkerby commented 5 years ago

I've noticed that over time the data rate/SF increases up to SF10 with ADR turned off (set to 0) in the config file. I'm using OTAA join and have tried LMIC 2.3.2 and 3.0.99 from the MCCI repositories. I've tried setting interrupts both on and off in LMIC to see if its timing related.

See image below from the gateway. The number of packets received before the data rate increases is variable but I see some rejoin failed messages on the screen and message discarded (presumably through airtime constraints) in operation.

image

tkerby commented 5 years ago

My thought on this is that to receive link dead messages in the lcd, link checking must be enabled. Could this be causing the SF to increase even with ADR off?

tkerby commented 5 years ago

I made a mod to turn off link checks but I'm not seeing an improvement and it still increases SF

void ttn_adr(bool enabled) { LMIC_setAdrMode(enabled); LMIC_setLinkCheckMode(!enabled); }

ctandi commented 3 years ago

@tkerby Have you found a fix by now? I'm running into the same issue. Thanks.

Migi5700 commented 3 years ago

Hi everyone, I have the same problem here, the DR_SF goes up and down. Changing the DR_SF in the configuration.h file has also no effect, it is always starting at SF7. I'm not sure if this is ADR, because I never saw a downlink-message, but I dont know if you see the ADR-messages at the TTN traffic-console. Anyone can help :-) Greetings

ciphermaster commented 3 years ago

Hi everyone. Same issue here. I have tried everything but the SF remains on SF7. It does not matter if I have enabled ADR or Not. I have also disabled LMIC_setLinkCheckMode(0) but no change. LMIC Library is on the latest version.

BjoernSch commented 3 years ago

I made a mod to turn off link checks but I'm not seeing an improvement and it still increases SF

void ttn_adr(bool enabled) { LMIC_setAdrMode(enabled); LMIC_setLinkCheckMode(!enabled); }

This enables link checking if ADR is disabled.

gougakos commented 1 year ago

Hi everyone. Same issue here. I have tried everything but the SF remains on SF7. It does not matter if I have enabled ADR or Not. I have also disabled LMIC_setLinkCheckMode(0) but no change. LMIC Library is on the latest version.

have you to fixed the stuck SF7 issue. No matter what i try it always sends only to sf7. I opened https://github.com/kizniche/ttgo-tbeam-ttn-tracker/issues/55 regarding this.