WiFi start/stop

Paladin
Posts: 23
Joined: Fri Jan 13, 2017 8:45 pm

WiFi start/stop

Postby Paladin » Mon Jun 26, 2017 2:23 am

I've a got a data logging application in which I only need the wifi to come on once an hour to transmit data updates. The esp32 is configured as a station connecting to an access point. Can I simply alternate between esp_wifi_stop() and esp_wifi_start() to accomplish this, or do I need to additionally include esp_wifi_disconnect & esp_wifi_connect()?

Additionally, going through the examples, I've just discovered the smartconfig/ESP-TOUCH example and am eager to implement this as part of the project. from my reading of the example the smart configuration happens at start-up, when the users phone is running the ESP-Touch app, and once the configuration is set, it deletes the configuration task. Is that correct? and is the implication that to set the wifi to a different SSID and password via the app, you'd need to reset the esp32/powercycle?

Who is online

Users browsing this forum: No registered users and 83 guests