Establish WiFi connection to AP with strongest radio signal
Posted: Tue Jan 12, 2021 11:23 pm
Dear all,
I started a week ago with ESP32-Camera module (AI Thinker) and the application should send a photo by eMail every once in a while. The code is generally working, however, I have huge problems with the WiFi connection.
We live an a large farmers house with barns ad I need fife AP (all with the same SSID) to get good coverage of the property. The network is set up with a FritzBox using Fritz Mesh. It works perfect with all our mobile devices ...
I have a simple code basically unsing WiFi.begin(SSID, PWD) to connect to WiFi.
What I discover is, that the ESP32 connects in an unpredictable way to any on the APs and most often to those far away. This leads to very poor network speed and often, connection is lost during eMial sending.
I googled a lot and found that people frequently report such issues since years but I did not find any working solution. I even tried to Connect with WiFi.begin(SSID, pwd, 0, Bssid) and selected the Bssid of the AP which was just two meters away - this did not get any connection at all.
Does anybody know a working solution for a networks with several AP with the same SSID and getting the ESP32 connecting automatically to the strongest AP or is it known the the ESP32 with the WiFi.h lib is useless in such a network?
Thanks al lot for a working solution,
Thomas
I started a week ago with ESP32-Camera module (AI Thinker) and the application should send a photo by eMail every once in a while. The code is generally working, however, I have huge problems with the WiFi connection.
We live an a large farmers house with barns ad I need fife AP (all with the same SSID) to get good coverage of the property. The network is set up with a FritzBox using Fritz Mesh. It works perfect with all our mobile devices ...
I have a simple code basically unsing WiFi.begin(SSID, PWD) to connect to WiFi.
What I discover is, that the ESP32 connects in an unpredictable way to any on the APs and most often to those far away. This leads to very poor network speed and often, connection is lost during eMial sending.
I googled a lot and found that people frequently report such issues since years but I did not find any working solution. I even tried to Connect with WiFi.begin(SSID, pwd, 0, Bssid) and selected the Bssid of the AP which was just two meters away - this did not get any connection at all.
Does anybody know a working solution for a networks with several AP with the same SSID and getting the ESP32 connecting automatically to the strongest AP or is it known the the ESP32 with the WiFi.h lib is useless in such a network?
Thanks al lot for a working solution,
Thomas