--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.CircuitPythonDevices.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.CircuitPythonDevices.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,57 +7,53 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.MicroPython.Devices.CircuitPythonDevices</h1> - <p> Module implementing the device interface class for CircuitPython boards. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#CircuitPythonDevice">CircuitPythonDevice</a></td> <td>Class implementing the device for CircuitPython boards.</td> </tr> </table> + <h3>Functions</h3> - <table> - <tr> <td><a href="#createDevice">createDevice</a></td> <td>Function to instantiate a MicroPython device object.</td> </tr> </table> + <hr /> <hr /> <a NAME="CircuitPythonDevice" ID="CircuitPythonDevice"></a> <h2>CircuitPythonDevice</h2> - <p> Class implementing the device for CircuitPython boards. </p> + <h3>Derived from</h3> BaseDevice <h3>Class Attributes</h3> - <table> <tr><td>DeviceVolumeName</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#CircuitPythonDevice.__init__">CircuitPythonDevice</a></td> <td>Constructor</td> @@ -327,19 +323,20 @@ <td>Public method to generate a script and associated configuration to connect the device to the LAN during boot time.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="CircuitPythonDevice.__init__" ID="CircuitPythonDevice.__init__"></a> <h4>CircuitPythonDevice (Constructor)</h4> <b>CircuitPythonDevice</b>(<i>microPythonWidget, deviceType, boardName, vid=0, pid=0, hasWorkspace=True, parent=None, </i>) - <p> Constructor </p> + <dl> <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> @@ -375,31 +372,31 @@ <a NAME="CircuitPythonDevice.__aboutToShowLibraryMenu" ID="CircuitPythonDevice.__aboutToShowLibraryMenu"></a> <h4>CircuitPythonDevice.__aboutToShowLibraryMenu</h4> <b>__aboutToShowLibraryMenu</b>(<i></i>) - <p> Private slot to populate the 'Library Management' menu. </p> + <a NAME="CircuitPythonDevice.__activateBootloader" ID="CircuitPythonDevice.__activateBootloader"></a> <h4>CircuitPythonDevice.__activateBootloader</h4> <b>__activateBootloader</b>(<i></i>) - <p> Private slot to switch the board into 'bootloader' mode. </p> + <a NAME="CircuitPythonDevice.__activateUF2Boot" ID="CircuitPythonDevice.__activateUF2Boot"></a> <h4>CircuitPythonDevice.__activateUF2Boot</h4> <b>__activateUF2Boot</b>(<i></i>) - <p> Private slot to switch the board into 'UF2 Boot' mode. </p> + <a NAME="CircuitPythonDevice.__cpyVersionResponse" ID="CircuitPythonDevice.__cpyVersionResponse"></a> <h4>CircuitPythonDevice.__cpyVersionResponse</h4> <b>__cpyVersionResponse</b>(<i>reply</i>) - <p> Private slot handling the response of the latest version request. </p> + <dl> <dt><i>reply</i> (QNetworkReply)</dt> @@ -410,17 +407,17 @@ <a NAME="CircuitPythonDevice.__createCPyMenu" ID="CircuitPythonDevice.__createCPyMenu"></a> <h4>CircuitPythonDevice.__createCPyMenu</h4> <b>__createCPyMenu</b>(<i></i>) - <p> Private method to create the CircuitPython submenu. </p> + <a NAME="CircuitPythonDevice.__createFlashMenus" ID="CircuitPythonDevice.__createFlashMenus"></a> <h4>CircuitPythonDevice.__createFlashMenus</h4> <b>__createFlashMenus</b>(<i></i>) - <p> Private method to create the various menus to flash a CircuitPython firmware. </p> + <dl> <dt>Return:</dt> <dd> @@ -436,10 +433,10 @@ <a NAME="CircuitPythonDevice.__deviceVolumeMounted" ID="CircuitPythonDevice.__deviceVolumeMounted"></a> <h4>CircuitPythonDevice.__deviceVolumeMounted</h4> <b>__deviceVolumeMounted</b>(<i></i>) - <p> Private method to check, if the device volume is mounted. </p> + <dl> <dt>Return:</dt> <dd> @@ -455,33 +452,33 @@ <a NAME="CircuitPythonDevice.__esp32EraseFlash" ID="CircuitPythonDevice.__esp32EraseFlash"></a> <h4>CircuitPythonDevice.__esp32EraseFlash</h4> <b>__esp32EraseFlash</b>(<i></i>) - <p> Private slot to erase the flash of an ESP32 device. </p> + <a NAME="CircuitPythonDevice.__esp32FlashAddons" ID="CircuitPythonDevice.__esp32FlashAddons"></a> <h4>CircuitPythonDevice.__esp32FlashAddons</h4> <b>__esp32FlashAddons</b>(<i></i>) - <p> Private slot to flash additional firmware to an ESP32 device. </p> + <a NAME="CircuitPythonDevice.__esp32FlashPython" ID="CircuitPythonDevice.__esp32FlashPython"></a> <h4>CircuitPythonDevice.__esp32FlashPython</h4> <b>__esp32FlashPython</b>(<i></i>) - <p> Private slot to flash a MicroPython or CircuitPython firmware to an ESP32 device. </p> + <a NAME="CircuitPythonDevice.__findDeviceDirectories" ID="CircuitPythonDevice.__findDeviceDirectories"></a> <h4>CircuitPythonDevice.__findDeviceDirectories</h4> <b>__findDeviceDirectories</b>(<i>directories</i>) - <p> Private method to find the device directories associated with the current board name. </p> + <dl> <dt><i>directories</i> (list of str)</dt> @@ -504,10 +501,10 @@ <a NAME="CircuitPythonDevice.__findWorkspace" ID="CircuitPythonDevice.__findWorkspace"></a> <h4>CircuitPythonDevice.__findWorkspace</h4> <b>__findWorkspace</b>(<i>silent=False</i>) - <p> Private method to find the workspace directory. </p> + <dl> <dt><i>silent</i> (bool (optional))</dt> @@ -530,17 +527,17 @@ <a NAME="CircuitPythonDevice.__flashCircuitPython" ID="CircuitPythonDevice.__flashCircuitPython"></a> <h4>CircuitPythonDevice.__flashCircuitPython</h4> <b>__flashCircuitPython</b>(<i></i>) - <p> Private slot to flash a CircuitPython firmware to a device supporting UF2. </p> + <a NAME="CircuitPythonDevice.__installLibraryFiles" ID="CircuitPythonDevice.__installLibraryFiles"></a> <h4>CircuitPythonDevice.__installLibraryFiles</h4> <b>__installLibraryFiles</b>(<i>packageMode=False</i>) - <p> Private slot to install Python files into the onboard library. </p> + <dl> <dt><i>packageMode</i> (bool (optional))</dt> @@ -552,10 +549,10 @@ <a NAME="CircuitPythonDevice.__modifySettings" ID="CircuitPythonDevice.__modifySettings"></a> <h4>CircuitPythonDevice.__modifySettings</h4> <b>__modifySettings</b>(<i>changedEntries</i>) - <p> Private method to modify the 'settings.toml' file as of CircuitPython 8.0.0. </p> + <dl> <dt><i>changedEntries</i> (dict of {str: str})</dt> @@ -578,43 +575,43 @@ <a NAME="CircuitPythonDevice.__resetDevice" ID="CircuitPythonDevice.__resetDevice"></a> <h4>CircuitPythonDevice.__resetDevice</h4> <b>__resetDevice</b>(<i></i>) - <p> Private slot to reset the connected device. </p> + <a NAME="CircuitPythonDevice.__selectDeviceVolume" ID="CircuitPythonDevice.__selectDeviceVolume"></a> <h4>CircuitPythonDevice.__selectDeviceVolume</h4> <b>__selectDeviceVolume</b>(<i></i>) - <p> Private slot to select the mounted device volume, if it could not be found automatically. </p> + <a NAME="CircuitPythonDevice.__showTeensyFlashInstructions" ID="CircuitPythonDevice.__showTeensyFlashInstructions"></a> <h4>CircuitPythonDevice.__showTeensyFlashInstructions</h4> <b>__showTeensyFlashInstructions</b>(<i></i>) - <p> Private slot to show a message box because Teensy does not support the UF2 bootloader yet. </p> + <a NAME="CircuitPythonDevice.__startTeensyLoader" ID="CircuitPythonDevice.__startTeensyLoader"></a> <h4>CircuitPythonDevice.__startTeensyLoader</h4> <b>__startTeensyLoader</b>(<i></i>) - <p> Private slot to start the 'Teensy Loader' application. </p> <p> Note: The application must be accessible via the application search path. </p> + <a NAME="CircuitPythonDevice.activateBluetoothInterface" ID="CircuitPythonDevice.activateBluetoothInterface"></a> <h4>CircuitPythonDevice.activateBluetoothInterface</h4> <b>activateBluetoothInterface</b>(<i></i>) - <p> Public method to activate the Bluetooth interface. </p> + <dl> <dt>Return:</dt> <dd> @@ -637,10 +634,10 @@ <a NAME="CircuitPythonDevice.addDeviceMenuEntries" ID="CircuitPythonDevice.addDeviceMenuEntries"></a> <h4>CircuitPythonDevice.addDeviceMenuEntries</h4> <b>addDeviceMenuEntries</b>(<i>menu</i>) - <p> Public method to add device specific entries to the given menu. </p> + <dl> <dt><i>menu</i> (QMenu)</dt> @@ -651,10 +648,10 @@ <a NAME="CircuitPythonDevice.canRunScript" ID="CircuitPythonDevice.canRunScript"></a> <h4>CircuitPythonDevice.canRunScript</h4> <b>canRunScript</b>(<i></i>) - <p> Public method to determine, if a script can be executed. </p> + <dl> <dt>Return:</dt> <dd> @@ -671,10 +668,10 @@ <a NAME="CircuitPythonDevice.canStartFileManager" ID="CircuitPythonDevice.canStartFileManager"></a> <h4>CircuitPythonDevice.canStartFileManager</h4> <b>canStartFileManager</b>(<i></i>) - <p> Public method to determine, if a File Manager can be started. </p> + <dl> <dt>Return:</dt> <dd> @@ -691,10 +688,10 @@ <a NAME="CircuitPythonDevice.canStartPlotter" ID="CircuitPythonDevice.canStartPlotter"></a> <h4>CircuitPythonDevice.canStartPlotter</h4> <b>canStartPlotter</b>(<i></i>) - <p> Public method to determine, if a Plotter can be started. </p> + <dl> <dt>Return:</dt> <dd> @@ -711,10 +708,10 @@ <a NAME="CircuitPythonDevice.canStartRepl" ID="CircuitPythonDevice.canStartRepl"></a> <h4>CircuitPythonDevice.canStartRepl</h4> <b>canStartRepl</b>(<i></i>) - <p> Public method to determine, if a REPL can be started. </p> + <dl> <dt>Return:</dt> <dd> @@ -731,10 +728,10 @@ <a NAME="CircuitPythonDevice.checkInternet" ID="CircuitPythonDevice.checkInternet"></a> <h4>CircuitPythonDevice.checkInternet</h4> <b>checkInternet</b>(<i></i>) - <p> Public method to check, if the internet can be reached. </p> + <dl> <dt>Return:</dt> <dd> @@ -750,10 +747,10 @@ <a NAME="CircuitPythonDevice.checkInternetViaLan" ID="CircuitPythonDevice.checkInternetViaLan"></a> <h4>CircuitPythonDevice.checkInternetViaLan</h4> <b>checkInternetViaLan</b>(<i></i>) - <p> Public method to check, if the internet can be reached (LAN variant). </p> + <dl> <dt>Return:</dt> <dd> @@ -769,13 +766,13 @@ <a NAME="CircuitPythonDevice.connectToLan" ID="CircuitPythonDevice.connectToLan"></a> <h4>CircuitPythonDevice.connectToLan</h4> <b>connectToLan</b>(<i>config, hostname</i>) - <p> Public method to connect the connected device to the LAN. </p> <p> Note: The MAC address of the interface is configured with the WIZ </p> + <dl> <dt><i>config</i> (str or tuple of (str, str, str, str))</dt> @@ -803,10 +800,10 @@ <a NAME="CircuitPythonDevice.connectWifi" ID="CircuitPythonDevice.connectWifi"></a> <h4>CircuitPythonDevice.connectWifi</h4> <b>connectWifi</b>(<i>ssid, password, hostname</i>) - <p> Public method to connect a device to a WiFi network. </p> + <dl> <dt><i>ssid</i> (str)</dt> @@ -837,10 +834,10 @@ <a NAME="CircuitPythonDevice.deactivateBluetoothInterface" ID="CircuitPythonDevice.deactivateBluetoothInterface"></a> <h4>CircuitPythonDevice.deactivateBluetoothInterface</h4> <b>deactivateBluetoothInterface</b>(<i></i>) - <p> Public method to deactivate the Bluetooth interface. </p> + <dl> <dt>Return:</dt> <dd> @@ -863,10 +860,10 @@ <a NAME="CircuitPythonDevice.deactivateEthernet" ID="CircuitPythonDevice.deactivateEthernet"></a> <h4>CircuitPythonDevice.deactivateEthernet</h4> <b>deactivateEthernet</b>(<i></i>) - <p> Public method to deactivate the Ethernet interface of the connected device. </p> + <dl> <dt>Return:</dt> <dd> @@ -882,7 +879,6 @@ <a NAME="CircuitPythonDevice.deactivateInterface" ID="CircuitPythonDevice.deactivateInterface"></a> <h4>CircuitPythonDevice.deactivateInterface</h4> <b>deactivateInterface</b>(<i>interface</i>) - <p> Public method to deactivate a given WiFi interface of the connected device. </p> @@ -890,6 +886,7 @@ Note: With CircuitPython it is not possible to deactivate the station and access point interfaces separately. </p> + <dl> <dt><i>interface</i> (str)</dt> @@ -920,10 +917,10 @@ <a NAME="CircuitPythonDevice.deviceName" ID="CircuitPythonDevice.deviceName"></a> <h4>CircuitPythonDevice.deviceName</h4> <b>deviceName</b>(<i></i>) - <p> Public method to get the name of the device. </p> + <dl> <dt>Return:</dt> <dd> @@ -939,10 +936,10 @@ <a NAME="CircuitPythonDevice.disconnectFromLan" ID="CircuitPythonDevice.disconnectFromLan"></a> <h4>CircuitPythonDevice.disconnectFromLan</h4> <b>disconnectFromLan</b>(<i></i>) - <p> Public method to disconnect from the LAN. </p> + <dl> <dt>Return:</dt> <dd> @@ -958,10 +955,10 @@ <a NAME="CircuitPythonDevice.disconnectWifi" ID="CircuitPythonDevice.disconnectWifi"></a> <h4>CircuitPythonDevice.disconnectWifi</h4> <b>disconnectWifi</b>(<i></i>) - <p> Public method to disconnect a device from the WiFi network. </p> + <dl> <dt>Return:</dt> <dd> @@ -977,11 +974,11 @@ <a NAME="CircuitPythonDevice.forceInterrupt" ID="CircuitPythonDevice.forceInterrupt"></a> <h4>CircuitPythonDevice.forceInterrupt</h4> <b>forceInterrupt</b>(<i></i>) - <p> Public method to determine the need for an interrupt when opening the serial connection. </p> + <dl> <dt>Return:</dt> <dd> @@ -997,10 +994,10 @@ <a NAME="CircuitPythonDevice.getBluetoothStatus" ID="CircuitPythonDevice.getBluetoothStatus"></a> <h4>CircuitPythonDevice.getBluetoothStatus</h4> <b>getBluetoothStatus</b>(<i></i>) - <p> Public method to get Bluetooth status data of the connected board. </p> + <dl> <dt>Return:</dt> <dd> @@ -1024,10 +1021,10 @@ <a NAME="CircuitPythonDevice.getConnectedClients" ID="CircuitPythonDevice.getConnectedClients"></a> <h4>CircuitPythonDevice.getConnectedClients</h4> <b>getConnectedClients</b>(<i></i>) - <p> Public method to get a list of connected clients. </p> + <dl> <dt>Return:</dt> <dd> @@ -1044,10 +1041,10 @@ <a NAME="CircuitPythonDevice.getDeviceScan" ID="CircuitPythonDevice.getDeviceScan"></a> <h4>CircuitPythonDevice.getDeviceScan</h4> <b>getDeviceScan</b>(<i>timeout=10</i>) - <p> Public method to perform a Bluetooth device scan. </p> + <dl> <dt><i>timeout</i> (int (optional))</dt> @@ -1072,10 +1069,10 @@ <a NAME="CircuitPythonDevice.getDocumentationUrl" ID="CircuitPythonDevice.getDocumentationUrl"></a> <h4>CircuitPythonDevice.getDocumentationUrl</h4> <b>getDocumentationUrl</b>(<i></i>) - <p> Public method to get the device documentation URL. </p> + <dl> <dt>Return:</dt> <dd> @@ -1091,10 +1088,10 @@ <a NAME="CircuitPythonDevice.getDownloadMenuEntries" ID="CircuitPythonDevice.getDownloadMenuEntries"></a> <h4>CircuitPythonDevice.getDownloadMenuEntries</h4> <b>getDownloadMenuEntries</b>(<i></i>) - <p> Public method to retrieve the entries for the downloads menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -1111,10 +1108,10 @@ <a NAME="CircuitPythonDevice.getEthernetStatus" ID="CircuitPythonDevice.getEthernetStatus"></a> <h4>CircuitPythonDevice.getEthernetStatus</h4> <b>getEthernetStatus</b>(<i></i>) - <p> Public method to get Ethernet status data of the connected board. </p> + <dl> <dt>Return:</dt> <dd> @@ -1138,10 +1135,10 @@ <a NAME="CircuitPythonDevice.getWifiData" ID="CircuitPythonDevice.getWifiData"></a> <h4>CircuitPythonDevice.getWifiData</h4> <b>getWifiData</b>(<i></i>) - <p> Public method to get data related to the current WiFi status. </p> + <dl> <dt>Return:</dt> <dd> @@ -1165,10 +1162,10 @@ <a NAME="CircuitPythonDevice.getWorkspace" ID="CircuitPythonDevice.getWorkspace"></a> <h4>CircuitPythonDevice.getWorkspace</h4> <b>getWorkspace</b>(<i>silent=False</i>) - <p> Public method to get the workspace directory. </p> + <dl> <dt><i>silent</i> (bool)</dt> @@ -1191,10 +1188,10 @@ <a NAME="CircuitPythonDevice.hasBluetooth" ID="CircuitPythonDevice.hasBluetooth"></a> <h4>CircuitPythonDevice.hasBluetooth</h4> <b>hasBluetooth</b>(<i></i>) - <p> Public method to check the availability of Bluetooth. </p> + <dl> <dt>Return:</dt> <dd> @@ -1217,10 +1214,10 @@ <a NAME="CircuitPythonDevice.hasEthernet" ID="CircuitPythonDevice.hasEthernet"></a> <h4>CircuitPythonDevice.hasEthernet</h4> <b>hasEthernet</b>(<i></i>) - <p> Public method to check the availability of Ethernet. </p> + <dl> <dt>Return:</dt> <dd> @@ -1244,10 +1241,10 @@ <a NAME="CircuitPythonDevice.hasFlashMenuEntry" ID="CircuitPythonDevice.hasFlashMenuEntry"></a> <h4>CircuitPythonDevice.hasFlashMenuEntry</h4> <b>hasFlashMenuEntry</b>(<i></i>) - <p> Public method to check, if the device has its own flash menu entry. </p> + <dl> <dt>Return:</dt> <dd> @@ -1263,10 +1260,10 @@ <a NAME="CircuitPythonDevice.hasNetworkTime" ID="CircuitPythonDevice.hasNetworkTime"></a> <h4>CircuitPythonDevice.hasNetworkTime</h4> <b>hasNetworkTime</b>(<i></i>) - <p> Public method to check the availability of network time functions. </p> + <dl> <dt>Return:</dt> <dd> @@ -1289,10 +1286,10 @@ <a NAME="CircuitPythonDevice.hasWifi" ID="CircuitPythonDevice.hasWifi"></a> <h4>CircuitPythonDevice.hasWifi</h4> <b>hasWifi</b>(<i></i>) - <p> Public method to check the availability of WiFi. </p> + <dl> <dt>Return:</dt> <dd> @@ -1316,10 +1313,10 @@ <a NAME="CircuitPythonDevice.isLanConnected" ID="CircuitPythonDevice.isLanConnected"></a> <h4>CircuitPythonDevice.isLanConnected</h4> <b>isLanConnected</b>(<i></i>) - <p> Public method to check the LAN connection status. </p> + <dl> <dt>Return:</dt> <dd> @@ -1335,10 +1332,10 @@ <a NAME="CircuitPythonDevice.isWifiApConnected" ID="CircuitPythonDevice.isWifiApConnected"></a> <h4>CircuitPythonDevice.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> @@ -1354,10 +1351,10 @@ <a NAME="CircuitPythonDevice.isWifiClientConnected" ID="CircuitPythonDevice.isWifiClientConnected"></a> <h4>CircuitPythonDevice.isWifiClientConnected</h4> <b>isWifiClientConnected</b>(<i></i>) - <p> Public method to check the WiFi connection status as client. </p> + <dl> <dt>Return:</dt> <dd> @@ -1373,10 +1370,10 @@ <a NAME="CircuitPythonDevice.removeCredentials" ID="CircuitPythonDevice.removeCredentials"></a> <h4>CircuitPythonDevice.removeCredentials</h4> <b>removeCredentials</b>(<i></i>) - <p> Public method to remove the saved credentials from the connected device. </p> + <dl> <dt>Return:</dt> <dd> @@ -1392,13 +1389,13 @@ <a NAME="CircuitPythonDevice.removeLanAutoConnect" ID="CircuitPythonDevice.removeLanAutoConnect"></a> <h4>CircuitPythonDevice.removeLanAutoConnect</h4> <b>removeLanAutoConnect</b>(<i></i>) - <p> Public method to remove the saved IPv4 parameters from the connected device. </p> <p> Note: This disables the LAN auto-connect feature. </p> + <dl> <dt>Return:</dt> <dd> @@ -1414,10 +1411,10 @@ <a NAME="CircuitPythonDevice.runScript" ID="CircuitPythonDevice.runScript"></a> <h4>CircuitPythonDevice.runScript</h4> <b>runScript</b>(<i>script</i>) - <p> Public method to run the given Python script. </p> + <dl> <dt><i>script</i> (str)</dt> @@ -1428,10 +1425,10 @@ <a NAME="CircuitPythonDevice.scanNetworks" ID="CircuitPythonDevice.scanNetworks"></a> <h4>CircuitPythonDevice.scanNetworks</h4> <b>scanNetworks</b>(<i></i>) - <p> Public method to scan for available WiFi networks. </p> + <dl> <dt>Return:</dt> <dd> @@ -1448,17 +1445,17 @@ <a NAME="CircuitPythonDevice.setButtons" ID="CircuitPythonDevice.setButtons"></a> <h4>CircuitPythonDevice.setButtons</h4> <b>setButtons</b>(<i></i>) - <p> Public method to enable the supported action buttons. </p> + <a NAME="CircuitPythonDevice.setConnected" ID="CircuitPythonDevice.setConnected"></a> <h4>CircuitPythonDevice.setConnected</h4> <b>setConnected</b>(<i>connected</i>) - <p> Public method to set the connection state. </p> + <dl> <dt><i>connected</i> (bool)</dt> @@ -1469,11 +1466,11 @@ <a NAME="CircuitPythonDevice.setNetworkTime" ID="CircuitPythonDevice.setNetworkTime"></a> <h4>CircuitPythonDevice.setNetworkTime</h4> <b>setNetworkTime</b>(<i>server="0.pool.ntp.org", tzOffset=0, timeout=10</i>) - <p> Public method to set the time to the network time retrieved from an NTP server. </p> + <dl> <dt><i>server</i> (str (optional))</dt> @@ -1506,10 +1503,10 @@ <a NAME="CircuitPythonDevice.setWorkspace" ID="CircuitPythonDevice.setWorkspace"></a> <h4>CircuitPythonDevice.setWorkspace</h4> <b>setWorkspace</b>(<i>workspacePath</i>) - <p> Public method to set the device workspace directory. </p> + <dl> <dt><i>workspacePath</i> (str)</dt> @@ -1520,18 +1517,18 @@ <a NAME="CircuitPythonDevice.showCircuitPythonVersions" ID="CircuitPythonDevice.showCircuitPythonVersions"></a> <h4>CircuitPythonDevice.showCircuitPythonVersions</h4> <b>showCircuitPythonVersions</b>(<i></i>) - <p> Public slot to show the CircuitPython version of a connected device and the latest available one (from Github). </p> + <a NAME="CircuitPythonDevice.startAccessPoint" ID="CircuitPythonDevice.startAccessPoint"></a> <h4>CircuitPythonDevice.startAccessPoint</h4> <b>startAccessPoint</b>(<i>ssid, security=None, password=None, hostname=None, ifconfig=None, </i>) - <p> Public method to start the access point interface. </p> + <dl> <dt><i>ssid</i> (str)</dt> @@ -1571,10 +1568,10 @@ <a NAME="CircuitPythonDevice.stopAccessPoint" ID="CircuitPythonDevice.stopAccessPoint"></a> <h4>CircuitPythonDevice.stopAccessPoint</h4> <b>stopAccessPoint</b>(<i></i>) - <p> Public method to stop the access point interface. </p> + <dl> <dt>Return:</dt> <dd> @@ -1590,10 +1587,10 @@ <a NAME="CircuitPythonDevice.supportsLocalFileAccess" ID="CircuitPythonDevice.supportsLocalFileAccess"></a> <h4>CircuitPythonDevice.supportsLocalFileAccess</h4> <b>supportsLocalFileAccess</b>(<i></i>) - <p> Public method to indicate file access via a local directory. </p> + <dl> <dt>Return:</dt> <dd> @@ -1609,11 +1606,11 @@ <a NAME="CircuitPythonDevice.writeCredentials" ID="CircuitPythonDevice.writeCredentials"></a> <h4>CircuitPythonDevice.writeCredentials</h4> <b>writeCredentials</b>(<i>ssid, password, hostname, country</i>) - <p> Public method to write the given credentials to the connected device and modify the start script to connect automatically. </p> + <dl> <dt><i>ssid</i> (str)</dt> @@ -1648,11 +1645,11 @@ <a NAME="CircuitPythonDevice.writeLanAutoConnect" ID="CircuitPythonDevice.writeLanAutoConnect"></a> <h4>CircuitPythonDevice.writeLanAutoConnect</h4> <b>writeLanAutoConnect</b>(<i>config, hostname</i>) - <p> Public method to generate a script and associated configuration to connect the device to the LAN during boot time. </p> + <dl> <dt><i>config</i> (str or tuple of (str, str, str, str))</dt> @@ -1683,10 +1680,10 @@ <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) - <p> Function to instantiate a MicroPython device object. </p> + <dl> <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> @@ -1728,4 +1725,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>