thanks, I had the same problem, after the update I changed it to: ARDUINO_EVENT_WIFI_AP_STACONNECTED ARDUINO_EVENT_WIFI_AP_STADISCONNECTED