--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html Fri Mar 21 18:12:17 2025 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html Sun Mar 23 14:55:14 2025 +0100 @@ -147,6 +147,10 @@ <td>Private method to get some essential data for the connected board.</td> </tr> <tr> +<td><a href="#BaseDevice._boardInformationCommands">_boardInformationCommands</a></td> +<td>Protected method defining the list of commands to be execute on the board for determining information about the board.</td> +</tr> +<tr> <td><a href="#BaseDevice._getSetTimeCode">_getSetTimeCode</a></td> <td>Protected method to get the device code to set the time.</td> </tr> @@ -391,6 +395,10 @@ <td>Public method to check the LAN connection status.</td> </tr> <tr> +<td><a href="#BaseDevice.isMicrobit">isMicrobit</a></td> +<td>Public method to check, if the device is a BBC micro:bit or Calliope mini.</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> @@ -515,10 +523,18 @@ <td>Public method to indicate, that the Bluetooth implementation supports scanning for devices.</td> </tr> <tr> +<td><a href="#BaseDevice.supportsDirectories">supportsDirectories</a></td> +<td>Public method to check, if the device supports directory operations.</td> +</tr> +<tr> <td><a href="#BaseDevice.supportsLocalFileAccess">supportsLocalFileAccess</a></td> <td>Public method to indicate file access via a local directory.</td> </tr> <tr> +<td><a href="#BaseDevice.supportsRenameFiles">supportsRenameFiles</a></td> +<td>Public method to check, if the device supports renaming of files.</td> +</tr> +<tr> <td><a href="#BaseDevice.syncTime">syncTime</a></td> <td>Public method to set the time of the connected device to the local computer's time.</td> </tr> @@ -590,6 +606,26 @@ raised to indicate an issue with the device </dd> </dl> +<a NAME="BaseDevice._boardInformationCommands" ID="BaseDevice._boardInformationCommands"></a> +<h4>BaseDevice._boardInformationCommands</h4> +<b>_boardInformationCommands</b>(<i></i>) +<p> + Protected method defining the list of commands to be execute on the board + for determining information about the board. +</p> + +<dl> +<dt>Return:</dt> +<dd> +list of command strings to be executed +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> <a NAME="BaseDevice._getSetTimeCode" ID="BaseDevice._getSetTimeCode"></a> <h4>BaseDevice._getSetTimeCode</h4> <b>_getSetTimeCode</b>(<i></i>) @@ -1917,6 +1953,25 @@ bool </dd> </dl> +<a NAME="BaseDevice.isMicrobit" ID="BaseDevice.isMicrobit"></a> +<h4>BaseDevice.isMicrobit</h4> +<b>isMicrobit</b>(<i></i>) +<p> + Public method to check, if the device is a BBC micro:bit or Calliope mini. +</p> + +<dl> +<dt>Return:</dt> +<dd> +flag indicating a micro:bit device +</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>) @@ -2659,6 +2714,25 @@ bool </dd> </dl> +<a NAME="BaseDevice.supportsDirectories" ID="BaseDevice.supportsDirectories"></a> +<h4>BaseDevice.supportsDirectories</h4> +<b>supportsDirectories</b>(<i></i>) +<p> + Public method to check, if the device supports directory operations. +</p> + +<dl> +<dt>Return:</dt> +<dd> +flag indicating directory operations are supported +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="BaseDevice.supportsLocalFileAccess" ID="BaseDevice.supportsLocalFileAccess"></a> <h4>BaseDevice.supportsLocalFileAccess</h4> <b>supportsLocalFileAccess</b>(<i></i>) @@ -2678,6 +2752,25 @@ bool </dd> </dl> +<a NAME="BaseDevice.supportsRenameFiles" ID="BaseDevice.supportsRenameFiles"></a> +<h4>BaseDevice.supportsRenameFiles</h4> +<b>supportsRenameFiles</b>(<i></i>) +<p> + Public method to check, if the device supports renaming of files. +</p> + +<dl> +<dt>Return:</dt> +<dd> +flag indicating renaming of files are supported +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="BaseDevice.syncTime" ID="BaseDevice.syncTime"></a> <h4>BaseDevice.syncTime</h4> <b>syncTime</b>(<i>_deviceType, hasCPy=False</i>)