[PR #622] multiple network support (2) #1656

Open
opened 2026-02-28 02:12:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tzapu/WiFiManager/pull/622
Author: @the-real-orca
Created: 6/12/2018
Status: 🔄 Open

Base: masterHead: WiFiMulti


📝 Commits (7)

  • 41ef228 add support to handle multiple network credentials
  • 7404ac4 notify application about adding a new network
  • a7f5db8 add example saving and loading network list to file system
  • d14c2ec show known networks in AP overview and add delete link
  • ab612bf fix missing R_delete
  • 2869a91 exclude AutoConnectMultipleNetworksWithFS.ino from test (JSON dependency is not available for test)
  • c2b0989 examples cleanup

📊 Changes

7 files changed (+314 additions, -2 deletions)

View changed files

📝 .travis.yml (+1 -1)
📝 README.md (+21 -1)
📝 WiFiManager.cpp (+103 -0)
📝 WiFiManager.h (+18 -0)
examples/AutoConnectMultipleNetworks/AutoConnectMultipleNetworks.ino (+44 -0)
examples/AutoConnectMultipleNetworksWithFS/AutoConnectMultipleNetworksWithFS.ino (+126 -0)
📝 strings_en.h (+1 -0)

📄 Description

I added some code to handle multiple networks and credentials.
If the connection to the last connected network failed, a list of known networks will be searched for the strongest AP in reach. The known networks can be load and stored to the internal FS (see examlpes/AutoConnectMultipleNetworksWithFS).
Unlike the ESP8266WiFiMulti it will not re-scan or reconnect to another network when the connection is lost. So, no need to run anything in the main loop.
(old PR: #411)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/tzapu/WiFiManager/pull/622 **Author:** [@the-real-orca](https://github.com/the-real-orca) **Created:** 6/12/2018 **Status:** 🔄 Open **Base:** `master` ← **Head:** `WiFiMulti` --- ### 📝 Commits (7) - [`41ef228`](https://github.com/tzapu/WiFiManager/commit/41ef22841bcb1e4cf756762cfdbd0293899664e8) add support to handle multiple network credentials - [`7404ac4`](https://github.com/tzapu/WiFiManager/commit/7404ac43cee7096dbd3a1a723aac4904acc2ecab) notify application about adding a new network - [`a7f5db8`](https://github.com/tzapu/WiFiManager/commit/a7f5db8d51cc942e8366971af0657c75ab69420c) add example saving and loading network list to file system - [`d14c2ec`](https://github.com/tzapu/WiFiManager/commit/d14c2ecde142a3a1389551bc8ac30cfc89eb346d) show known networks in AP overview and add delete link - [`ab612bf`](https://github.com/tzapu/WiFiManager/commit/ab612bf9a3be14d19fa599f4fb384b5e45ef7de7) fix missing R_delete - [`2869a91`](https://github.com/tzapu/WiFiManager/commit/2869a919113966437ae4ce00b9ec11270da6326f) exclude AutoConnectMultipleNetworksWithFS.ino from test (JSON dependency is not available for test) - [`c2b0989`](https://github.com/tzapu/WiFiManager/commit/c2b09892edf3f71eb2bf5beb03bd1ea5063db6ac) examples cleanup ### 📊 Changes **7 files changed** (+314 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+1 -1) 📝 `README.md` (+21 -1) 📝 `WiFiManager.cpp` (+103 -0) 📝 `WiFiManager.h` (+18 -0) ➕ `examples/AutoConnectMultipleNetworks/AutoConnectMultipleNetworks.ino` (+44 -0) ➕ `examples/AutoConnectMultipleNetworksWithFS/AutoConnectMultipleNetworksWithFS.ino` (+126 -0) 📝 `strings_en.h` (+1 -0) </details> ### 📄 Description I added some code to handle multiple networks and credentials. If the connection to the last connected network failed, a list of known networks will be searched for the strongest AP in reach. The known networks can be load and stored to the internal FS (see examlpes/AutoConnectMultipleNetworksWithFS). Unlike the ESP8266WiFiMulti it will not re-scan or reconnect to another network when the connection is lost. So, no need to run anything in the main loop. (old PR: #411) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1656
No description provided.