src/eric7/MicroPython/Devices/EspDevices.py

branch
mpy_network
changeset 9857
0122ae72618d
parent 9855
c9244db5566a
child 9859
829c1edbf253
--- a/src/eric7/MicroPython/Devices/EspDevices.py	Tue Mar 07 16:23:03 2023 +0100
+++ b/src/eric7/MicroPython/Devices/EspDevices.py	Wed Mar 08 14:25:24 2023 +0100
@@ -1048,6 +1048,7 @@
 
         @return flag indicating the availability of Bluetooth
         @rtype bool
+        @exception OSError raised to indicate an issue with the device
         """
         command = """
 def has_bt():
@@ -1077,6 +1078,7 @@
         @return list of tuples containing the translated status data label and
             the associated value
         @rtype list of tuples of (str, str)
+        @exception OSError raised to indicate an issue with the device
         """
         command = """
 def ble_status():
@@ -1125,9 +1127,7 @@
         status.append(
             (self.tr("Rx-Buffer"), self.tr("{0} Bytes").format(bleStatus["rxbuf"]))
         )
-        status.append(
-            (self.tr("MTU"), self.tr("{0} Bytes").format(bleStatus["mtu"]))
-        )
+        status.append((self.tr("MTU"), self.tr("{0} Bytes").format(bleStatus["mtu"])))
 
         return status
 
@@ -1137,6 +1137,7 @@
 
         @return flag indicating the new state of the Bluetooth interface
         @rtype bool
+        @exception OSError raised to indicate an issue with the device
         """
         command = """
 def activate_ble():
@@ -1162,6 +1163,7 @@
 
         @return flag indicating the new state of the Bluetooth interface
         @rtype bool
+        @exception OSError raised to indicate an issue with the device
         """
         command = """
 def deactivate_ble():

eric ide

mercurial