LAN8720: Add code to wait for IP address

This commit is contained in:
technyon
2024-07-12 13:27:16 +02:00
parent ef878592c1
commit 4165ef8803
5 changed files with 31 additions and 4 deletions

View File

@@ -185,6 +185,7 @@ void NukiNetworkLock::onMqttDataReceived(const char* topic, byte* payload, const
if(_network->mqttRecentlyConnected() && _network->pathEquals(_mqttPath, mqtt_topic_lock_action, topic))
{
Log->println("MQTT recently connected, ignoring lock action.");
return;
}
if(comparePrefixedPath(topic, mqtt_topic_reset) && strcmp(value, "1") == 0)