Refactor retry handling (#702)
* add NukiRetryHandler * apply retry wrapper to opener wrapper * apply retry wrapper to all opener communication * apply retry wrapper to all lock communication * remove commented out code * replace millis() with espMillis() in wrapper classes
This commit is contained in:
@@ -806,7 +806,7 @@ bool NukiNetwork::reconnect(bool force)
|
||||
if (_device->mqttConnected())
|
||||
{
|
||||
Log->println("MQTT connected");
|
||||
_mqttConnectedTs = millis();
|
||||
_mqttConnectedTs = espMillis();
|
||||
_mqttConnectionState = 1;
|
||||
if (esp_task_wdt_status(NULL) == ESP_OK)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user