src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9792
c5c55266b006
parent 9789
d8e0ab86ddca
child 9797
3be7b2326e2c
equal deleted inserted replaced
9789:d8e0ab86ddca 9792:c5c55266b006
59 <li>syncTime: synchronize the time of the connected device</li> 59 <li>syncTime: synchronize the time of the connected device</li>
60 </ul> 60 </ul>
61 61
62 Supported WiFi commands are: 62 Supported WiFi commands are:
63 <ul> 63 <ul>
64 <li>hasWifi: check, if the board has WiFi functionality</li>
65 <li>getWifiData: get WiFi status data</li>
66 <li>connectWifi: connect to a WiFi network</li>
67 <li>disconnectWifi: disconnect from a WiFi network</li>
68 <li>writeCredentials: save the WiFi credentials to the board and create
69 functionality to auto-connect at boot time</li>
70 <li>removeCredentials: remove the saved credentials</li>
71 <li>checkInternet: check, if internet access is possible</li>
72 <li>scanNetworks: scan for available WiFi networks</li>
73 <li>deactivateInterface: deactivate a WiFi interface</li>
74 <li>startAccessPoint: start an access point</li>
75 <li>stopAccessPoint: stop the access point</li>
76 <li>getConnectedClients: get a list of connected WiFi clients</li>
64 </ul> 77 </ul>
65 """ 78 """
66
67 # TODO: complete the list of supported commands
68 79
69 def __init__(self, microPythonWidget, deviceType, parent=None): 80 def __init__(self, microPythonWidget, deviceType, parent=None):
70 """ 81 """
71 Constructor 82 Constructor
72 83

eric ide

mercurial