146 <tr> |
146 <tr> |
147 <td><a href="#RP2040Device.deviceName">deviceName</a></td> |
147 <td><a href="#RP2040Device.deviceName">deviceName</a></td> |
148 <td>Public method to get the name of the device.</td> |
148 <td>Public method to get the name of the device.</td> |
149 </tr> |
149 </tr> |
150 <tr> |
150 <tr> |
|
151 <td><a href="#RP2040Device.disableWebrepl">disableWebrepl</a></td> |
|
152 <td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td> |
|
153 </tr> |
|
154 <tr> |
151 <td><a href="#RP2040Device.disconnectFromLan">disconnectFromLan</a></td> |
155 <td><a href="#RP2040Device.disconnectFromLan">disconnectFromLan</a></td> |
152 <td>Public method to disconnect from the LAN.</td> |
156 <td>Public method to disconnect from the LAN.</td> |
153 </tr> |
157 </tr> |
154 <tr> |
158 <tr> |
155 <td><a href="#RP2040Device.disconnectWifi">disconnectWifi</a></td> |
159 <td><a href="#RP2040Device.disconnectWifi">disconnectWifi</a></td> |
156 <td>Public method to disconnect a device from the WiFi network.</td> |
160 <td>Public method to disconnect a device from the WiFi network.</td> |
|
161 </tr> |
|
162 <tr> |
|
163 <td><a href="#RP2040Device.enableWebrepl">enableWebrepl</a></td> |
|
164 <td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td> |
157 </tr> |
165 </tr> |
158 <tr> |
166 <tr> |
159 <td><a href="#RP2040Device.forceInterrupt">forceInterrupt</a></td> |
167 <td><a href="#RP2040Device.forceInterrupt">forceInterrupt</a></td> |
160 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> |
168 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> |
161 </tr> |
169 </tr> |
620 <dt>Return Type:</dt> |
628 <dt>Return Type:</dt> |
621 <dd> |
629 <dd> |
622 str |
630 str |
623 </dd> |
631 </dd> |
624 </dl> |
632 </dl> |
|
633 <a NAME="RP2040Device.disableWebrepl" ID="RP2040Device.disableWebrepl"></a> |
|
634 <h4>RP2040Device.disableWebrepl</h4> |
|
635 <b>disableWebrepl</b>(<i></i>) |
|
636 |
|
637 <p> |
|
638 Public method to write the given WebREPL password to the connected device and |
|
639 modify the start script to start the WebREPL server. |
|
640 </p> |
|
641 <dl> |
|
642 <dt>Return:</dt> |
|
643 <dd> |
|
644 tuple containing a flag indicating success and an error message |
|
645 </dd> |
|
646 </dl> |
|
647 <dl> |
|
648 <dt>Return Type:</dt> |
|
649 <dd> |
|
650 tuple of (bool, str) |
|
651 </dd> |
|
652 </dl> |
625 <a NAME="RP2040Device.disconnectFromLan" ID="RP2040Device.disconnectFromLan"></a> |
653 <a NAME="RP2040Device.disconnectFromLan" ID="RP2040Device.disconnectFromLan"></a> |
626 <h4>RP2040Device.disconnectFromLan</h4> |
654 <h4>RP2040Device.disconnectFromLan</h4> |
627 <b>disconnectFromLan</b>(<i></i>) |
655 <b>disconnectFromLan</b>(<i></i>) |
628 |
656 |
629 <p> |
657 <p> |
650 </p> |
678 </p> |
651 <dl> |
679 <dl> |
652 <dt>Return:</dt> |
680 <dt>Return:</dt> |
653 <dd> |
681 <dd> |
654 tuple containing a flag indicating success and an error string |
682 tuple containing a flag indicating success and an error string |
|
683 </dd> |
|
684 </dl> |
|
685 <dl> |
|
686 <dt>Return Type:</dt> |
|
687 <dd> |
|
688 tuple of (bool, str) |
|
689 </dd> |
|
690 </dl> |
|
691 <a NAME="RP2040Device.enableWebrepl" ID="RP2040Device.enableWebrepl"></a> |
|
692 <h4>RP2040Device.enableWebrepl</h4> |
|
693 <b>enableWebrepl</b>(<i>password</i>) |
|
694 |
|
695 <p> |
|
696 Public method to write the given WebREPL password to the connected device and |
|
697 modify the start script to start the WebREPL server. |
|
698 </p> |
|
699 <dl> |
|
700 |
|
701 <dt><i>password</i> (str)</dt> |
|
702 <dd> |
|
703 password needed to authenticate |
|
704 </dd> |
|
705 </dl> |
|
706 <dl> |
|
707 <dt>Return:</dt> |
|
708 <dd> |
|
709 tuple containing a flag indicating success and an error message |
655 </dd> |
710 </dd> |
656 </dl> |
711 </dl> |
657 <dl> |
712 <dl> |
658 <dt>Return Type:</dt> |
713 <dt>Return Type:</dt> |
659 <dd> |
714 <dd> |