Module implementing the WiFi related functionality.
None |
WifiController | Class implementing the WiFi related functionality. |
None |
Class implementing the WiFi related functionality.
None |
None |
WifiController | Constructor |
__checkInternet | Private slot to check the availability of an internet connection. |
__connectWifi | Private slot to connect the current device to a WiFi network. |
__deactivateInterface | Private method to deactivate a given WiFi interface of the connected device. |
__disableWebrepl | Private slot to disable the WebREPL server of the device. |
__disconnectWifi | Private slot to disconnect the current device from the WiFi network. |
__enableWebrepl | Private slot to enable the WebREPL server of the device. |
__removeCredentials | Private slot to remove the saved WiFi credentials from the connected device. |
__scanNetwork | Private slot to scan for visible WiFi networks. |
__setNetworkTime | Private slot to synchronize the device clock to network time. |
__showConnectedClients | Private slot to show a list of WiFi clients connected to the Access Point interface. |
__showWifiStatus | Private slot to show a dialog with the WiFi status of the current device. |
__startAccessPoint | Private slot to start the Access Point interface of the connected device. |
__startAccessPointIP | Private slot to start the Access Point interface of the connected device with given IP parameters. |
__stopAccessPoint | Private slot to stop the Access Point interface of the connected device. |
__writeCredentials | Private slot to save the WiFi login credentials to the connected device. |
createMenu | Public method to create the WiFi submenu. |
None |
Constructor
Private slot to check the availability of an internet connection.
Private slot to connect the current device to a WiFi network.
Private method to deactivate a given WiFi interface of the connected device.
Private slot to disable the WebREPL server of the device.
This will not remove the 'webrepl_cfg.py' file. It will just modify the boot script.
Private slot to disconnect the current device from the WiFi network.
Private slot to enable the WebREPL server of the device.
This will also modify the boot script.
Private slot to remove the saved WiFi credentials from the connected device.
This will not remove the auto-connect part of the boot script. This needs to be done manually if desired.
Private slot to scan for visible WiFi networks.
Private slot to synchronize the device clock to network time.
Private slot to show a list of WiFi clients connected to the Access Point interface.
Private slot to show a dialog with the WiFi status of the current device.
Private slot to start the Access Point interface of the connected device.
Private slot to start the Access Point interface of the connected device with given IP parameters.
Private slot to stop the Access Point interface of the connected device.
Private slot to save the WiFi login credentials to the connected device.
This will also modify the boot script to perform an automatic WiFi connection.
Public method to create the WiFi submenu.