src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html

branch
mpy_network
changeset 10022
a95800b414b7
parent 9989
286c2a21f36f
child 10035
3a423b723a99
equal deleted inserted replaced
10021:a71f50b3a503 10022:a95800b414b7
233 <tr> 233 <tr>
234 <td><a href="#BaseDevice.deviceName">deviceName</a></td> 234 <td><a href="#BaseDevice.deviceName">deviceName</a></td>
235 <td>Public method to get the name of the device.</td> 235 <td>Public method to get the name of the device.</td>
236 </tr> 236 </tr>
237 <tr> 237 <tr>
238 <td><a href="#BaseDevice.disableWebrepl">disableWebrepl</a></td>
239 <td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td>
240 </tr>
241 <tr>
238 <td><a href="#BaseDevice.disconnectFromLan">disconnectFromLan</a></td> 242 <td><a href="#BaseDevice.disconnectFromLan">disconnectFromLan</a></td>
239 <td>Public method to disconnect from the LAN.</td> 243 <td>Public method to disconnect from the LAN.</td>
240 </tr> 244 </tr>
241 <tr> 245 <tr>
242 <td><a href="#BaseDevice.disconnectWifi">disconnectWifi</a></td> 246 <td><a href="#BaseDevice.disconnectWifi">disconnectWifi</a></td>
243 <td>Public method to disconnect a device from the WiFi network.</td> 247 <td>Public method to disconnect a device from the WiFi network.</td>
244 </tr> 248 </tr>
245 <tr> 249 <tr>
246 <td><a href="#BaseDevice.downloadFirmware">downloadFirmware</a></td> 250 <td><a href="#BaseDevice.downloadFirmware">downloadFirmware</a></td>
247 <td>Public method to download the device firmware.</td> 251 <td>Public method to download the device firmware.</td>
252 </tr>
253 <tr>
254 <td><a href="#BaseDevice.enableWebrepl">enableWebrepl</a></td>
255 <td>Public method to write the given WebREPL password to the connected device and modify the start script to start the WebREPL server.</td>
248 </tr> 256 </tr>
249 <tr> 257 <tr>
250 <td><a href="#BaseDevice.ensurePath">ensurePath</a></td> 258 <td><a href="#BaseDevice.ensurePath">ensurePath</a></td>
251 <td>Public method to ensure, that the given target path exists.</td> 259 <td>Public method to ensure, that the given target path exists.</td>
252 </tr> 260 </tr>
1013 <dt>Return Type:</dt> 1021 <dt>Return Type:</dt>
1014 <dd> 1022 <dd>
1015 str 1023 str
1016 </dd> 1024 </dd>
1017 </dl> 1025 </dl>
1026 <a NAME="BaseDevice.disableWebrepl" ID="BaseDevice.disableWebrepl"></a>
1027 <h4>BaseDevice.disableWebrepl</h4>
1028 <b>disableWebrepl</b>(<i></i>)
1029
1030 <p>
1031 Public method to write the given WebREPL password to the connected device and
1032 modify the start script to start the WebREPL server.
1033 </p>
1034 <dl>
1035 <dt>Return:</dt>
1036 <dd>
1037 tuple containing a flag indicating success and an error message
1038 </dd>
1039 </dl>
1040 <dl>
1041 <dt>Return Type:</dt>
1042 <dd>
1043 tuple of (bool, str)
1044 </dd>
1045 </dl>
1018 <a NAME="BaseDevice.disconnectFromLan" ID="BaseDevice.disconnectFromLan"></a> 1046 <a NAME="BaseDevice.disconnectFromLan" ID="BaseDevice.disconnectFromLan"></a>
1019 <h4>BaseDevice.disconnectFromLan</h4> 1047 <h4>BaseDevice.disconnectFromLan</h4>
1020 <b>disconnectFromLan</b>(<i></i>) 1048 <b>disconnectFromLan</b>(<i></i>)
1021 1049
1022 <p> 1050 <p>
1058 <b>downloadFirmware</b>(<i></i>) 1086 <b>downloadFirmware</b>(<i></i>)
1059 1087
1060 <p> 1088 <p>
1061 Public method to download the device firmware. 1089 Public method to download the device firmware.
1062 </p> 1090 </p>
1091 <a NAME="BaseDevice.enableWebrepl" ID="BaseDevice.enableWebrepl"></a>
1092 <h4>BaseDevice.enableWebrepl</h4>
1093 <b>enableWebrepl</b>(<i>password</i>)
1094
1095 <p>
1096 Public method to write the given WebREPL password to the connected device and
1097 modify the start script to start the WebREPL server.
1098 </p>
1099 <dl>
1100
1101 <dt><i>password</i> (str)</dt>
1102 <dd>
1103 password needed to authenticate
1104 </dd>
1105 </dl>
1106 <dl>
1107 <dt>Return:</dt>
1108 <dd>
1109 tuple containing a flag indicating success and an error message
1110 </dd>
1111 </dl>
1112 <dl>
1113 <dt>Return Type:</dt>
1114 <dd>
1115 tuple of (bool, str)
1116 </dd>
1117 </dl>
1063 <a NAME="BaseDevice.ensurePath" ID="BaseDevice.ensurePath"></a> 1118 <a NAME="BaseDevice.ensurePath" ID="BaseDevice.ensurePath"></a>
1064 <h4>BaseDevice.ensurePath</h4> 1119 <h4>BaseDevice.ensurePath</h4>
1065 <b>ensurePath</b>(<i>target</i>) 1120 <b>ensurePath</b>(<i>target</i>)
1066 1121
1067 <p> 1122 <p>

eric ide

mercurial