letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.26k stars 2.21k forks source link

LoRa TTN RN2483 sometimes hangs #3225

Open TD-er opened 4 years ago

TD-er commented 4 years ago

The RN2483 sometimes does seem to hang. It is very hard to reproduce, but when it happens, each attempt to send data (Delay queue C018) takes roughly 2 seconds, while it normally would only need 60 msec to process the C018 delay queue.

Another symptom is the message count does not increase.

If there is a reset pin connected, try to reset the node. This may result in a needed OTAA, which may not always be possible, so there are some drawbacks to this approach.

Maybe performing a serial baud rate sync may also get the RN2483 out of this limbo state?

TD-er commented 4 years ago

The device will report "busy" over and over again. Forcing a reset (via reset pin) does work to get the unit respond again. So no need to power cycle.