src/eric7/Documentation/Source/eric7.MicroPython.Devices.MicrobitDevices.html

branch
mpy_network
changeset 9840
d41ee69fa69b
parent 9766
f0e22f3a5878
child 9864
f848aacf3447
diff -r fc60e382b67a -r d41ee69fa69b src/eric7/Documentation/Source/eric7.MicroPython.Devices.MicrobitDevices.html
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MicrobitDevices.html	Fri Mar 03 11:31:53 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MicrobitDevices.html	Fri Mar 03 11:34:59 2023 +0100
@@ -69,7 +69,7 @@
 </tr>
 <tr>
 <td><a href="#MicrobitDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td>
-<td>Private method handling the response of the latest version request.</td>
+<td>Private slot handling the response of the latest version request.</td>
 </tr>
 <tr>
 <td><a href="#MicrobitDevice.__flashMicroPython">__flashMicroPython</a></td>
@@ -167,6 +167,10 @@
 <td><a href="#MicrobitDevice.setButtons">setButtons</a></td>
 <td>Public method to enable the supported action buttons.</td>
 </tr>
+<tr>
+<td><a href="#MicrobitDevice.setConnected">setConnected</a></td>
+<td>Public method to set the connection state.</td>
+</tr>
 </table>
 <h3>Static Methods</h3>
 
@@ -212,7 +216,7 @@
 <b>__firmwareVersionResponse</b>(<i>reply</i>)
 
 <p>
-        Private method handling the response of the latest version request.
+        Private slot handling the response of the latest version request.
 </p>
 <dl>
 
@@ -670,6 +674,24 @@
 <p>
         Public method to enable the supported action buttons.
 </p>
+<a NAME="MicrobitDevice.setConnected" ID="MicrobitDevice.setConnected"></a>
+<h4>MicrobitDevice.setConnected</h4>
+<b>setConnected</b>(<i>connected</i>)
+
+<p>
+        Public method to set the connection state.
+</p>
+<p>
+        Note: This method can be overwritten to perform actions upon connect
+        or disconnect of the device.
+</p>
+<dl>
+
+<dt><i>connected</i> (bool)</dt>
+<dd>
+connection state
+</dd>
+</dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />

eric ide

mercurial