How it works
1. Advertise: Device Creates Access Point
If the Doohly Device does not have an active Wi-Fi connection. The Doohly Device will find available Wi-Fi networks and opens an access point with a captive portal. Connecting to this access point with a mobile phone or laptop allows new WiFi credentials to be configured.
2. Connect: User Connects Phone to Device Access Point
Connect to the opened access point on the device from your mobile phone or laptop. The access point SSID is,
Doohly - WiFi Connect.
Currently the access point SSID has no password protection
3. Portal: Phone Shows Captive Portal to User
After connecting to the access point from a mobile phone, it will detect the captive portal and open its web page. Opening any web page will redirect to the captive portal as well.
4. Credentials: User Enters Local WiFi Network Credentials on Phone
The captive portal provides the option to select a WiFi SSID from a list with detected WiFi networks and enter a passphrase for the desired network.
5. Connected!: Device Connects to Local WiFi Network
When the network credentials have been entered, WiFi Connect will disable the access point and try to connect to the network. If the connection fails, it will enable the access point for another attempt. If it succeeds, the configuration will be saved by NetworkManager.