How to get Wifi / IP events in every place / class in code
Posted: Mon Jul 25, 2022 3:57 pm
Hi,
I don't unfortunately search engine doesn't work (I get white screen every time) so can't find the solution. I've created http client class for requests and I want to check internet connection before any req send, but I can't get any wifi / ip event. If register event handler instance
Thanks a lot!
I don't unfortunately search engine doesn't work (I get white screen every time) so can't find the solution. I've created http client class for requests and I want to check internet connection before any req send, but I can't get any wifi / ip event. If register event handler instance
In handler I've got switch with Wifi events but don't get any of it. Can somebody explain me what I'm doing wrong?ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, event_handler, NULL, NULL));
Thanks a lot!