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

branch
eric7
changeset 10144
45a9177c8e77
parent 10138
56614cf9d03c
child 10153
ffe7432f716b
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Sun Jul 30 17:33:54 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Sun Jul 30 17:50:38 2023 +0200
@@ -87,6 +87,8 @@
     <li>getWifiData: get WiFi status data</li>
     <li>connectWifi: connect to a WiFi network</li>
     <li>disconnectWifi: disconnect from a WiFi network</li>
+    <li>isWifiClientConnected: check the WiFi connection status as client</li>
+    <li>isWifiApConnected: check the WiFi connection status as access point</li>
     <li>writeCredentials: save the WiFi credentials to the board and create
         functionality to auto-connect at boot time</li>
     <li>removeCredentials: remove the saved credentials</li>
@@ -111,15 +113,16 @@
 <p>
     Supported Ethernet commands are:
     <ul>
-    <li>hasEthernet: check, if the board has Ethernet functionality
-    <li>getEthernetStatus: get Ethernet status data
-    <li>connectToLan: connect to an Ethernet network
-    <li>disconnectFromLan: disconnect from an Ethernet network
-    <li>checkInternetViaLan: check, if internet access via LAN is possible
-    <li>deactivateEthernet: deactivate the Ethernet interface
+    <li>hasEthernet: check, if the board has Ethernet functionality</li>
+    <li>getEthernetStatus: get Ethernet status data</li>
+    <li>connectToLan: connect to an Ethernet network</li>
+    <li>disconnectFromLan: disconnect from an Ethernet network</li>
+    <li>isLanConnected: check the LAN connection status</li>
+    <li>checkInternetViaLan: check, if internet access via LAN is possible</li>
+    <li>deactivateEthernet: deactivate the Ethernet interface</li>
     <li>writeLanAutoConnect: save IPv4 parameters to the board and create a script
-        to connect the board to the LAN
-    <li>removeLanAutoConnect: remove the IPv4 parameters and script from the board
+        to connect the board to the LAN</li>
+    <li>removeLanAutoConnect: remove the IPv4 parameters and script from the board</li>
     </ul>
 </p>
 <h3>Derived from</h3>
@@ -383,10 +386,22 @@
 <td>Public method to check the availability of WiFi.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.isLanConnected">isLanConnected</a></td>
+<td>Public method to check the LAN connection status.</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.isNetworkConnected">isNetworkConnected</a></td>
 <td>Public method to check, if the network interface (WiFi or Ethernet) is connected.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.isWifiApConnected">isWifiApConnected</a></td>
+<td>Public method to check the WiFi connection status as access point.</td>
+</tr>
+<tr>
+<td><a href="#BaseDevice.isWifiClientConnected">isWifiClientConnected</a></td>
+<td>Public method to check the WiFi connection status as client.</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.lls">lls</a></td>
 <td>Public method to get a long directory listing of the connected device including meta data.</td>
 </tr>
@@ -1725,6 +1740,25 @@
 tuple of (bool, str)
 </dd>
 </dl>
+<a NAME="BaseDevice.isLanConnected" ID="BaseDevice.isLanConnected"></a>
+<h4>BaseDevice.isLanConnected</h4>
+<b>isLanConnected</b>(<i></i>)
+
+<p>
+        Public method to check the LAN connection status.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating that the device is connected to the LAN
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="BaseDevice.isNetworkConnected" ID="BaseDevice.isNetworkConnected"></a>
 <h4>BaseDevice.isNetworkConnected</h4>
 <b>isNetworkConnected</b>(<i></i>)
@@ -1745,6 +1779,44 @@
 bool
 </dd>
 </dl>
+<a NAME="BaseDevice.isWifiApConnected" ID="BaseDevice.isWifiApConnected"></a>
+<h4>BaseDevice.isWifiApConnected</h4>
+<b>isWifiApConnected</b>(<i></i>)
+
+<p>
+        Public method to check the WiFi connection status as access point.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating the WiFi connection status
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<a NAME="BaseDevice.isWifiClientConnected" ID="BaseDevice.isWifiClientConnected"></a>
+<h4>BaseDevice.isWifiClientConnected</h4>
+<b>isWifiClientConnected</b>(<i></i>)
+
+<p>
+        Public method to check the WiFi connection status as client.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating the WiFi connection status
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="BaseDevice.lls" ID="BaseDevice.lls"></a>
 <h4>BaseDevice.lls</h4>
 <b>lls</b>(<i>dirname="", fullstat=False, showHidden=False</i>)

eric ide

mercurial