[PR #1584] add exemple non blocking reconect #1782

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

📋 Pull Request Information

Original PR: https://github.com/tzapu/WiFiManager/pull/1584
Author: @radumro
Created: 4/10/2023
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • adf8f77 add exemple non blocking reconect

📊 Changes

1 file changed (+134 additions, -0 deletions)

View changed files

examples/NonBlocking/NonBlockingReconect/NonBlockingReconect.ino (+134 -0)

📄 Description

Hi

this code is workin if the connection is lost during the execution.
it's trying to reconnect every 2 minutes and it's timing out if the stored connection is lost, tryes to lounch the captive portal and if that is timing out it's going back to the execution and then tryes to reconnect again.

hope this solves a lot of complains about code geting stuck


🔄 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/1584 **Author:** [@radumro](https://github.com/radumro) **Created:** 4/10/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`adf8f77`](https://github.com/tzapu/WiFiManager/commit/adf8f77997b3f627c0a53c50b837aea09b05b8cf) add exemple non blocking reconect ### 📊 Changes **1 file changed** (+134 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/NonBlocking/NonBlockingReconect/NonBlockingReconect.ino` (+134 -0) </details> ### 📄 Description Hi this code is workin if the connection is lost during the execution. it's trying to reconnect every 2 minutes and it's timing out if the stored connection is lost, tryes to lounch the captive portal and if that is timing out it's going back to the execution and then tryes to reconnect again. hope this solves a lot of complains about code geting stuck --- <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#1782
No description provided.