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

branch
mpy_network
changeset 9989
286c2a21f36f
parent 9799
a79430a8811d
child 9990
54c614d91eff
equal deleted inserted replaced
9988:1ba9d07ba9da 9989:286c2a21f36f
71 <tr> 71 <tr>
72 <td><a href="#MicroPythonDeviceInterface.__init__">MicroPythonDeviceInterface</a></td> 72 <td><a href="#MicroPythonDeviceInterface.__init__">MicroPythonDeviceInterface</a></td>
73 <td>Constructor</td> 73 <td>Constructor</td>
74 </tr> 74 </tr>
75 <tr> 75 <tr>
76 <td><a href="#MicroPythonDeviceInterface.__executeAsyncPaste">__executeAsyncPaste</a></td>
77 <td>Private method to execute a series of commands over a period of time without returning any result (asynchronous execution).</td>
78 </tr>
79 <tr>
80 <td><a href="#MicroPythonDeviceInterface.__executeAsyncRaw">__executeAsyncRaw</a></td>
81 <td>Private method to execute a series of commands over a period of time without returning any result (asynchronous execution).</td>
82 </tr>
83 <tr>
76 <td><a href="#MicroPythonDeviceInterface.__execute_paste">__execute_paste</a></td> 84 <td><a href="#MicroPythonDeviceInterface.__execute_paste">__execute_paste</a></td>
77 <td>Private method to send commands to the connected device using 'paste' mode and return the result.</td> 85 <td>Private method to send commands to the connected device using 'paste' mode and return the result.</td>
78 </tr> 86 </tr>
79 <tr> 87 <tr>
80 <td><a href="#MicroPythonDeviceInterface.__execute_raw">__execute_raw</a></td> 88 <td><a href="#MicroPythonDeviceInterface.__execute_raw">__execute_raw</a></td>
112 <td><a href="#MicroPythonDeviceInterface.execute">execute</a></td> 120 <td><a href="#MicroPythonDeviceInterface.execute">execute</a></td>
113 <td>Public method to send commands to the connected device and return the result.</td> 121 <td>Public method to send commands to the connected device and return the result.</td>
114 </tr> 122 </tr>
115 <tr> 123 <tr>
116 <td><a href="#MicroPythonDeviceInterface.executeAsync">executeAsync</a></td> 124 <td><a href="#MicroPythonDeviceInterface.executeAsync">executeAsync</a></td>
117 <td>Public method to execute a series of commands over a period of time without returning any result (asynchronous execution).</td>
118 </tr>
119 <tr>
120 <td><a href="#MicroPythonDeviceInterface.executeAsyncPaste">executeAsyncPaste</a></td>
121 <td>Public method to execute a series of commands over a period of time without returning any result (asynchronous execution).</td> 125 <td>Public method to execute a series of commands over a period of time without returning any result (asynchronous execution).</td>
122 </tr> 126 </tr>
123 <tr> 127 <tr>
124 <td><a href="#MicroPythonDeviceInterface.handlePreferencesChanged">handlePreferencesChanged</a></td> 128 <td><a href="#MicroPythonDeviceInterface.handlePreferencesChanged">handlePreferencesChanged</a></td>
125 <td>Public slot to handle a change of the preferences.</td> 129 <td>Public slot to handle a change of the preferences.</td>
155 <dt><i>parent</i> (QObject)</dt> 159 <dt><i>parent</i> (QObject)</dt>
156 <dd> 160 <dd>
157 reference to the parent object 161 reference to the parent object
158 </dd> 162 </dd>
159 </dl> 163 </dl>
164 <a NAME="MicroPythonDeviceInterface.__executeAsyncPaste" ID="MicroPythonDeviceInterface.__executeAsyncPaste"></a>
165 <h4>MicroPythonDeviceInterface.__executeAsyncPaste</h4>
166 <b>__executeAsyncPaste</b>(<i>commandsList</i>)
167
168 <p>
169 Private method to execute a series of commands over a period of time
170 without returning any result (asynchronous execution).
171 </p>
172 <dl>
173
174 <dt><i>commandsList</i> (list of str)</dt>
175 <dd>
176 list of commands to be execute on the device
177 </dd>
178 </dl>
179 <a NAME="MicroPythonDeviceInterface.__executeAsyncRaw" ID="MicroPythonDeviceInterface.__executeAsyncRaw"></a>
180 <h4>MicroPythonDeviceInterface.__executeAsyncRaw</h4>
181 <b>__executeAsyncRaw</b>(<i>commandsList</i>)
182
183 <p>
184 Private method to execute a series of commands over a period of time
185 without returning any result (asynchronous execution).
186 </p>
187 <dl>
188
189 <dt><i>commandsList</i> (list of bytes)</dt>
190 <dd>
191 list of commands to be execute on the device
192 </dd>
193 </dl>
160 <a NAME="MicroPythonDeviceInterface.__execute_paste" ID="MicroPythonDeviceInterface.__execute_paste"></a> 194 <a NAME="MicroPythonDeviceInterface.__execute_paste" ID="MicroPythonDeviceInterface.__execute_paste"></a>
161 <h4>MicroPythonDeviceInterface.__execute_paste</h4> 195 <h4>MicroPythonDeviceInterface.__execute_paste</h4>
162 <b>__execute_paste</b>(<i>commands, timeout=0</i>) 196 <b>__execute_paste</b>(<i>commands, timeout=0</i>)
163 197
164 <p> 198 <p>
373 raised in case of an unsupported submit mode 407 raised in case of an unsupported submit mode
374 </dd> 408 </dd>
375 </dl> 409 </dl>
376 <a NAME="MicroPythonDeviceInterface.executeAsync" ID="MicroPythonDeviceInterface.executeAsync"></a> 410 <a NAME="MicroPythonDeviceInterface.executeAsync" ID="MicroPythonDeviceInterface.executeAsync"></a>
377 <h4>MicroPythonDeviceInterface.executeAsync</h4> 411 <h4>MicroPythonDeviceInterface.executeAsync</h4>
378 <b>executeAsync</b>(<i>commandsList</i>) 412 <b>executeAsync</b>(<i>commandsList, submitMode</i>)
379 413
380 <p> 414 <p>
381 Public method to execute a series of commands over a period of time 415 Public method to execute a series of commands over a period of time
382 without returning any result (asynchronous execution). 416 without returning any result (asynchronous execution).
383 </p> 417 </p>
384 <dl> 418 <dl>
385 419
386 <dt><i>commandsList</i> (list of bytes)</dt> 420 <dt><i>commandsList</i> (list of str)</dt>
387 <dd> 421 <dd>
388 list of commands to be execute on the device 422 list of commands to be execute on the device
389 </dd> 423 </dd>
390 </dl> 424 <dt><i>submitMode</i> (str (one of 'raw' or 'paste'))</dt>
391 <a NAME="MicroPythonDeviceInterface.executeAsyncPaste" ID="MicroPythonDeviceInterface.executeAsyncPaste"></a> 425 <dd>
392 <h4>MicroPythonDeviceInterface.executeAsyncPaste</h4> 426 mode to be used to submit the commands
393 <b>executeAsyncPaste</b>(<i>commandsList</i>) 427 </dd>
394 428 </dl>
395 <p> 429 <dl>
396 Public method to execute a series of commands over a period of time 430
397 without returning any result (asynchronous execution). 431 <dt>Raises <b>ValueError</b>:</dt>
398 </p> 432 <dd>
399 <dl> 433 raised to indicate an unknown submit mode
400
401 <dt><i>commandsList</i> (list of bytes)</dt>
402 <dd>
403 list of commands to be execute on the device
404 </dd> 434 </dd>
405 </dl> 435 </dl>
406 <a NAME="MicroPythonDeviceInterface.handlePreferencesChanged" ID="MicroPythonDeviceInterface.handlePreferencesChanged"></a> 436 <a NAME="MicroPythonDeviceInterface.handlePreferencesChanged" ID="MicroPythonDeviceInterface.handlePreferencesChanged"></a>
407 <h4>MicroPythonDeviceInterface.handlePreferencesChanged</h4> 437 <h4>MicroPythonDeviceInterface.handlePreferencesChanged</h4>
408 <b>handlePreferencesChanged</b>(<i></i>) 438 <b>handlePreferencesChanged</b>(<i></i>)

eric ide

mercurial