module documentation
WiFi Connect - Connect to a WiFi network.
| Function | run |
Run the app and handle connection input. |
| Function | start |
Start the app and load the saved WiFi credentials. |
| Function | stop |
Stop the app and clean up. |
| Function | __connect |
Callback for Wi-Fi connection status updates. |
| Function | _get |
Build the connection status text. |
| Variable | _connect |
Undocumented |
| Variable | _connection |
Undocumented |
| Variable | _password |
Undocumented |
| Variable | _ssid |
Undocumented |
| Variable | _status |
Undocumented |
Run the app and handle connection input.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |
Start the app and load the saved WiFi credentials.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |
| Returns | |
bool | True if the app started, False if no credentials are saved. |
Stop the app and clean up.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |
Callback for Wi-Fi connection status updates.
| Parameters | |
state:int | The Wi-Fi connection state. |
error:str | The connection error message. |
Build the connection status text.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |
| Returns | |
str | The status text to display. |