148 <tr> |
148 <tr> |
149 <td><a href="#MicroPythonDevice.hasFirmwareUrl">hasFirmwareUrl</a></td> |
149 <td><a href="#MicroPythonDevice.hasFirmwareUrl">hasFirmwareUrl</a></td> |
150 <td>Public method to check, if the device has a configured firmware download URL.</td> |
150 <td>Public method to check, if the device has a configured firmware download URL.</td> |
151 </tr> |
151 </tr> |
152 <tr> |
152 <tr> |
|
153 <td><a href="#MicroPythonDevice.hasFlashMenuEntry">hasFlashMenuEntry</a></td> |
|
154 <td>Public method to check, if the device has its own flash menu entry.</td> |
|
155 </tr> |
|
156 <tr> |
153 <td><a href="#MicroPythonDevice.hasTimeCommands">hasTimeCommands</a></td> |
157 <td><a href="#MicroPythonDevice.hasTimeCommands">hasTimeCommands</a></td> |
154 <td>Public method to check, if the device supports time commands.</td> |
158 <td>Public method to check, if the device supports time commands.</td> |
155 </tr> |
159 </tr> |
156 <tr> |
160 <tr> |
157 <td><a href="#MicroPythonDevice.runScript">runScript</a></td> |
161 <td><a href="#MicroPythonDevice.runScript">runScript</a></td> |
472 <dt>Return Type:</dt> |
476 <dt>Return Type:</dt> |
473 <dd> |
477 <dd> |
474 bool |
478 bool |
475 </dd> |
479 </dd> |
476 </dl> |
480 </dl> |
|
481 <a NAME="MicroPythonDevice.hasFlashMenuEntry" ID="MicroPythonDevice.hasFlashMenuEntry"></a> |
|
482 <h4>MicroPythonDevice.hasFlashMenuEntry</h4> |
|
483 <b>hasFlashMenuEntry</b>(<i></i>) |
|
484 |
|
485 <p> |
|
486 Public method to check, if the device has its own flash menu entry. |
|
487 </p> |
|
488 <dl> |
|
489 <dt>Return:</dt> |
|
490 <dd> |
|
491 flag indicating a specific flash menu entry |
|
492 </dd> |
|
493 </dl> |
|
494 <dl> |
|
495 <dt>Return Type:</dt> |
|
496 <dd> |
|
497 bool |
|
498 </dd> |
|
499 </dl> |
477 <a NAME="MicroPythonDevice.hasTimeCommands" ID="MicroPythonDevice.hasTimeCommands"></a> |
500 <a NAME="MicroPythonDevice.hasTimeCommands" ID="MicroPythonDevice.hasTimeCommands"></a> |
478 <h4>MicroPythonDevice.hasTimeCommands</h4> |
501 <h4>MicroPythonDevice.hasTimeCommands</h4> |
479 <b>hasTimeCommands</b>(<i></i>) |
502 <b>hasTimeCommands</b>(<i></i>) |
480 |
503 |
481 <p> |
504 <p> |
705 Function to check the serial ports for supported MicroPython devices. |
728 Function to check the serial ports for supported MicroPython devices. |
706 </p> |
729 </p> |
707 <dl> |
730 <dl> |
708 <dt>Return:</dt> |
731 <dt>Return:</dt> |
709 <dd> |
732 <dd> |
710 tuple containing a list of tuples with the board type, a |
733 tuple containing a list of tuples with the board type, the port |
711 description and the serial port it is connected at for known device |
734 description, a description, the serial port it is connected at, the |
712 types and a list of tuples with VID, PID and description for unknown |
735 VID and PID for known device types and a list of tuples with VID, PID |
713 devices |
736 and description for unknown devices |
714 </dd> |
737 </dd> |
715 </dl> |
738 </dl> |
716 <dl> |
739 <dl> |
717 <dt>Return Type:</dt> |
740 <dt>Return Type:</dt> |
718 <dd> |
741 <dd> |
719 tuple of (list of tuples of (str, str, str), list of tuples of |
742 tuple of (list of tuples of (str, str, str, str, int, int), |
720 (int, int, str) |
743 list of tuples of (int, int, str) |
721 </dd> |
744 </dd> |
722 </dl> |
745 </dl> |
723 <div align="right"><a href="#top">Up</a></div> |
746 <div align="right"><a href="#top">Up</a></div> |
724 <hr /> |
747 <hr /> |
725 <hr /> |
748 <hr /> |