178 <tr> |
178 <tr> |
179 <td><a href="#EspDevice.deviceName">deviceName</a></td> |
179 <td><a href="#EspDevice.deviceName">deviceName</a></td> |
180 <td>Public method to get the name of the device.</td> |
180 <td>Public method to get the name of the device.</td> |
181 </tr> |
181 </tr> |
182 <tr> |
182 <tr> |
|
183 <td><a href="#EspDevice.disableWebrepl">disableWebrepl</a></td> |
|
184 <td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td> |
|
185 </tr> |
|
186 <tr> |
183 <td><a href="#EspDevice.disconnectWifi">disconnectWifi</a></td> |
187 <td><a href="#EspDevice.disconnectWifi">disconnectWifi</a></td> |
184 <td>Public method to disconnect a device from the WiFi network.</td> |
188 <td>Public method to disconnect a device from the WiFi network.</td> |
|
189 </tr> |
|
190 <tr> |
|
191 <td><a href="#EspDevice.enableWebrepl">enableWebrepl</a></td> |
|
192 <td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td> |
185 </tr> |
193 </tr> |
186 <tr> |
194 <tr> |
187 <td><a href="#EspDevice.forceInterrupt">forceInterrupt</a></td> |
195 <td><a href="#EspDevice.forceInterrupt">forceInterrupt</a></td> |
188 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> |
196 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> |
189 </tr> |
197 </tr> |
667 <dt>Return Type:</dt> |
675 <dt>Return Type:</dt> |
668 <dd> |
676 <dd> |
669 str |
677 str |
670 </dd> |
678 </dd> |
671 </dl> |
679 </dl> |
|
680 <a NAME="EspDevice.disableWebrepl" ID="EspDevice.disableWebrepl"></a> |
|
681 <h4>EspDevice.disableWebrepl</h4> |
|
682 <b>disableWebrepl</b>(<i></i>) |
|
683 |
|
684 <p> |
|
685 Public method to write the given WebREPL password to the connected device and |
|
686 modify the start script to start the WebREPL server. |
|
687 </p> |
|
688 <dl> |
|
689 <dt>Return:</dt> |
|
690 <dd> |
|
691 tuple containing a flag indicating success and an error message |
|
692 </dd> |
|
693 </dl> |
|
694 <dl> |
|
695 <dt>Return Type:</dt> |
|
696 <dd> |
|
697 tuple of (bool, str) |
|
698 </dd> |
|
699 </dl> |
672 <a NAME="EspDevice.disconnectWifi" ID="EspDevice.disconnectWifi"></a> |
700 <a NAME="EspDevice.disconnectWifi" ID="EspDevice.disconnectWifi"></a> |
673 <h4>EspDevice.disconnectWifi</h4> |
701 <h4>EspDevice.disconnectWifi</h4> |
674 <b>disconnectWifi</b>(<i></i>) |
702 <b>disconnectWifi</b>(<i></i>) |
675 |
703 |
676 <p> |
704 <p> |
678 </p> |
706 </p> |
679 <dl> |
707 <dl> |
680 <dt>Return:</dt> |
708 <dt>Return:</dt> |
681 <dd> |
709 <dd> |
682 tuple containing a flag indicating success and an error string |
710 tuple containing a flag indicating success and an error string |
|
711 </dd> |
|
712 </dl> |
|
713 <dl> |
|
714 <dt>Return Type:</dt> |
|
715 <dd> |
|
716 tuple of (bool, str) |
|
717 </dd> |
|
718 </dl> |
|
719 <a NAME="EspDevice.enableWebrepl" ID="EspDevice.enableWebrepl"></a> |
|
720 <h4>EspDevice.enableWebrepl</h4> |
|
721 <b>enableWebrepl</b>(<i>password</i>) |
|
722 |
|
723 <p> |
|
724 Public method to write the given WebREPL password to the connected device and |
|
725 modify the start script to start the WebREPL server. |
|
726 </p> |
|
727 <dl> |
|
728 |
|
729 <dt><i>password</i> (str)</dt> |
|
730 <dd> |
|
731 password needed to authenticate |
|
732 </dd> |
|
733 </dl> |
|
734 <dl> |
|
735 <dt>Return:</dt> |
|
736 <dd> |
|
737 tuple containing a flag indicating success and an error message |
683 </dd> |
738 </dd> |
684 </dl> |
739 </dl> |
685 <dl> |
740 <dl> |
686 <dt>Return Type:</dt> |
741 <dt>Return Type:</dt> |
687 <dd> |
742 <dd> |