networking: add ability to manually add wifi networks - #922
Conversation
Allows adding networks without them being visible
|
This looks good and I have a few ideas/questions. Is there a case for adding a network that isn't hidden? I think we should add a I'm working on ways to clean up the |
Some work needs to be done to expose Then adding an |
Not really, more so just to provide the option for it. E.g. in my shell there is an option to add a network manually, with a hidden toggle. So it needs to be able to specify hidden/not hidden. Android also has this.
This is not a bad solution, we can do that too.
That sounds great. How would that be shaped though? There are a lot of different possible shapes depending on the credential type, etc |
Currently, you can only connect to a wireless network that is exposed in the
NetworkDevice::networksproperty. This PR adds the ability to connect to networks that do not expose their SSID, or that don't show up in the networks list for whatever reason.This is done via a new
WifiDevice::addNetworkmethod, which takes the SSID, security type and options, and whether or not the network is hidden.Example usage: