I don't know if the WiFi is enabled...
When I get a new ESP32, the WiFi could be enabled.
I want to disable it, if enabled. Or at least be sure it is disabled.
Search found 9 matches
- Mon Jan 09, 2023 4:19 pm
- Forum: ESP32 Arduino
- Topic: Good approach to disable WiFi?
- Replies: 9
- Views: 16619
- Mon Jan 09, 2023 4:06 pm
- Forum: ESP32 Arduino
- Topic: Good approach to disable WiFi?
- Replies: 9
- Views: 16619
Re: Good approach to disable WiFi?
Oh yes. It seems to work. But why return an error code if it works? #include "esp_wifi.h" void setup() { esp_wifi_set_mode(WIFI_MODE_NULL); ... } this will disable the WiFi (I lost only 85kb from the flash and 9kb of RAM). https://github.com/espressif/esp-idf/blob/4c98bee8a4417d92a387ef2416be14ff1fd...
- Mon Jan 09, 2023 8:21 am
- Forum: ESP32 Arduino
- Topic: Good approach to disable WiFi?
- Replies: 9
- Views: 16619
Re: Good approach to disable WiFi?
No it doesn't work.
To be able to use this function, I need to use:
With this call, I loose all the memory (400kb) on the ESP32.
I will wait for the ESP32-P4
To be able to use this function, I need to use:
Code: Select all
esp_wifi_init(cfg);
I will wait for the ESP32-P4
- Thu Dec 22, 2022 3:08 pm
- Forum: ESP32 Arduino
- Topic: Good approach to disable WiFi?
- Replies: 9
- Views: 16619
Re: Good approach to disable WiFi?
Do you mean, I should write a "lite" WiFi library?bidrohini wrote: ↑Mon Dec 19, 2022 10:16 amHere is a thread that may help: https://esp32.com/viewtopic.php?t=25515
I am able to disable the WiFi, but if I use the library to disable the WiFi, the sketch is much bigger and I loose also 25kb of RAM.
- Mon Dec 19, 2022 9:02 am
- Forum: ESP32 Arduino
- Topic: Good approach to disable WiFi?
- Replies: 9
- Views: 16619
Good approach to disable WiFi?
Hi, As the ATMega is always more expensive, there is no reason to use it anymore in projects. Even if you don't need WiFi or BT. And now my question. On some projects I don't need the WiFi. I can reduce the consumption to 50mA. I can deactivate the WiFi with: #include <WiFi.h> void setup() { WiFi.di...
- Thu Dec 05, 2019 4:29 pm
- Forum: Showcase
- Topic: Esptools GUI
- Replies: 5
- Views: 28664
Esptools GUI
Hi, As I work a lot with partitions I wrote a tool able to request some info from module. I converted all Python-Espressif-scripts to exes and wrote a simple windows application to call the exes over a GUI. It is open source, and if Espressif doesn't like that I copy the scripts inside GitHub, I can...
- Fri Aug 30, 2019 1:08 pm
- Forum: ESP-IDF
- Topic: SSL Certificate Renewal
- Replies: 14
- Views: 29437
Re: SSL Certificate Renewal
Thank you for your answer. I'm glad this works for you, but from a security perspective you might as well disable HTTPS certificate checking in the client. Is it possible also in the Arduino IDE? I am getting "connection refused" if the certificate is not valid. It would be nice to have a feature li...
- Thu Aug 29, 2019 3:27 pm
- Forum: ESP-IDF
- Topic: SSL Certificate Renewal
- Replies: 14
- Views: 29437
Re: SSL Certificate Renewal
I don't know if it is a good solution, but I am developing it in this way: 1. load certificate from SPIFFS. 2. connect to HTTPS_WEBPAGE. 3. if it fails, I connect to HTTP_WEBPAGE/cer.php to download the new certificate. 4. save the new certificate in the SPIFFS. 5. reboot ESP32 It is simple to creat...
- Thu Aug 29, 2019 1:12 pm
- Forum: Showcase
- Topic: Utility for SSL certificate
- Replies: 0
- Views: 12113
Utility for SSL certificate
If you need a certificate for your ESP32, you have to download it over some tools like openssl. I created a webpage, so you can download your certificate directly from this webpage. Just insert the https server (like https://www.esp32.com) and you will get the certificate and some info about it like...