diff -r 33e7b9d3f91c -r ffe7432f716b src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html --- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html Wed Aug 02 17:22:20 2023 +0200 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html Thu Aug 03 17:33:07 2023 +0200 @@ -386,6 +386,10 @@ <td>Public method to check the availability of WiFi.</td> </tr> <tr> +<td><a href="#BaseDevice.hasWifiCountry">hasWifiCountry</a></td> +<td>Public method to check, if the device (potentially) has support to set the WiFi country.</td> +</tr> +<tr> <td><a href="#BaseDevice.isLanConnected">isLanConnected</a></td> <td>Public method to check the LAN connection status.</td> </tr> @@ -903,11 +907,11 @@ </dl> <a NAME="BaseDevice.connectToLan" ID="BaseDevice.connectToLan"></a> <h4>BaseDevice.connectToLan</h4> -<b>connectToLan</b>(<i>config</i>) +<b>connectToLan</b>(<i>config, hostname</i>) <a NAME="BaseDevice.connectWifi" ID="BaseDevice.connectWifi"></a> <h4>BaseDevice.connectWifi</h4> -<b>connectWifi</b>(<i>ssid, password</i>) +<b>connectWifi</b>(<i>ssid, password, hostname</i>) <a NAME="BaseDevice.deactivateBluetoothInterface" ID="BaseDevice.deactivateBluetoothInterface"></a> <h4>BaseDevice.deactivateBluetoothInterface</h4> @@ -1740,6 +1744,26 @@ tuple of (bool, str) </dd> </dl> +<a NAME="BaseDevice.hasWifiCountry" ID="BaseDevice.hasWifiCountry"></a> +<h4>BaseDevice.hasWifiCountry</h4> +<b>hasWifiCountry</b>(<i></i>) + +<p> + Public method to check, if the device (potentially) has support to set the + WiFi country. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating the support of WiFi country +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="BaseDevice.isLanConnected" ID="BaseDevice.isLanConnected"></a> <h4>BaseDevice.isLanConnected</h4> <b>isLanConnected</b>(<i></i>) @@ -2371,7 +2395,7 @@ </dl> <a NAME="BaseDevice.startAccessPoint" ID="BaseDevice.startAccessPoint"></a> <h4>BaseDevice.startAccessPoint</h4> -<b>startAccessPoint</b>(<i>ssid, security=None, password=None, ifconfig=None</i>) +<b>startAccessPoint</b>(<i>ssid, security=None, password=None, hostname=None, ifconfig=None, </i>) <p> Public method to start the access point interface. @@ -2390,6 +2414,10 @@ <dd> password (defaults to None) </dd> +<dt><i>hostname</i> (str (optional))</dt> +<dd> +host name of the device (defaults to None) +</dd> <dt><i>ifconfig</i> (tuple of (str, str, str, str))</dt> <dd> IPv4 configuration for the access point if not default @@ -2491,11 +2519,11 @@ </dl> <a NAME="BaseDevice.writeCredentials" ID="BaseDevice.writeCredentials"></a> <h4>BaseDevice.writeCredentials</h4> -<b>writeCredentials</b>(<i>ssid, password</i>) +<b>writeCredentials</b>(<i>ssid, password, hostname, country</i>) <a NAME="BaseDevice.writeLanAutoConnect" ID="BaseDevice.writeLanAutoConnect"></a> <h4>BaseDevice.writeLanAutoConnect</h4> -<b>writeLanAutoConnect</b>(<i>config</i>) +<b>writeLanAutoConnect</b>(<i>config, hostname</i>) <div align="right"><a href="#top">Up</a></div> <hr />