-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: avoid getting stuck in the WaitConnected state
Perform actual checks in the connect() method. Make sure empty SSID, too-big SSID, too-small or too-big passphrases fail it and force a retry. Fixes the comment that claimed the WiFi.begin() result was checked... Local copy of the ::begin, since it is easier to work with the SDK API directly.
- Loading branch information
Showing
1 changed file
with
66 additions
and
15 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