Arduino-HomeKit-ESP32
Arduino-HomeKit-ESP32 copied to clipboard
"Not Response" in iPhone Home.app
I am using the example from the library. I added ESP32 to my Home.app on the iPhone. Everything worked fine. After restarting ESP32, I get the message "Not Response" on my iPhone, usually 2 or 3 ESP32 restarts help and I can control the built-in LED again.
I have found this problem arises when sockets is less than 1 (0 or -1).
I suppose this problem could be related to this: https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/9#issuecomment-625093576
But what is the equivalent method to MDNS.announce() in the "ESPmDNS.h" library?