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

branch
mpy_network
changeset 10022
a95800b414b7
parent 9989
286c2a21f36f
child 10035
3a423b723a99
diff -r a71f50b3a503 -r a95800b414b7 src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Sat May 06 16:22:17 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Sat May 06 19:21:40 2023 +0200
@@ -235,6 +235,10 @@
 <td>Public method to get the name of the device.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.disableWebrepl">disableWebrepl</a></td>
+<td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.disconnectFromLan">disconnectFromLan</a></td>
 <td>Public method  to disconnect from the LAN.</td>
 </tr>
@@ -247,6 +251,10 @@
 <td>Public method to download the device firmware.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.enableWebrepl">enableWebrepl</a></td>
+<td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.ensurePath">ensurePath</a></td>
 <td>Public method to ensure, that the given target path exists.</td>
 </tr>
@@ -1015,6 +1023,26 @@
 str
 </dd>
 </dl>
+<a NAME="BaseDevice.disableWebrepl" ID="BaseDevice.disableWebrepl"></a>
+<h4>BaseDevice.disableWebrepl</h4>
+<b>disableWebrepl</b>(<i></i>)
+
+<p>
+        Public method to write the given WebREPL password to the connected device and
+        modify the start script to start the WebREPL server.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple containing a flag indicating success and an error message
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (bool, str)
+</dd>
+</dl>
 <a NAME="BaseDevice.disconnectFromLan" ID="BaseDevice.disconnectFromLan"></a>
 <h4>BaseDevice.disconnectFromLan</h4>
 <b>disconnectFromLan</b>(<i></i>)
@@ -1060,6 +1088,33 @@
 <p>
         Public method to download the device firmware.
 </p>
+<a NAME="BaseDevice.enableWebrepl" ID="BaseDevice.enableWebrepl"></a>
+<h4>BaseDevice.enableWebrepl</h4>
+<b>enableWebrepl</b>(<i>password</i>)
+
+<p>
+        Public method to write the given WebREPL password to the connected device and
+        modify the start script to start the WebREPL server.
+</p>
+<dl>
+
+<dt><i>password</i> (str)</dt>
+<dd>
+password needed to authenticate
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple containing a flag indicating success and an error message
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (bool, str)
+</dd>
+</dl>
 <a NAME="BaseDevice.ensurePath" ID="BaseDevice.ensurePath"></a>
 <h4>BaseDevice.ensurePath</h4>
 <b>ensurePath</b>(<i>target</i>)

eric ide

mercurial