src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 10022
a95800b414b7
parent 10019
e56089d00750
child 10034
bf2d02317ba6
diff -r a71f50b3a503 -r a95800b414b7 src/eric7/MicroPython/Devices/DeviceBase.py
--- a/src/eric7/MicroPython/Devices/DeviceBase.py	Sat May 06 16:22:17 2023 +0200
+++ b/src/eric7/MicroPython/Devices/DeviceBase.py	Sat May 06 19:21:40 2023 +0200
@@ -1578,6 +1578,28 @@
         """
         return [], ""
 
+    def enableWebrepl(self, password):
+        """
+        Public method to write the given WebREPL password to the connected device and
+        modify the start script to start the WebREPL server.
+
+        @param password password needed to authenticate
+        @type str
+        @return tuple containing a flag indicating success and an error message
+        @rtype tuple of (bool, str)
+        """
+        return False, ""
+
+    def disableWebrepl(self):
+        """
+        Public method to write the given WebREPL password to the connected device and
+        modify the start script to start the WebREPL server.
+
+        @return tuple containing a flag indicating success and an error message
+        @rtype tuple of (bool, str)
+        """
+        return False, ""
+
     ##################################################################
     ## Methods below implement Ethernet related methods
     ##################################################################

eric ide

mercurial