diff --git a/cube/User/Src/mqttComm.c b/cube/User/Src/mqttComm.c index 846bbc4..9edcf16 100644 --- a/cube/User/Src/mqttComm.c +++ b/cube/User/Src/mqttComm.c @@ -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(); + } } diff --git a/cube/pubsubc b/cube/pubsubc index 1ac129a..9e22556 160000 --- a/cube/pubsubc +++ b/cube/pubsubc @@ -1 +1 @@ -Subproject commit 1ac129a02743d20b8d185fb41b7ee7b1ea85d412 +Subproject commit 9e22556d369dc7f0a19a53713378e5f20bbeea59 diff --git a/error1.txt b/error1.txt new file mode 100644 index 0000000..ed28205 --- /dev/null +++ b/error1.txt @@ -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 +