src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9792
c5c55266b006
parent 9789
d8e0ab86ddca
child 9797
3be7b2326e2c
--- a/src/eric7/MicroPython/Devices/DeviceBase.py	Wed Feb 22 08:20:34 2023 +0100
+++ b/src/eric7/MicroPython/Devices/DeviceBase.py	Thu Feb 23 13:29:56 2023 +0100
@@ -61,11 +61,22 @@
 
     Supported WiFi commands are:
     <ul>
+    <li>hasWifi: check, if the board has WiFi functionality</li>
+    <li>getWifiData: get WiFi status data</li>
+    <li>connectWifi: connect to a WiFi network</li>
+    <li>disconnectWifi: disconnect from a WiFi network</li>
+    <li>writeCredentials: save the WiFi credentials to the board and create
+        functionality to auto-connect at boot time</li>
+    <li>removeCredentials: remove the saved credentials</li>
+    <li>checkInternet: check, if internet access is possible</li>
+    <li>scanNetworks: scan for available WiFi networks</li>
+    <li>deactivateInterface: deactivate a WiFi interface</li>
+    <li>startAccessPoint: start an access point</li>
+    <li>stopAccessPoint: stop the access point</li>
+    <li>getConnectedClients: get a list of connected WiFi clients</li>
     </ul>
     """
 
-    # TODO: complete the list of supported commands
-
     def __init__(self, microPythonWidget, deviceType, parent=None):
         """
         Constructor

eric ide

mercurial