Comments on: ESP32 Useful Wi-Fi Library Functions (Arduino IDE) https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 03 Feb 2025 10:32:25 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Ken https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-1004970 Mon, 03 Feb 2025 10:32:25 +0000 https://randomnerdtutorials.com/?p=101782#comment-1004970 In reply to Sara Santos.

To be more specific… hold down the reset and boot buttons, release the reset button, then the boot button.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-1004969 Mon, 03 Feb 2025 10:25:53 +0000 https://randomnerdtutorials.com/?p=101782#comment-1004969 In reply to sameer.

Hi.
Try pressing the ESP32 BOOT button before trying to upload the code.
Close any other Arudino IDE instances and serial monitor before trying to upload the code.
Regards,
Sara

]]>
By: sameer https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-1004957 Mon, 03 Feb 2025 09:49:15 +0000 https://randomnerdtutorials.com/?p=101782#comment-1004957 When i am trying to upload the code from arduino ide to esp32 nodemcu wifi board, it is showing that the board is not in download mode or board is in wrong mode. What should i do? Can anyone please help me out?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-990221 Mon, 09 Dec 2024 21:57:24 +0000 https://randomnerdtutorials.com/?p=101782#comment-990221 In reply to Mike_MCS.

Hi.
Make sure that you have the ESP32 or ESP8266 boards installed in your Arduino IDE.
Additionally, make sure you select the right board in Tools > Board before uploading your code.
Regards,
Sara

]]>
By: Mike_MCS https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-990136 Mon, 09 Dec 2024 15:00:39 +0000 https://randomnerdtutorials.com/?p=101782#comment-990136 I’ve been away from Arudion for a while, and I think I must have forgotten a lot!
I was following your sketch to get the RSSI data, but I keep getting “Wifi.h: no such file”, tried ESP8266WIFI.h, same result.

]]>
By: isaa https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-972088 Tue, 15 Oct 2024 05:58:39 +0000 https://randomnerdtutorials.com/?p=101782#comment-972088 In reply to Sara Santos.

hi Sara ,hi Rui
first , thank you for these tutorials, priceless
the problem i am having with esp32 WiFi connection is that unless you connect through a computer and read the ip address from serial monitor , then you dont know the address to search for
off course you can program it with an static IP as long as you use it on your network, but i am not sure what will happen if you connect it to another network
i have also found out that although my esp32 dev module is connected to Wifi and i can reach it through browser, it is hidden in the routers wifi list
recently i installed FluidNC on a similar unit and i can reach it by simply putting “FluidNC.local” in the search bar
i am wondering if a similar approach can be implemented in general
can i have your thoughts, please?
and finally why is esp32 hidden in wifi network

]]>
By: SAVORNIN https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-958396 Tue, 17 Sep 2024 09:23:54 +0000 https://randomnerdtutorials.com/?p=101782#comment-958396 Hello, congratulations for your site, thanks to which I start to learn things in the field of ESP32. I have several questions about WiFi (and in particular the use of WPS). My configuration is as follows: I have an ESP32, an I2C OLED screen, and a push button. The hardware configuration works, I launched several basic examples (with SSID and Password) which work perfectly.
What I want now to obtain: after pressing the WPS button on my box, and by pressing the push button associated with the ESP32, I want to retrieve the SSID and the password:
* Have you developed such an example (ESP32 + push button) in your site?
* How to use the WPS.ino example in practice?
Thanks for your help

]]>
By: Deniz Gezmis https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-914597 Sun, 12 May 2024 03:30:04 +0000 https://randomnerdtutorials.com/?p=101782#comment-914597 Hi, great tutorials. Much appreciated.
Wondering if you could answer an ESP qustion puzzlings me for sometime.

I recall ESP8266’s only core, and, ESP32’s first core constrantly runs wifi stack.
When a connection drops:
(a) does the wifi stack on core/firmware re-establishes the connection automatically?
(b) or, it is user’s responsibiility to check connection constantly and reconnect in a loop, if necessary?
(c) or, when wifi library used, does the library makes further connections automatically?

Any comments? Thanks,.

]]>
By: roberto https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-897553 Sun, 10 Mar 2024 13:54:33 +0000 https://randomnerdtutorials.com/?p=101782#comment-897553 Hello,
i’m looking to understand why the ESP32 still connected to low rssi AP instead the near one wit strong rssi. Roaming function is supported and working ? i try with google but it’s not so clear situation. Honestly i need also to understand if depend from local WiFi network that seem need to support roaming function.
Suggestion ?

]]>
By: Tony Scarpelli https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/#comment-861776 Thu, 21 Sep 2023 16:20:38 +0000 https://randomnerdtutorials.com/?p=101782#comment-861776 In reply to Jeff Addleman.

I have a working weather station using ESP32 boards using ESP_Now.
One of the things I have to do in the transmitter code is this:
#include <WiFi.h>
#include <Wire.h>
#include <esp_now.h>
#include <esp_wifi.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>

esp_now_peer_info_t peerInfo; // This is important. Keep this early

Hope this helps a little.

]]>