Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wlan): Implement additional wlan operation modes (access point, disabled) #186

Merged
merged 10 commits into from
Nov 4, 2024

Conversation

Slider0007
Copy link
Owner

@Slider0007 Slider0007 commented Nov 2, 2024

1. Implement additional wlan operation modes (beside default WLAN client mode)

  • Access point mode for standalone operation (full WebUI functionality)
    • Add a optional timed-off option to suspend WLAN connection after a configurable time is elapsed, no client is connected and actual cycle processing is completed.
  • WLAN client mode (default access mode, already exisiting):
    • Add a optional timed-off option to suspend WLAN connection after a configurable time is elapsed and actual cycle processing is completed.
    • Add a fallback to access point operation mode if network connection cannnot be established initially after > 120s (chnaged from retries to time in (wlan): Use time delay instead of retires to determine fallback AP start #190) (e.g. wrong password) --> Access point is automatically activated to be able to connect via device's access point again and interact with the device
  • WLAN disabled (no interaction possible, but device is able to process and log data to SD card)

2. Add GPIO pin mode to resume a suspended WLAN connection by a GPIO pin defined in GPIO section.


Further changes:

  • Code: Refactor variable / function naming + harmonization of wlan and mqtt interface
  • WebUI: Indicate and perform a required reboot for changing hardware related parameter (Button label: Save And Reboot). For all other parameter still no reboot is required (Button label: Save And Apply).

Usage before (based on ESP32):
RAM: [= ] 14.1% (used 46096 bytes from 327680 bytes)
Flash: [========= ] 87.0% (used 1692537 bytes from 1945600 bytes)

Usage after:
RAM: [= ] 14.1% (used 46272 bytes from 327680 bytes)
Flash: [========= ] 87.3% (used 1697765 bytes from 1945600 bytes)

@Slider0007 Slider0007 merged commit 498d10a into develop Nov 4, 2024
10 checks passed
@Slider0007 Slider0007 deleted the wlan-op-modes branch November 4, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant