src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9781
3112f77f722b
parent 9779
8d3c7c991085
child 9782
67414f28db68
equal deleted inserted replaced
9779:8d3c7c991085 9781:3112f77f722b
1219 @return tuple containing a flag indicating success and an error string 1219 @return tuple containing a flag indicating success and an error string
1220 @rtype tuple of (bool, str) 1220 @rtype tuple of (bool, str)
1221 """ 1221 """
1222 return True, "" 1222 return True, ""
1223 1223
1224 def checkInternet(self):
1225 """
1226 Public method to check, if the internet can be reached.
1227
1228 @return tuple containing a flag indicating reachability and an error string
1229 @rtype tuple of (bool, str)
1230 """
1231 return False, ""
1232
1233 def scanNetworks(self):
1234 """
1235 Public method to scan for available WiFi networks.
1236
1237 @return tuple containing the list of available networks as a tuple of 'Name',
1238 'MAC-Address', 'channel', 'RSSI' and 'security' and an error string
1239 @rtype tuple of (list of tuple of (str, str, int, int, str), str)
1240 """
1241 return [], ""
1242
1224 def addDeviceWifiEntries(self, menu): 1243 def addDeviceWifiEntries(self, menu):
1225 """ 1244 """
1226 Public method to add device specific entries to the given menu. 1245 Public method to add device specific entries to the given menu.
1227 1246
1228 @param menu reference to the context menu 1247 @param menu reference to the context menu

eric ide

mercurial