All smart plugs generally have same method of connecting to Wi-Fi and with the mobile application.
- Check the Wi-Fi light on device
- Search for device's Wi-Fi broadcast and connect
- Add home Wi-Fi SSID/password in the app
- Control the device with app.
So do the device is actually connected with app initially ? Whats happening while we select the device Wi-Fi broadcast ? And How the device got the Wi-Fi info (that we entered in app) is available to app?
So between step 2 and 3 device is not connected to home Wi-Fi. So the app sends the Wi-Fi info to device? What protocol is used for that?