src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 10022
a95800b414b7
parent 10019
e56089d00750
child 10034
bf2d02317ba6
equal deleted inserted replaced
10021:a71f50b3a503 10022:a95800b414b7
1576 and the RSSI (if supported and available) and an error message 1576 and the RSSI (if supported and available) and an error message
1577 @rtype tuple of ([(bytes, int)], str) 1577 @rtype tuple of ([(bytes, int)], str)
1578 """ 1578 """
1579 return [], "" 1579 return [], ""
1580 1580
1581 def enableWebrepl(self, password):
1582 """
1583 Public method to write the given WebREPL password to the connected device and
1584 modify the start script to start the WebREPL server.
1585
1586 @param password password needed to authenticate
1587 @type str
1588 @return tuple containing a flag indicating success and an error message
1589 @rtype tuple of (bool, str)
1590 """
1591 return False, ""
1592
1593 def disableWebrepl(self):
1594 """
1595 Public method to write the given WebREPL password to the connected device and
1596 modify the start script to start the WebREPL server.
1597
1598 @return tuple containing a flag indicating success and an error message
1599 @rtype tuple of (bool, str)
1600 """
1601 return False, ""
1602
1581 ################################################################## 1603 ##################################################################
1582 ## Methods below implement Ethernet related methods 1604 ## Methods below implement Ethernet related methods
1583 ################################################################## 1605 ##################################################################
1584 1606
1585 def hasEthernet(self): 1607 def hasEthernet(self):

eric ide

mercurial