Open q127981 opened 2 days ago
Catch the same BL-RST-SOFTWARE-WATCHDOG on BL602.
You cannot disable software watchdog, it always works; what is our mqtt config? does it contain dns name? could you try replacing it with IP?
You cannot disable software watchdog, it always works; what is our mqtt config? does it contain dns name? could you try replacing it with IP?
Yes, I disabled the watchdog and it still works.
My mqtt config:
host mqtt.xxxxx.com port 1883 username xxxx password xxxx
I changed host to ip, and this problem never occurred again. thank you very much!
@giedriuslt
@openshwprojects maybe we can make dns resolution for mqtt asynchronous? Now it's in the main loop, and if slow (or no-internet) causes reboot
I have a BL602 device. After configuring wifi and mqtt information for the device, the device works normally. Then disconnect the WiFi Internet (keep the device connected to WiFi), and the device will restart frequently and automatically. The reason for displaying the error is: BL-RST-SOFTWARE-WATCHDOG But I have disabled the watchdog, it should not work. I want to ask how to prevent the device from being restarted frequently when the connected WiFi has no Internet?
The log of the device is always lost after reboot. I can't get the reason why the device restarts frequently from the log.
Firmware: