Lately y copied this code to my main program and I got the error 'arduino [E][WiFiGeneric.cpp:654] hostByName(): DNS Failed for ...' If I call the OTA code at the program beginning it works ok, if I setup the camera (I'm using a ESP32-CAM by AI Thinker) the OTA code fai...
LLHost host; host.setHostByName(hostStr);// reverse DNS will likely result in appending of some// sub-domain to the main hostname. so look for// the main domain name and not do the exact comparestd::stringhostname = host.getHostName(); ensure("getHostName failed", hostname.find(ho...