ricaun / LoRaNow

LoRaNow Library is a simple LoRa Node <> Gateway communication protocol.
http://loranow.com/
MIT License
63 stars 21 forks source link

SF dont Work after power reboot. #16

Open henning84 opened 3 years ago

henning84 commented 3 years ago

Heii

Nice library :)

If I set SF to something else like 7, then the gateway forgets it, as soon as you take the power from the device (tested on esp32 + esp8266) after the power reconnect, It start to receive on SF 7 again..? It works fine on the Node. here it holds the SF after a power cycle. Any idears?

I have try to reset the ESP 100%. Try SF 8, 9, 10, 11 and 12 - same behavier. Try to chance the default SF in the library - same behavier.

TRudolphi commented 3 years ago

I just use this function in the setup:LoRaNow.setSpreadingFactor(LoraSf);

If the gateway reboots, the setup is running again and the SF is set again. Or do you mean something else?

I use my gateway only at SF7, so I did not see it for my self.