220 list of commands to be executed |
220 list of commands to be executed |
221 </dd> |
221 </dd> |
222 <dt><i>mode=</i> (str)</dt> |
222 <dt><i>mode=</i> (str)</dt> |
223 <dd> |
223 <dd> |
224 submit mode to be used (one of 'raw' or 'paste') (defaults to |
224 submit mode to be used (one of 'raw' or 'paste') (defaults to |
225 'raw'). This is ignored because webrepl always uses 'paste' mode. |
225 'raw'). This is ignored because webrepl always uses 'paste' mode. (unused) |
226 </dd> |
226 </dd> |
227 <dt><i>timeout=</i> (int (optional))</dt> |
227 <dt><i>timeout=</i> (int (optional))</dt> |
228 <dd> |
228 <dd> |
229 per command timeout in milliseconds (0 for configured default) |
229 per command timeout in milliseconds (0 for configured default) |
230 (defaults to 0) |
230 (defaults to 0) |
242 tuple of (bytes, bytes) |
242 tuple of (bytes, bytes) |
243 </dd> |
243 </dd> |
244 </dl> |
244 </dl> |
245 <a NAME="MicroPythonWebreplDeviceInterface.executeAsync" ID="MicroPythonWebreplDeviceInterface.executeAsync"></a> |
245 <a NAME="MicroPythonWebreplDeviceInterface.executeAsync" ID="MicroPythonWebreplDeviceInterface.executeAsync"></a> |
246 <h4>MicroPythonWebreplDeviceInterface.executeAsync</h4> |
246 <h4>MicroPythonWebreplDeviceInterface.executeAsync</h4> |
247 <b>executeAsync</b>(<i>commandsList, submitMode</i>) |
247 <b>executeAsync</b>(<i>commandsList, _submitMode</i>) |
248 <p> |
248 <p> |
249 Public method to execute a series of commands over a period of time |
249 Public method to execute a series of commands over a period of time |
250 without returning any result (asynchronous execution). |
250 without returning any result (asynchronous execution). |
251 </p> |
251 </p> |
252 |
252 |
254 |
254 |
255 <dt><i>commandsList</i> (list of str)</dt> |
255 <dt><i>commandsList</i> (list of str)</dt> |
256 <dd> |
256 <dd> |
257 list of commands to be execute on the device |
257 list of commands to be execute on the device |
258 </dd> |
258 </dd> |
259 <dt><i>submitMode</i> (str (one of 'raw' or 'paste'))</dt> |
259 <dt><i>_submitMode</i> (str (one of 'raw' or 'paste'))</dt> |
260 <dd> |
260 <dd> |
261 mode to be used to submit the commands |
261 mode to be used to submit the commands (unused) |
262 </dd> |
262 </dd> |
263 </dl> |
263 </dl> |
264 <a NAME="MicroPythonWebreplDeviceInterface.handlePreferencesChanged" ID="MicroPythonWebreplDeviceInterface.handlePreferencesChanged"></a> |
264 <a NAME="MicroPythonWebreplDeviceInterface.handlePreferencesChanged" ID="MicroPythonWebreplDeviceInterface.handlePreferencesChanged"></a> |
265 <h4>MicroPythonWebreplDeviceInterface.handlePreferencesChanged</h4> |
265 <h4>MicroPythonWebreplDeviceInterface.handlePreferencesChanged</h4> |
266 <b>handlePreferencesChanged</b>(<i></i>) |
266 <b>handlePreferencesChanged</b>(<i></i>) |