src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9782
67414f28db68
parent 9781
3112f77f722b
child 9787
163511257f24
diff -r 3112f77f722b -r 67414f28db68 src/eric7/MicroPython/Devices/DeviceBase.py
--- a/src/eric7/MicroPython/Devices/DeviceBase.py	Mon Feb 20 11:42:45 2023 +0100
+++ b/src/eric7/MicroPython/Devices/DeviceBase.py	Mon Feb 20 16:02:02 2023 +0100
@@ -1240,6 +1240,35 @@
         """
         return [], ""
 
+    def deactivateInterface(self, interface):
+        """
+        Public method to deactivate a given WiFi interface of the connected device.
+
+        @param interface designation of the interface to be deactivated (one of 'AP'
+            or 'STA')
+        @type str
+        @return tuple containg a flag indicating success and an error message
+        @rtype tuple of (bool, str)
+        """
+        return True, ""
+
+    def startAccessPoint(self):
+        """
+        Public method to start the access point interface.
+
+        @return tuple containing a flag indicating success and an error message
+        @rtype tuple of (bool, str)
+        """
+
+    def stopAccessPoint(self):
+        """
+        Public method to stop the access point interface.
+
+        @return tuple containg a flag indicating success and an error message
+        @rtype tuple of (bool, str)
+        """
+        return True, ""
+
     def addDeviceWifiEntries(self, menu):
         """
         Public method to add device specific entries to the given menu.

eric ide

mercurial