src/eric7/MicroPython/Devices/DeviceBase.py

branch
mpy_network
changeset 9857
0122ae72618d
parent 9855
c9244db5566a
child 9868
467288cffee2
diff -r df2ff78bbc01 -r 0122ae72618d src/eric7/MicroPython/Devices/DeviceBase.py
--- a/src/eric7/MicroPython/Devices/DeviceBase.py	Tue Mar 07 16:23:03 2023 +0100
+++ b/src/eric7/MicroPython/Devices/DeviceBase.py	Wed Mar 08 14:25:24 2023 +0100
@@ -1510,6 +1510,19 @@
         """
         return False
 
+    def getDeviceScan(self, timeout=10):
+        """
+        Public method to perform a Bluetooth device scan.
+
+        @param timeout duration of the device scan in seconds (defaults
+            to 10)
+        @type int (optional)
+        @return tuple containing a dictionary with the scan results and
+            an error string
+        @rtype tuple of (dict, str)
+        """
+        return {}, ""
+
     ##################################################################
     ## Methods below implement some utility methods
     ##################################################################
@@ -1530,5 +1543,6 @@
         else:
             return self.tr("yes") if val else self.tr("no")
 
+
 #
 # eflag: noqa = M613

eric ide

mercurial