restart on watchdog

This commit is contained in:
Wolfgang Hottgenroth 2020-12-26 22:09:27 +01:00
parent dcedd1badf
commit d6cd63083d
3 changed files with 26 additions and 1 deletions

View File

@ -37,6 +37,8 @@ void watchdogHandler(void *handle) {
} else {
coloredMsg(LOG_RED, true, "No watchdog received in between, booting the system ...");
// boot the system
HAL_NVIC_SystemReset();
}
}

@ -1 +1 @@
Subproject commit 1ac129a02743d20b8d185fb41b7ee7b1ea85d412
Subproject commit 9e22556d369dc7f0a19a53713378e5f20bbeea59

23
error1.txt Normal file
View File

@ -0,0 +1,23 @@
mbc papf [55591 83] sts: Specific to manufacturer Error 1
mbc papf [55591] Energy is 4412980.0 Wh (441298 * 10^1)
mbc papf [55591] Voltage is 227.0 V (227 * 10^0)
mbc papf [55591] Current is 0.2 A (2 * 10^-1)
mbc papf [55591] Power is 110.0 W (11 * 10^1)
mbc papf [55591] Error ratio is 0.00
mqp: {"Status":"Ok", "RequestId":"55591", "Device":"Dishwasher", "Errors":"3", d
mbc mcr [55592] new request Light (84)
mbc papf [55592] Energy is 4374680.0 Wh (437468 * 10^1)
mbc papf [55592] Voltage is 224.0 V (224 * 10^0)
mbc papf [55592] Current is 0.6 A (6 * 10^-1)
mbc papf [55592] Power is 120.0 W (12 * 10^1)
mbc papf [55592] Error ratio is 0.00
mqp: {"Status":"Ok", "RequestId":"55592", "Device":"Light", "Errors":"2", "Requd
mqsp: publishing status
mqch, publish returned 1
Watchdog received in between
clientStop: disconnect returns 0xfffffffb, invalid response, ignore it
ch che socket state is 0x00
mqch, initializing mqtt client
mqch: mqtt c
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | tyUSB0