283 <tr> |
283 <tr> |
284 <td><a href="#BaseDevice.ls">ls</a></td> |
284 <td><a href="#BaseDevice.ls">ls</a></td> |
285 <td>Public method to get a directory listing of the connected device.</td> |
285 <td>Public method to get a directory listing of the connected device.</td> |
286 </tr> |
286 </tr> |
287 <tr> |
287 <tr> |
|
288 <td><a href="#BaseDevice.mipInstall">mipInstall</a></td> |
|
289 <td>Public method</td> |
|
290 </tr> |
|
291 <tr> |
288 <td><a href="#BaseDevice.mkdir">mkdir</a></td> |
292 <td><a href="#BaseDevice.mkdir">mkdir</a></td> |
289 <td>Public method to create a new directory.</td> |
293 <td>Public method to create a new directory.</td> |
290 </tr> |
294 </tr> |
291 <tr> |
295 <tr> |
292 <td><a href="#BaseDevice.put">put</a></td> |
296 <td><a href="#BaseDevice.put">put</a></td> |
369 <td>Public method to indicate file access via a local directory.</td> |
373 <td>Public method to indicate file access via a local directory.</td> |
370 </tr> |
374 </tr> |
371 <tr> |
375 <tr> |
372 <td><a href="#BaseDevice.syncTime">syncTime</a></td> |
376 <td><a href="#BaseDevice.syncTime">syncTime</a></td> |
373 <td>Public method to set the time of the connected device to the local computer's time.</td> |
377 <td>Public method to set the time of the connected device to the local computer's time.</td> |
|
378 </tr> |
|
379 <tr> |
|
380 <td><a href="#BaseDevice.upipInstall">upipInstall</a></td> |
|
381 <td>Public method to install packages using 'upip'.</td> |
374 </tr> |
382 </tr> |
375 <tr> |
383 <tr> |
376 <td><a href="#BaseDevice.writeCredentials">writeCredentials</a></td> |
384 <td><a href="#BaseDevice.writeCredentials">writeCredentials</a></td> |
377 <td>Public method to write the given credentials to the connected device and modify the start script to connect automatically.</td> |
385 <td>Public method to write the given credentials to the connected device and modify the start script to connect automatically.</td> |
378 </tr> |
386 </tr> |
1357 <dt>Raises <b>OSError</b>:</dt> |
1365 <dt>Raises <b>OSError</b>:</dt> |
1358 <dd> |
1366 <dd> |
1359 raised to indicate an issue with the device |
1367 raised to indicate an issue with the device |
1360 </dd> |
1368 </dd> |
1361 </dl> |
1369 </dl> |
|
1370 <a NAME="BaseDevice.mipInstall" ID="BaseDevice.mipInstall"></a> |
|
1371 <h4>BaseDevice.mipInstall</h4> |
|
1372 <b>mipInstall</b>(<i>package, version, mpy</i>) |
|
1373 |
|
1374 <p> |
|
1375 Public method |
|
1376 </p> |
|
1377 <dl> |
|
1378 |
|
1379 <dt><i>package</i> (str)</dt> |
|
1380 <dd> |
|
1381 package name |
|
1382 </dd> |
|
1383 <dt><i>version</i> (str)</dt> |
|
1384 <dd> |
|
1385 package version |
|
1386 </dd> |
|
1387 <dt><i>mpy</i> (bool)</dt> |
|
1388 <dd> |
|
1389 flag indicating to install as '.mpy' file |
|
1390 </dd> |
|
1391 </dl> |
|
1392 <dl> |
|
1393 <dt>Return:</dt> |
|
1394 <dd> |
|
1395 tuple of (str, str) |
|
1396 </dd> |
|
1397 </dl> |
1362 <a NAME="BaseDevice.mkdir" ID="BaseDevice.mkdir"></a> |
1398 <a NAME="BaseDevice.mkdir" ID="BaseDevice.mkdir"></a> |
1363 <h4>BaseDevice.mkdir</h4> |
1399 <h4>BaseDevice.mkdir</h4> |
1364 <b>mkdir</b>(<i>dirname</i>) |
1400 <b>mkdir</b>(<i>dirname</i>) |
1365 |
1401 |
1366 <p> |
1402 <p> |
1845 <dt>Raises <b>OSError</b>:</dt> |
1881 <dt>Raises <b>OSError</b>:</dt> |
1846 <dd> |
1882 <dd> |
1847 raised to indicate an issue with the device |
1883 raised to indicate an issue with the device |
1848 </dd> |
1884 </dd> |
1849 </dl> |
1885 </dl> |
|
1886 <a NAME="BaseDevice.upipInstall" ID="BaseDevice.upipInstall"></a> |
|
1887 <h4>BaseDevice.upipInstall</h4> |
|
1888 <b>upipInstall</b>(<i>packages</i>) |
|
1889 |
|
1890 <p> |
|
1891 Public method to install packages using 'upip'. |
|
1892 </p> |
|
1893 <dl> |
|
1894 <dt>Return:</dt> |
|
1895 <dd> |
|
1896 tuple of (str, str) |
|
1897 </dd> |
|
1898 </dl> |
1850 <a NAME="BaseDevice.writeCredentials" ID="BaseDevice.writeCredentials"></a> |
1899 <a NAME="BaseDevice.writeCredentials" ID="BaseDevice.writeCredentials"></a> |
1851 <h4>BaseDevice.writeCredentials</h4> |
1900 <h4>BaseDevice.writeCredentials</h4> |
1852 <b>writeCredentials</b>(<i>ssid, password</i>) |
1901 <b>writeCredentials</b>(<i>ssid, password</i>) |
1853 |
1902 |
1854 <p> |
1903 <p> |