src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManager.html

branch
eric7
changeset 9760
11245ac9c258
parent 9236
db53a9efe7ef
child 9765
6378da868bb0
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManager.html	Mon Feb 13 17:53:27 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManager.html	Mon Feb 13 17:55:13 2023 +0100
@@ -81,6 +81,11 @@
 emitted with a tuple of tuples containing the
         name, mode, size and time for each directory entry
 </dd>
+<dt>putDataDone(deviceFile)</dt>
+<dd>
+emitted after data has been save to a file
+        on the connected device
+</dd>
 <dt>putFileDone(localFile, deviceFile)</dt>
 <dd>
 emitted after the file was
@@ -142,6 +147,10 @@
 <td>Public slot to get a file from the connected device.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManager.getData">getData</a></td>
+<td>Public method to read data from the connected device.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManager.lls">lls</a></td>
 <td>Public slot to get a long listing of the given directory.</td>
 </tr>
@@ -154,6 +163,10 @@
 <td>Public slot to put a file onto the device.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManager.putData">putData</a></td>
+<td>Public method to write data to the connected device.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManager.pwd">pwd</a></td>
 <td>Public slot to get the current directory of the device.</td>
 </tr>
@@ -287,6 +300,32 @@
 name of the local file
 </dd>
 </dl>
+<a NAME="MicroPythonFileManager.getData" ID="MicroPythonFileManager.getData"></a>
+<h4>MicroPythonFileManager.getData</h4>
+<b>getData</b>(<i>deviceFileName</i>)
+
+<p>
+        Public method to read data from the connected device.
+</p>
+<dl>
+
+<dt><i>deviceFileName</i> (str)</dt>
+<dd>
+name of the file to read from
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+data read from the device
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bytes
+</dd>
+</dl>
 <a NAME="MicroPythonFileManager.lls" ID="MicroPythonFileManager.lls"></a>
 <h4>MicroPythonFileManager.lls</h4>
 <b>lls</b>(<i>dirname, showHidden=False</i>)
@@ -337,6 +376,24 @@
 name of the file on the connected device
 </dd>
 </dl>
+<a NAME="MicroPythonFileManager.putData" ID="MicroPythonFileManager.putData"></a>
+<h4>MicroPythonFileManager.putData</h4>
+<b>putData</b>(<i>deviceFileName, data</i>)
+
+<p>
+        Public method to write data to the connected device.
+</p>
+<dl>
+
+<dt><i>deviceFileName</i> (str)</dt>
+<dd>
+name of the file to write to
+</dd>
+<dt><i>content</i> (bytes)</dt>
+<dd>
+data to write
+</dd>
+</dl>
 <a NAME="MicroPythonFileManager.pwd" ID="MicroPythonFileManager.pwd"></a>
 <h4>MicroPythonFileManager.pwd</h4>
 <b>pwd</b>(<i></i>)

eric ide

mercurial