Hi,
is it possible to turn OFF the WiFi Radio on ESP32 and esp-idf ?
Cannot find the related API
Turn OFF WiFi on ESP32 with esp-idf
Re: Turn OFF WiFi on ESP32 with esp-idf
Applications start up without automatically starting WiFi. If you don't want it, just don't start it.
Re: Turn OFF WiFi on ESP32 with esp-idf
Sorry, I did not understand.
Is the a function to call in order to stop the WiFi ?
Is the a function to call in order to stop the WiFi ?
-
- Posts: 5
- Joined: Sat Feb 06, 2021 2:02 am
Re: Turn OFF WiFi on ESP32 with esp-idf
Both of the following are used to start and stop the wifi in ESP examples. Look for the start in your code somewhere that is starting it and comment it out or use the stop command when you want to stop it.
esp_err_t results = esp_wifi_start();
esp_err_t results = esp_wifi_stop();
esp_err_t results = esp_wifi_start();
esp_err_t results = esp_wifi_stop();
Re: Turn OFF WiFi on ESP32 with esp-idf
esp_err_t results = esp_wifi_stop();
This worked correctly, thanks!
This worked correctly, thanks!
Who is online
Users browsing this forum: No registered users and 228 guests