george-hawkins / micropython-wifi-setup

MIT License
39 stars 8 forks source link

Would this work for connecting to networks with spaces in the SSID? #4

Closed sgbaird closed 1 year ago

sgbaird commented 1 year ago

Wondering if I should try this out as a potential workaround or if I should just tell users they can't connect to networks that have spaces in the name (when connecting via Pico W).

george-hawkins commented 1 year ago

I'm not really sure what the original problem is that you're trying to work around. Have you seen the code in this repo fail for SSIDs with spaces in the name?

There's no good reason why it should. If it's doing so then it's a bug (though if that's the case, it doesn't mean I have time to fix it, but you're welcome to submit a PR).

sgbaird commented 1 year ago

@george-hawkins someone I was working with mentioned he and several others were unable to connect to networks with spaces in the names on the Pico W. Seems that in reality, the networks that had spaces were 5G, and the networks without spaces were 2.4 GHz, and only 2.4 GHz is supported on the board.