Page 1 of 1

esp_wifi_set_auto_connect deprecated???

Posted: Fri Aug 30, 2019 3:58 pm
by JayLogue
Later versions of esp-idf mark the esp_wifi_get_auto_connect() and esp_wifi_set_auto_connect() functions as deprecated. However no mention is made of an alternate API in either the comments or the commit message.

How is one supposed to control WiFi auto-connect in modern versions of esp-idf?

Re: esp_wifi_set_auto_connect deprecated???

Posted: Tue Sep 03, 2019 8:07 pm
by JayLogue
Ping. Any comment from the Espressif folks?

Re: esp_wifi_set_auto_connect deprecated???

Posted: Tue Sep 03, 2019 11:42 pm
by WiFive
Did it ever really do anything except set a persistent variable? You could set your own NVS variable.

Re: esp_wifi_set_auto_connect deprecated???

Posted: Wed Sep 04, 2019 12:36 am
by JayLogue
Did it ever really do anything except set a persistent variable?

Unclear, since the source isn't included. Would like to hear that from the horse's mouth, though.

Re: esp_wifi_set_auto_connect deprecated???

Posted: Sun Nov 10, 2019 8:04 pm
by Philbot
Did anyone ever get any joy on this one?

I'm new, so if esp_wifi_set_auto_connect() is a no starter with no replacement it would be good to know.

Phil.