src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9782
67414f28db68
parent 9781
3112f77f722b
child 9787
163511257f24
equal deleted inserted replaced
9781:3112f77f722b 9782:67414f28db68
1238 'MAC-Address', 'channel', 'RSSI' and 'security' and an error string 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) 1239 @rtype tuple of (list of tuple of (str, str, int, int, str), str)
1240 """ 1240 """
1241 return [], "" 1241 return [], ""
1242 1242
1243 def deactivateInterface(self, interface):
1244 """
1245 Public method to deactivate a given WiFi interface of the connected device.
1246
1247 @param interface designation of the interface to be deactivated (one of 'AP'
1248 or 'STA')
1249 @type str
1250 @return tuple containg a flag indicating success and an error message
1251 @rtype tuple of (bool, str)
1252 """
1253 return True, ""
1254
1255 def startAccessPoint(self):
1256 """
1257 Public method to start the access point interface.
1258
1259 @return tuple containing a flag indicating success and an error message
1260 @rtype tuple of (bool, str)
1261 """
1262
1263 def stopAccessPoint(self):
1264 """
1265 Public method to stop the access point interface.
1266
1267 @return tuple containg a flag indicating success and an error message
1268 @rtype tuple of (bool, str)
1269 """
1270 return True, ""
1271
1243 def addDeviceWifiEntries(self, menu): 1272 def addDeviceWifiEntries(self, menu):
1244 """ 1273 """
1245 Public method to add device specific entries to the given menu. 1274 Public method to add device specific entries to the given menu.
1246 1275
1247 @param menu reference to the context menu 1276 @param menu reference to the context menu

eric ide

mercurial