Issue:
RAK4270 works right after a power on but it join fails after a few days.
Setup:
RAK4270 + ESP32
Uplink period :
every 15 minutes
Gateway :
RAK7289
Server:
chirpstack
Details:
Hi, I’m suffering the join problem.
I’ve encountered very strange issue. that is, RAK4270 module not joins after a few days.
My ESP32 sends at command following sequence:
at+set_config=device:sleep:0 // WakeUp
at+set_config=device:restart // restart
at+set_config=lora:dev_addr:bc8f0c8b // to decrease DevNonce Error
at+join // join
at+send=lora:1:000000003c8b43a0 // send
at+set_config=device:sleep:0 // sleep
It works perfect when i connect or load power with OK response. but a few days later, It returns ERROR:80 to the command “at+join”.
what more weird is, if i disconnect power and connect it again, it works perfect. and raises ERROR:80 after a few days again…
I’m really curious about what causes this issue.
so i connected two RAK4270s to Raspberry pi and collected logs. it turns out that the RAK4270 doesn’t responce for 10 seconds to the “at+join”. then the problem begins…I don’t know how long it will send ERROR:80 but this is very important problem…
It seems not a problem of gateway / network.
I’m guessing the command provokes the error.
“at+set_config=lora:dev_addr:bc8f0c8”,
“at+set_config=device:restart”