Page 1 of 1

Wifi provisioning manager

Posted: Mon Jan 23, 2023 4:15 pm
by karunt
WIfi provisioning manager example in the latest release uses esp_event_handler_register to register event handler. But event loop api reference document mentions that this function is now obsolete and should be replaced with esp_event_handler_instance_register() instead. Any reason it's still being used in the example in the latest release or is it just oversight that it hasn't been updated yet in the example?

Re: Wifi provisioning manager

Posted: Mon Jan 23, 2023 7:52 pm
by mbratch
Looks to me like the example just hasn't been updated. I use `esp_event_handler_instance_register` in my wifi provisioning code.