src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9797
3be7b2326e2c
parent 9792
c5c55266b006
child 9798
4402d76c5fa9
equal deleted inserted replaced
9795:11b4d39d7584 9797:3be7b2326e2c
1283 @return tuple containg a flag indicating success and an error message 1283 @return tuple containg a flag indicating success and an error message
1284 @rtype tuple of (bool, str) 1284 @rtype tuple of (bool, str)
1285 """ 1285 """
1286 return True, "" 1286 return True, ""
1287 1287
1288 def startAccessPoint(self, ssid, security=None, password=None): 1288 def startAccessPoint(self, ssid, security=None, password=None, ifconfig=None):
1289 """ 1289 """
1290 Public method to start the access point interface. 1290 Public method to start the access point interface.
1291 1291
1292 @param ssid SSID of the access point 1292 @param ssid SSID of the access point
1293 @type str 1293 @type str
1294 @param security security method (defaults to None) 1294 @param security security method (defaults to None)
1295 @type int (optional) 1295 @type int (optional)
1296 @param password password (defaults to None) 1296 @param password password (defaults to None)
1297 @type str (optional) 1297 @type str (optional)
1298 @param ifconfig IPv4 configuration for the access point if not default
1299 (IPv4 address, netmask, gateway address, DNS server address)
1300 @type tuple of (str, str, str, str)
1298 @return tuple containing a flag indicating success and an error message 1301 @return tuple containing a flag indicating success and an error message
1299 @rtype tuple of (bool, str) 1302 @rtype tuple of (bool, str)
1300 """ 1303 """
1301 return False, "" 1304 return False, ""
1302 1305

eric ide

mercurial