How to turn OFF WiFi Accesspoint on Olimex ESP32-EVB #763
-
|
My BSB-LAN ist running on an Olimex ESP32-EVB via LAN. But it still opens an WiFi-Accesspoint (SSID is something like "ESP32_666FA3"). I want to turn WiFi completely off, but I can't find a setting for that on the Web-Gui. I tried to turn on "Energiesparmodus" but that did not help. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
|
It only creates an access point if the network connection fails otherwise, for example you set up a LAN connection, but there is no LAN connected or it got disconnected or cannot connect to WiFi. This is to prevent users from locking out from their system and saves me a lot of troubleshooting times. It stays active for 30 minutes only, then the device reboots and retries to connect regularly again. Based on the other potential security risks that come along with microcontrollers like the ESP32 (see our Wiki), this is negligible and thus is a feature, not a bug. |
Beta Was this translation helpful? Give feedback.
-
|
That shouldn't be the case. If you look at the code, it only establishes the AP if the ESP32 does not have any other connection anymore. Please post a Serial Monitor log right from boot-up. If the AP is set up, it'll print a message with the according information. Then we can see under which condition it is set up. |
Beta Was this translation helpful? Give feedback.
-
|
Ok, please look at this function in BSB-LAN:
|
Beta Was this translation helpful? Give feedback.
-
|
Ok, can you try and change the function to this one: If it works, and the AP disappears, please try again to reconnect and see if it comes back (as it should). Do that a few times to check that the mechanism works. Thanks! |
Beta Was this translation helpful? Give feedback.



Ok, can you try and change the function to this one:
If it works, and the AP disappears, please try again to reconnect and see if it comes back (as it should). Do that a few times to check that the mechanism works. Thanks!