[PR #1607] New function to request the status of the Access Point with a limit uptime setting #1786

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/1607
Author: @Thommes17
Created: 5/16/2023
Status: 🔄 Open

Base: masterHead: master


📝 Commits (2)

  • d542007 Variable _WifiAP_active dazu (Aufruf webinterface)
  • b60e19b Set _WifiAP_active = true in startAP()

📊 Changes

2 files changed (+18 additions, -0 deletions)

View changed files

📝 WiFiManager.cpp (+14 -0)
📝 WiFiManager.h (+4 -0)

📄 Description

Changes:

  • New private bool: _WifiAP_active => True if the AP is active
  • New public function: WifiAP_active(int max_uptime_minutes) => returns True if the AP is active and False if not or if the maximum uptime in minutes has been reached

Background:
Limits the uptime of the AP for battery powered devices in case the Wifi is temporarily not accessible. In the code, the status of the AP can be requested and the device sen to sleep in case the maximum uptime has been exceeded instead of keeping the AP active.


🔄 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/1607 **Author:** [@Thommes17](https://github.com/Thommes17) **Created:** 5/16/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`d542007`](https://github.com/tzapu/WiFiManager/commit/d542007b70cbe8bd8e5e48439f3e543eb2942c34) Variable _WifiAP_active dazu (Aufruf webinterface) - [`b60e19b`](https://github.com/tzapu/WiFiManager/commit/b60e19bf41454586d198a07e24bfd5adc30d1e2c) Set _WifiAP_active = true in startAP() ### 📊 Changes **2 files changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `WiFiManager.cpp` (+14 -0) 📝 `WiFiManager.h` (+4 -0) </details> ### 📄 Description Changes: - New private bool: _WifiAP_active => True if the AP is active - New public function: WifiAP_active(int max_uptime_minutes) => returns True if the AP is active and False if not or if the maximum uptime in minutes has been reached Background: Limits the uptime of the AP for battery powered devices in case the Wifi is temporarily not accessible. In the code, the status of the AP can be requested and the device sen to sleep in case the maximum uptime has been exceeded instead of keeping the AP active. --- <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#1786
No description provided.