Describe the bug
MQTT decoder reconnect due to new endpoint parameters from server configuration sometimes freezes causing wathdog triggering.
To Reproduce
Remove the conditional MQTT endpoint update policies in client decoder.c:
LOG_TERSE("Setting up MQTT endpoints and properties" CR);
if (strcmp(xmlconfig[XML_DECODER_MQTT_URI], networking::getMqttUri())){
Serial.printf("XXXXXXXX Setting MQTT broker\n");
setMqttBrokerURI(xmlconfig[XML_DECODER_MQTT_URI], true);
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
......
Repeatedly reboot the decoder until the mqtt loop-, or the system watchdog triggers.
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
- Browser [e.g. stock browser, safari]
Additional context