You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can leave out the password completely - internally the WifiWizard will handle this correctly using "NONE" as authentication method. Passing "NONE" and an empty password into formatWifiConfig is not supported, though.
To pick an existing SSID, you need to start a scan and then retrieve the results using getScanResults.
The returned list can then be filtered using a regular expression and a matching SSID can be chosen.
It seems like "" is not accepted in the event of no password. I've tried the following w/o success:
var config = WifiWizard.formatWifiConfig("xfinitywifi", "");
WifiWizard.addNetwork(config, function() {
WifiWizard.connectNetwork("xfinitywifi");
});
Also, how would I declare a wildcard for the network name? I'd like my app to connect to any open network available if possible.
The text was updated successfully, but these errors were encountered: