This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: wifi: implement state machine to handle reconnects
Implement WiFi connectivity state machine running in a dedicated work queue (which runs in a dedicated thread). Network management events from Zephyr are handled there, as well as timeouts and retries when attempting to connect. As a result, WiFi connectivity is bringed back whenever there was a temporary problem with WiFi AP connection. In case WiFi radio is not ready (L1 is down, which results in LOWER_DOWN interface management event/state) wait until it becomes ready (which is required by ESP32 WiFi driver, since it does not handle connect requests otherwise). Signed-off-by: Marcin Niestroj <[email protected]>
- Loading branch information
Showing
4 changed files
with
439 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.