Wifi provisioning manager

karunt
Posts: 93
Joined: Sat Apr 03, 2021 7:58 am

Wifi provisioning manager

Postby karunt » Mon Jan 23, 2023 4:15 pm

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?

User avatar
mbratch
Posts: 303
Joined: Fri Jun 11, 2021 1:51 pm

Re: Wifi provisioning manager

Postby mbratch » Mon Jan 23, 2023 7:52 pm

Looks to me like the example just hasn't been updated. I use `esp_event_handler_instance_register` in my wifi provisioning code.

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot], ok-home and 102 guests