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

Add check for empty passphrase to Wifi.begin(_ssid, _pass) #68

Open
thomasvdv opened this issue Mar 6, 2024 · 0 comments
Open

Add check for empty passphrase to Wifi.begin(_ssid, _pass) #68

thomasvdv opened this issue Mar 6, 2024 · 0 comments
Assignees
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@thomasvdv
Copy link

thomasvdv commented Mar 6, 2024

WiFi.cpp
line 98-116

Board: Arduino UNO R4 Wifi

Connections to an open network will fail, when Wifi.begin(_ssid, _pass) is called with an empty String. Some client (e.g. Arduino Cloud) allow the passphrase to be empty when configuring the network. This empty field is then passed on as "" to Wifi.begin(_ssid, _pass), resulting in a connection failure. Can you add a check for this condition and call Wifi.begin(_ssid) instead?

Related Issue: arduino-libraries/Arduino_ConnectionHandler#114

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Mar 6, 2024
@per1234 per1234 self-assigned this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants