• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Wifi Manager Algorithm?

Q&A Forum › Category: ESP32 › Wifi Manager Algorithm?
0 Vote Up Vote Down
Sertac EREN asked 2 years ago

Hello, I’m a newbie and I’ve been interested in esp32 for a short time. I write my own wifi -manager codes. I dont want using the library. There is a point that I cannot solve algorithmically. Before switching to AP mode, I scan available networks on STA mode. I then use this information in AP mode to select the SSID.
The problem is, after switching to AP mode; The network may no longer exist or a new network may have been added. How do I update my accessible network list?
https://randomnerdtutorials.com/esp32-wi-fi-manager-asyncwebserver/

2 Answers
0 Vote Up Vote Down
Sertac EREN answered 2 years ago

WiFi.scanNetworks() function can be used in AP mode. Then there is no problem. Thanks.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Yes. I would mention precisely that. I think you can use the scanNetworks() function in AP mode too.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.