src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9789
d8e0ab86ddca
parent 9787
163511257f24
child 9792
c5c55266b006
equal deleted inserted replaced
9788:12294115900a 9789:d8e0ab86ddca
61 61
62 Supported WiFi commands are: 62 Supported WiFi commands are:
63 <ul> 63 <ul>
64 </ul> 64 </ul>
65 """ 65 """
66
66 # TODO: complete the list of supported commands 67 # TODO: complete the list of supported commands
67 68
68 def __init__(self, microPythonWidget, deviceType, parent=None): 69 def __init__(self, microPythonWidget, deviceType, parent=None):
69 """ 70 """
70 Constructor 71 Constructor
1173 Public method to check the availability of WiFi. 1174 Public method to check the availability of WiFi.
1174 1175
1175 @return tuple containing a flag indicating the availability of WiFi 1176 @return tuple containing a flag indicating the availability of WiFi
1176 and the WiFi type (picow or pimoroni) 1177 and the WiFi type (picow or pimoroni)
1177 @rtype tuple of (bool, str) 1178 @rtype tuple of (bool, str)
1178 @exception OSError raised to indicate an issue with the device
1179 """ 1179 """
1180 return False, "" 1180 return False, ""
1181 1181
1182 def addDeviceWifiEntries(self, menu): 1182 def addDeviceWifiEntries(self, menu):
1183 """ 1183 """
1188 """ 1188 """
1189 pass 1189 pass
1190 1190
1191 def getWifiData(self): 1191 def getWifiData(self):
1192 """ 1192 """
1193 Public method to get data related to the current WiFi status 1193 Public method to get data related to the current WiFi status.
1194 1194
1195 @return tuple of two dictionaries containing the WiFi status data 1195 @return tuple of two dictionaries containing the WiFi status data
1196 for the WiFi client and access point 1196 for the WiFi client and access point
1197 @rtype tuple of (dict, dict) 1197 @rtype tuple of (dict, dict)
1198 """ 1198 """
1332 @return flag indicating the availability of Bluetooth 1332 @return flag indicating the availability of Bluetooth
1333 @rtype bool 1333 @rtype bool
1334 """ 1334 """
1335 return False 1335 return False
1336 1336
1337
1337 # 1338 #
1338 # eflag: noqa = M613 1339 # eflag: noqa = M613

eric ide

mercurial