esp_wifi_set_auto_connect deprecated???

JayLogue
Posts: 19
Joined: Sat Apr 21, 2018 4:44 pm

esp_wifi_set_auto_connect deprecated???

Postby JayLogue » Fri Aug 30, 2019 3:58 pm

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?

JayLogue
Posts: 19
Joined: Sat Apr 21, 2018 4:44 pm

Re: esp_wifi_set_auto_connect deprecated???

Postby JayLogue » Tue Sep 03, 2019 8:07 pm

Ping. Any comment from the Espressif folks?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: esp_wifi_set_auto_connect deprecated???

Postby WiFive » Tue Sep 03, 2019 11:42 pm

Did it ever really do anything except set a persistent variable? You could set your own NVS variable.

JayLogue
Posts: 19
Joined: Sat Apr 21, 2018 4:44 pm

Re: esp_wifi_set_auto_connect deprecated???

Postby JayLogue » Wed Sep 04, 2019 12:36 am

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.

Philbot
Posts: 10
Joined: Fri Nov 08, 2019 2:14 pm

Re: esp_wifi_set_auto_connect deprecated???

Postby Philbot » Sun Nov 10, 2019 8:04 pm

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.

Who is online

Users browsing this forum: Bing [Bot] and 131 guests