Hi,
I am having RAK11720 with Arduino IDE. i need to use the WDT. the api have the wdt function but it is not working. what am i supposed to do.
What RUI3 version?
How are you using the WDT?
What command do you use to enable the WDT and reset the WDT?
for the AT+VER=?
it gives AT+VER=RUI_4.1.0_RAK11720
for the WDT activation api.system.wdt.enable(10000);
for reset api.system.wdt.reset();
Can you update RUI3 to the latest released which is V4.1.1. If I remember correct, V4.1.0 had the functions calls, but the WDT was not implemented.
I tested (on V4.2.0 staging) and it works. Setting the WDT to 8 seconds, timer resets WDT 5 times, then stops to reset it ==> reboot
16:27:51:282 -> RAKwireless RUI3 Node
16:27:51:282 -> ------------------------------------------------------
16:27:51:288 -> Setup the device with WisToolBox or AT commands before using it
16:27:51:294 -> ------------------------------------------------------
16:27:51:302 -> [AT_CMD] Read send interval 0X00 0X00 0X00 0X00
16:27:51:407 -> [AT_CMD] Send interval found 0
16:27:51:515 -> [SETUP] Confirmed enabled
16:27:51:610 -> [SETUP] Retry = 0
16:27:51:711 -> [SETUP] DR = 2
16:27:51:832 -> [Setup] Enable Watchdog
16:27:51:832 ->
16:27:51:934 -> Current Work Mode: LoRaWAN.
16:27:59:434 -> [Setup] Reset Watchdog
16:27:59:434 ->
16:28:07:041 -> [Setup] Reset Watchdog
16:28:07:041 ->
16:28:14:638 -> [Setup] Reset Watchdog
16:28:14:638 ->
16:28:22:240 -> [Setup] Reset Watchdog
16:28:22:240 ->
16:28:24:267 -> +EVT:JOIN_FAILED_TX_TIMEOUT
16:28:24:374 -> [JOIN-CB] LoRaWan OTAA - join fail!
16:28:24:376 ->
16:28:29:843 -> [Setup] Reset Watchdog
16:28:29:843 ->
16:28:37:443 -> [Setup] Skip reseting Watchdog
16:28:37:445 ->
16:28:41:401 ->
16:28:41:401 ->
16:28:41:401 ->
16:28:45:360 -> +EVT:JOIN_FAILED_TX_TIMEOUT
16:28:45:522 -> [JOIN-CB] LoRaWan OTAA - join fail!
16:28:45:524 ->
16:28:46:406 -> RAKwireless RUI3 Node
16:28:46:406 -> ------------------------------------------------------
16:28:46:412 -> Setup the device with WisToolBox or AT commands before using it
16:28:46:418 -> ------------------------------------------------------
16:28:46:425 -> [AT_CMD] Read send interval 0X00 0X00 0X00 0X00
16:28:46:530 -> [AT_CMD] Send interval found 0
16:28:46:632 -> [SETUP] Confirmed enabled
16:28:46:733 -> [SETUP] Retry = 0
16:28:46:834 -> [SETUP] DR = 2
16:28:46:956 -> [Setup] Enable Watchdog
16:28:46:956 ->
16:28:47:058 -> Current Work Mode: LoRaWAN.
16:28:54:558 -> [Setup] Reset Watchdog
16:28:54:558 ->
i updated the RUI3 V4.1.1 now it works.
Thanks for the quick reply
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.