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

branch
eric7
changeset 9866
0cf5dda5512f
parent 9860
d34667faa686
child 9871
4a302b8c4d28
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.EspDevices.html	Thu Mar 09 14:55:17 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.EspDevices.html	Thu Mar 09 16:56:24 2023 +0100
@@ -80,6 +80,10 @@
 <td>Private slot to backup the currently flashed firmware.</td>
 </tr>
 <tr>
+<td><a href="#EspDevice.__createCpyDevice">__createCpyDevice</a></td>
+<td>Private method to create a CircuitPython device interface.</td>
+</tr>
+<tr>
 <td><a href="#EspDevice.__createEsp32Submenu">__createEsp32Submenu</a></td>
 <td>Private method to create the ESP32 submenu.</td>
 </tr>
@@ -236,6 +240,10 @@
 <td>Public method to enable the supported action buttons.</td>
 </tr>
 <tr>
+<td><a href="#EspDevice.setConnected">setConnected</a></td>
+<td>Public method to set the connection state.</td>
+</tr>
+<tr>
 <td><a href="#EspDevice.startAccessPoint">startAccessPoint</a></td>
 <td>Public method to start the access point interface.</td>
 </tr>
@@ -283,6 +291,13 @@
 <p>
         Private slot to backup the currently flashed firmware.
 </p>
+<a NAME="EspDevice.__createCpyDevice" ID="EspDevice.__createCpyDevice"></a>
+<h4>EspDevice.__createCpyDevice</h4>
+<b>__createCpyDevice</b>(<i></i>)
+
+<p>
+        Private method to create a CircuitPython device interface.
+</p>
 <a NAME="EspDevice.__createEsp32Submenu" ID="EspDevice.__createEsp32Submenu"></a>
 <h4>EspDevice.__createEsp32Submenu</h4>
 <b>__createEsp32Submenu</b>(<i></i>)
@@ -950,6 +965,24 @@
 <p>
         Public method to enable the supported action buttons.
 </p>
+<a NAME="EspDevice.setConnected" ID="EspDevice.setConnected"></a>
+<h4>EspDevice.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>
 <a NAME="EspDevice.startAccessPoint" ID="EspDevice.startAccessPoint"></a>
 <h4>EspDevice.startAccessPoint</h4>
 <b>startAccessPoint</b>(<i>ssid, security=None, password=None, ifconfig=None</i>)

eric ide

mercurial