Fri, 03 Mar 2023 11:34:59 +0100
Updated source documentation.
--- a/src/eric7/APIs/Python3/eric7.api Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/APIs/Python3/eric7.api Fri Mar 03 11:34:59 2023 +0100 @@ -2560,16 +2560,28 @@ eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.canStartFileManager?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.canStartPlotter?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.canStartRepl?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.checkInternet?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.connectWifi?4(ssid, password) +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.deactivateInterface?4(interface) eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.deviceName?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.disconnectWifi?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.forceInterrupt?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.getConnectedClients?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.getDocumentationUrl?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.getDownloadMenuEntries?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.getWifiData?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.getWorkspace?4(silent=False) eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.hasFlashMenuEntry?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.hasWifi?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.removeCredentials?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.runScript?4(script) +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.scanNetworks?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.setButtons?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.setConnected?4(connected) +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.startAccessPoint?4(ssid, security=None, password=None, ifconfig=None) +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.stopAccessPoint?4() eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.supportsLocalFileAccess?4() +eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice.writeCredentials?4(ssid, password) eric7.MicroPython.Devices.CircuitPythonDevices.CircuitPythonDevice?1(microPythonWidget, deviceType, boardName, parent=None) eric7.MicroPython.Devices.CircuitPythonDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.Devices.CircuitPythonUpdater.CircuitPythonUpdaterInterface.CircuitPythonUpdaterInterface.installCircup?4() @@ -2657,6 +2669,7 @@ eric7.MicroPython.Devices.DeviceBase.BaseDevice.setRepl?4(on) eric7.MicroPython.Devices.DeviceBase.BaseDevice.startAccessPoint?4(ssid, security=None, password=None, ifconfig=None) eric7.MicroPython.Devices.DeviceBase.BaseDevice.stopAccessPoint?4() +eric7.MicroPython.Devices.DeviceBase.BaseDevice.submitMode?4() eric7.MicroPython.Devices.DeviceBase.BaseDevice.supportsLocalFileAccess?4() eric7.MicroPython.Devices.DeviceBase.BaseDevice.syncTime?4(deviceType, hasCPy=False) eric7.MicroPython.Devices.DeviceBase.BaseDevice.writeCredentials?4(ssid, password) @@ -2688,6 +2701,9 @@ eric7.MicroPython.Devices.EspDevices.EspDevice.writeCredentials?4(ssid, password) eric7.MicroPython.Devices.EspDevices.EspDevice?1(microPythonWidget, deviceType, parent=None) eric7.MicroPython.Devices.EspDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) +eric7.MicroPython.Devices.EspDevices.eraseFlash?4(port) +eric7.MicroPython.Devices.EspDevices.flashAddonFirmware?4(port) +eric7.MicroPython.Devices.EspDevices.flashPythonFirmware?4(port) eric7.MicroPython.Devices.EspDialogs.EspBackupRestoreFirmwareDialog.EspBackupRestoreFirmwareDialog.Chips?7 eric7.MicroPython.Devices.EspDialogs.EspBackupRestoreFirmwareDialog.EspBackupRestoreFirmwareDialog.FlashModes?7 eric7.MicroPython.Devices.EspDialogs.EspBackupRestoreFirmwareDialog.EspBackupRestoreFirmwareDialog.FlashSizes?7 @@ -2717,8 +2733,11 @@ eric7.MicroPython.Devices.GenericMicroPythonDevices.GenericMicroPythonDevice?1(microPythonWidget, deviceType, vid, pid, parent=None) eric7.MicroPython.Devices.GenericMicroPythonDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.Devices.IgnoredBoards?7 +eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.connectWiFi?4() eric7.MicroPython.Devices.MCUScripts.esp32WiFiConnect.connectWiFi?4() +eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.connectWiFi?4() eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect.connectWiFi?4() +eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.connectWiFi?4() eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice._getSetTimeCode?5() eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice.addDeviceMenuEntries?4(menu) eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice.canRunScript?4() @@ -2736,6 +2755,7 @@ eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice.pwd?4() eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice.runScript?4(script) eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice.setButtons?4() +eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice.setConnected?4(connected) eric7.MicroPython.Devices.MicrobitDevices.MicrobitDevice?1(microPythonWidget, deviceType, serialNumber, parent=None) eric7.MicroPython.Devices.MicrobitDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.Devices.PyBoardDevices.PyBoardDevice.DeviceVolumeName?7 @@ -2800,6 +2820,8 @@ eric7.MicroPython.Devices.TeensyDevices.TeensyDevice.setButtons?4() eric7.MicroPython.Devices.TeensyDevices.TeensyDevice?1(microPythonWidget, deviceType, parent=None) eric7.MicroPython.Devices.TeensyDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) +eric7.MicroPython.Devices.TeensyDevices.showTeensyFlashInstructions?4() +eric7.MicroPython.Devices.TeensyDevices.startTeensyLoader?4() eric7.MicroPython.Devices.getDevice?4(deviceType, microPythonWidget, vid, pid, boardName="", serialNumber="") eric7.MicroPython.Devices.getDeviceIcon?4(boardName, iconFormat=True) eric7.MicroPython.Devices.getFoundDevices?4() @@ -2923,6 +2945,7 @@ eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.on_replButton_clicked?4(checked) eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.on_runButton_clicked?4() eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.setActionButtons?4(**kwargs) +eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.showError?4(method, error) eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.shutdown?4() eric7.MicroPython.MicroPythonWidget.MicroPythonWidget?1(parent=None) eric7.MicroPython.ShowModulesDialog.ShowModulesDialog.getSelection?4() @@ -2936,6 +2959,7 @@ eric7.MicroPython.UF2FlashDialog.UF2FlashDialog.on_firmwarePicker_textChanged?4(text) eric7.MicroPython.UF2FlashDialog.UF2FlashDialog.on_flashButton_clicked?4() eric7.MicroPython.UF2FlashDialog.UF2FlashDialog.on_refreshButton_clicked?4() +eric7.MicroPython.UF2FlashDialog.UF2FlashDialog.on_searchBootButton_clicked?4() eric7.MicroPython.UF2FlashDialog.UF2FlashDialog?1(boardType="", parent=None) eric7.MicroPython.UF2FlashDialog.getFoundDevices?4(boardType="") eric7.MicroPython.UnknownDevicesDialog.UnknownDevicesDialog.DeviceDataRole?7
--- a/src/eric7/Documentation/Help/source.qhp Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Help/source.qhp Fri Mar 03 11:34:59 2023 +0100 @@ -282,8 +282,11 @@ <section title="eric7.MicroPython.Devices.EspDialogs.EspFirmwareSelectionDialog" ref="eric7.MicroPython.Devices.EspDialogs.EspFirmwareSelectionDialog.html" /> </section> <section title="eric7.MicroPython.Devices.MCUScripts" ref="index-eric7.MicroPython.Devices.MCUScripts.html"> + <section title="eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect" ref="eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.html" /> <section title="eric7.MicroPython.Devices.MCUScripts.esp32WiFiConnect" ref="eric7.MicroPython.Devices.MCUScripts.esp32WiFiConnect.html" /> + <section title="eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect" ref="eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.html" /> <section title="eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect" ref="eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect.html" /> + <section title="eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect" ref="eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.html" /> </section> <section title="eric7.MicroPython.Devices.CircuitPythonDevices" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html" /> <section title="eric7.MicroPython.Devices.DeviceBase" ref="eric7.MicroPython.Devices.DeviceBase.html" /> @@ -2120,6 +2123,7 @@ <keyword name="BaseDevice.setRepl" id="BaseDevice.setRepl" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.setRepl" /> <keyword name="BaseDevice.startAccessPoint" id="BaseDevice.startAccessPoint" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.startAccessPoint" /> <keyword name="BaseDevice.stopAccessPoint" id="BaseDevice.stopAccessPoint" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.stopAccessPoint" /> + <keyword name="BaseDevice.submitMode" id="BaseDevice.submitMode" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.submitMode" /> <keyword name="BaseDevice.supportsLocalFileAccess" id="BaseDevice.supportsLocalFileAccess" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.supportsLocalFileAccess" /> <keyword name="BaseDevice.syncTime" id="BaseDevice.syncTime" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.syncTime" /> <keyword name="BaseDevice.writeCredentials" id="BaseDevice.writeCredentials" ref="eric7.MicroPython.Devices.DeviceBase.html#BaseDevice.writeCredentials" /> @@ -2783,11 +2787,16 @@ <keyword name="CircuitPythonDevice.__aboutToShowLibraryMenu" id="CircuitPythonDevice.__aboutToShowLibraryMenu" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__aboutToShowLibraryMenu" /> <keyword name="CircuitPythonDevice.__cpyVersionResponse" id="CircuitPythonDevice.__cpyVersionResponse" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__cpyVersionResponse" /> <keyword name="CircuitPythonDevice.__createCPyMenu" id="CircuitPythonDevice.__createCPyMenu" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__createCPyMenu" /> + <keyword name="CircuitPythonDevice.__createFlashMenus" id="CircuitPythonDevice.__createFlashMenus" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__createFlashMenus" /> <keyword name="CircuitPythonDevice.__deviceVolumeMounted" id="CircuitPythonDevice.__deviceVolumeMounted" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__deviceVolumeMounted" /> + <keyword name="CircuitPythonDevice.__esp32EraseFlash" id="CircuitPythonDevice.__esp32EraseFlash" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__esp32EraseFlash" /> + <keyword name="CircuitPythonDevice.__esp32FlashAddons" id="CircuitPythonDevice.__esp32FlashAddons" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__esp32FlashAddons" /> + <keyword name="CircuitPythonDevice.__esp32FlashPython" id="CircuitPythonDevice.__esp32FlashPython" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__esp32FlashPython" /> <keyword name="CircuitPythonDevice.__findDeviceDirectories" id="CircuitPythonDevice.__findDeviceDirectories" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__findDeviceDirectories" /> <keyword name="CircuitPythonDevice.__findWorkspace" id="CircuitPythonDevice.__findWorkspace" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__findWorkspace" /> <keyword name="CircuitPythonDevice.__flashCircuitPython" id="CircuitPythonDevice.__flashCircuitPython" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__flashCircuitPython" /> <keyword name="CircuitPythonDevice.__installLibraryFiles" id="CircuitPythonDevice.__installLibraryFiles" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__installLibraryFiles" /> + <keyword name="CircuitPythonDevice.__resetDevice" id="CircuitPythonDevice.__resetDevice" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__resetDevice" /> <keyword name="CircuitPythonDevice.__showCircuitPythonVersions" id="CircuitPythonDevice.__showCircuitPythonVersions" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__showCircuitPythonVersions" /> <keyword name="CircuitPythonDevice.__showTeensyFlashInstructions" id="CircuitPythonDevice.__showTeensyFlashInstructions" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__showTeensyFlashInstructions" /> <keyword name="CircuitPythonDevice.__startTeensyLoader" id="CircuitPythonDevice.__startTeensyLoader" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.__startTeensyLoader" /> @@ -2796,16 +2805,28 @@ <keyword name="CircuitPythonDevice.canStartFileManager" id="CircuitPythonDevice.canStartFileManager" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.canStartFileManager" /> <keyword name="CircuitPythonDevice.canStartPlotter" id="CircuitPythonDevice.canStartPlotter" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.canStartPlotter" /> <keyword name="CircuitPythonDevice.canStartRepl" id="CircuitPythonDevice.canStartRepl" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.canStartRepl" /> + <keyword name="CircuitPythonDevice.checkInternet" id="CircuitPythonDevice.checkInternet" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.checkInternet" /> + <keyword name="CircuitPythonDevice.connectWifi" id="CircuitPythonDevice.connectWifi" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.connectWifi" /> + <keyword name="CircuitPythonDevice.deactivateInterface" id="CircuitPythonDevice.deactivateInterface" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.deactivateInterface" /> <keyword name="CircuitPythonDevice.deviceName" id="CircuitPythonDevice.deviceName" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.deviceName" /> + <keyword name="CircuitPythonDevice.disconnectWifi" id="CircuitPythonDevice.disconnectWifi" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.disconnectWifi" /> <keyword name="CircuitPythonDevice.forceInterrupt" id="CircuitPythonDevice.forceInterrupt" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.forceInterrupt" /> + <keyword name="CircuitPythonDevice.getConnectedClients" id="CircuitPythonDevice.getConnectedClients" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.getConnectedClients" /> <keyword name="CircuitPythonDevice.getDocumentationUrl" id="CircuitPythonDevice.getDocumentationUrl" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.getDocumentationUrl" /> <keyword name="CircuitPythonDevice.getDownloadMenuEntries" id="CircuitPythonDevice.getDownloadMenuEntries" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.getDownloadMenuEntries" /> + <keyword name="CircuitPythonDevice.getWifiData" id="CircuitPythonDevice.getWifiData" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.getWifiData" /> <keyword name="CircuitPythonDevice.getWorkspace" id="CircuitPythonDevice.getWorkspace" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.getWorkspace" /> <keyword name="CircuitPythonDevice.hasFlashMenuEntry" id="CircuitPythonDevice.hasFlashMenuEntry" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.hasFlashMenuEntry" /> + <keyword name="CircuitPythonDevice.hasWifi" id="CircuitPythonDevice.hasWifi" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.hasWifi" /> + <keyword name="CircuitPythonDevice.removeCredentials" id="CircuitPythonDevice.removeCredentials" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.removeCredentials" /> <keyword name="CircuitPythonDevice.runScript" id="CircuitPythonDevice.runScript" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.runScript" /> + <keyword name="CircuitPythonDevice.scanNetworks" id="CircuitPythonDevice.scanNetworks" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.scanNetworks" /> <keyword name="CircuitPythonDevice.setButtons" id="CircuitPythonDevice.setButtons" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.setButtons" /> <keyword name="CircuitPythonDevice.setConnected" id="CircuitPythonDevice.setConnected" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.setConnected" /> + <keyword name="CircuitPythonDevice.startAccessPoint" id="CircuitPythonDevice.startAccessPoint" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.startAccessPoint" /> + <keyword name="CircuitPythonDevice.stopAccessPoint" id="CircuitPythonDevice.stopAccessPoint" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.stopAccessPoint" /> <keyword name="CircuitPythonDevice.supportsLocalFileAccess" id="CircuitPythonDevice.supportsLocalFileAccess" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.supportsLocalFileAccess" /> + <keyword name="CircuitPythonDevice.writeCredentials" id="CircuitPythonDevice.writeCredentials" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html#CircuitPythonDevice.writeCredentials" /> <keyword name="CircuitPythonDevices (Module)" id="CircuitPythonDevices (Module)" ref="eric7.MicroPython.Devices.CircuitPythonDevices.html" /> <keyword name="CircuitPythonUpdater (Package)" id="CircuitPythonUpdater (Package)" ref="index-eric7.MicroPython.Devices.CircuitPythonUpdater.html" /> <keyword name="CircuitPythonUpdaterInterface" id="CircuitPythonUpdaterInterface" ref="eric7.MicroPython.Devices.CircuitPythonUpdater.CircuitPythonUpdaterInterface.html#CircuitPythonUpdaterInterface" /> @@ -10787,6 +10808,7 @@ <keyword name="MicroPythonWidget.on_replButton_clicked" id="MicroPythonWidget.on_replButton_clicked" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.on_replButton_clicked" /> <keyword name="MicroPythonWidget.on_runButton_clicked" id="MicroPythonWidget.on_runButton_clicked" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.on_runButton_clicked" /> <keyword name="MicroPythonWidget.setActionButtons" id="MicroPythonWidget.setActionButtons" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.setActionButtons" /> + <keyword name="MicroPythonWidget.showError" id="MicroPythonWidget.showError" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.showError" /> <keyword name="MicroPythonWidget.shutdown" id="MicroPythonWidget.shutdown" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.shutdown" /> <keyword name="MicrobitDevice" id="MicrobitDevice" ref="eric7.MicroPython.Devices.MicrobitDevices.html#MicrobitDevice" /> <keyword name="MicrobitDevice (Constructor)" id="MicrobitDevice (Constructor)" ref="eric7.MicroPython.Devices.MicrobitDevices.html#MicrobitDevice.__init__" /> @@ -10816,6 +10838,7 @@ <keyword name="MicrobitDevice.pwd" id="MicrobitDevice.pwd" ref="eric7.MicroPython.Devices.MicrobitDevices.html#MicrobitDevice.pwd" /> <keyword name="MicrobitDevice.runScript" id="MicrobitDevice.runScript" ref="eric7.MicroPython.Devices.MicrobitDevices.html#MicrobitDevice.runScript" /> <keyword name="MicrobitDevice.setButtons" id="MicrobitDevice.setButtons" ref="eric7.MicroPython.Devices.MicrobitDevices.html#MicrobitDevice.setButtons" /> + <keyword name="MicrobitDevice.setConnected" id="MicrobitDevice.setConnected" ref="eric7.MicroPython.Devices.MicrobitDevices.html#MicrobitDevice.setConnected" /> <keyword name="MicrobitDevices (Module)" id="MicrobitDevices (Module)" ref="eric7.MicroPython.Devices.MicrobitDevices.html" /> <keyword name="MicrosoftEngine" id="MicrosoftEngine" ref="eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.MicrosoftEngine.html#MicrosoftEngine" /> <keyword name="MicrosoftEngine (Constructor)" id="MicrosoftEngine (Constructor)" ref="eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.MicrosoftEngine.html#MicrosoftEngine.__init__" /> @@ -13713,6 +13736,7 @@ <keyword name="RP2040Device.__createRP2040Menu" id="RP2040Device.__createRP2040Menu" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device.__createRP2040Menu" /> <keyword name="RP2040Device.__firmwareVersionResponse" id="RP2040Device.__firmwareVersionResponse" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device.__firmwareVersionResponse" /> <keyword name="RP2040Device.__flashPython" id="RP2040Device.__flashPython" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device.__flashPython" /> + <keyword name="RP2040Device.__resetDevice" id="RP2040Device.__resetDevice" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device.__resetDevice" /> <keyword name="RP2040Device.__setCountry" id="RP2040Device.__setCountry" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device.__setCountry" /> <keyword name="RP2040Device.__showFirmwareVersions" id="RP2040Device.__showFirmwareVersions" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device.__showFirmwareVersions" /> <keyword name="RP2040Device._getSetTimeCode" id="RP2040Device._getSetTimeCode" ref="eric7.MicroPython.Devices.RP2040Devices.html#RP2040Device._getSetTimeCode" /> @@ -16336,8 +16360,6 @@ <keyword name="TeensyDevice.__createTeensyMenu" id="TeensyDevice.__createTeensyMenu" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.__createTeensyMenu" /> <keyword name="TeensyDevice.__firmwareVersionResponse" id="TeensyDevice.__firmwareVersionResponse" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.__firmwareVersionResponse" /> <keyword name="TeensyDevice.__showFirmwareVersions" id="TeensyDevice.__showFirmwareVersions" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.__showFirmwareVersions" /> - <keyword name="TeensyDevice.__showFlashInstructions" id="TeensyDevice.__showFlashInstructions" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.__showFlashInstructions" /> - <keyword name="TeensyDevice.__startTeensyLoader" id="TeensyDevice.__startTeensyLoader" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.__startTeensyLoader" /> <keyword name="TeensyDevice._getSetTimeCode" id="TeensyDevice._getSetTimeCode" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice._getSetTimeCode" /> <keyword name="TeensyDevice.addDeviceMenuEntries" id="TeensyDevice.addDeviceMenuEntries" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.addDeviceMenuEntries" /> <keyword name="TeensyDevice.canRunScript" id="TeensyDevice.canRunScript" ref="eric7.MicroPython.Devices.TeensyDevices.html#TeensyDevice.canRunScript" /> @@ -16800,6 +16822,7 @@ <keyword name="UF2FlashDialog.on_firmwarePicker_textChanged" id="UF2FlashDialog.on_firmwarePicker_textChanged" ref="eric7.MicroPython.UF2FlashDialog.html#UF2FlashDialog.on_firmwarePicker_textChanged" /> <keyword name="UF2FlashDialog.on_flashButton_clicked" id="UF2FlashDialog.on_flashButton_clicked" ref="eric7.MicroPython.UF2FlashDialog.html#UF2FlashDialog.on_flashButton_clicked" /> <keyword name="UF2FlashDialog.on_refreshButton_clicked" id="UF2FlashDialog.on_refreshButton_clicked" ref="eric7.MicroPython.UF2FlashDialog.html#UF2FlashDialog.on_refreshButton_clicked" /> + <keyword name="UF2FlashDialog.on_searchBootButton_clicked" id="UF2FlashDialog.on_searchBootButton_clicked" ref="eric7.MicroPython.UF2FlashDialog.html#UF2FlashDialog.on_searchBootButton_clicked" /> <keyword name="UI (Package)" id="UI (Package)" ref="index-eric7.UI.html" /> <keyword name="UIPreviewer" id="UIPreviewer" ref="eric7.Tools.UIPreviewer.html#UIPreviewer" /> <keyword name="UIPreviewer (Constructor)" id="UIPreviewer (Constructor)" ref="eric7.Tools.UIPreviewer.html#UIPreviewer.__init__" /> @@ -18691,6 +18714,7 @@ <keyword name="WifiStatusDialog (Constructor)" id="WifiStatusDialog (Constructor)" ref="eric7.MicroPython.WifiDialogs.WifiStatusDialog.html#WifiStatusDialog.__init__" /> <keyword name="WifiStatusDialog (Module)" id="WifiStatusDialog (Module)" ref="eric7.MicroPython.WifiDialogs.WifiStatusDialog.html" /> <keyword name="WifiStatusDialog.__createHeader" id="WifiStatusDialog.__createHeader" ref="eric7.MicroPython.WifiDialogs.WifiStatusDialog.html#WifiStatusDialog.__createHeader" /> + <keyword name="WifiStatusDialog.__createSubheader" id="WifiStatusDialog.__createSubheader" ref="eric7.MicroPython.WifiDialogs.WifiStatusDialog.html#WifiStatusDialog.__createSubheader" /> <keyword name="WizardEricPluginWizard" id="WizardEricPluginWizard" ref="eric7.Plugins.PluginWizardEricPlugin.html#WizardEricPluginWizard" /> <keyword name="WizardEricPluginWizard (Constructor)" id="WizardEricPluginWizard (Constructor)" ref="eric7.Plugins.PluginWizardEricPlugin.html#WizardEricPluginWizard.__init__" /> <keyword name="WizardEricPluginWizard.__callForm" id="WizardEricPluginWizard.__callForm" ref="eric7.Plugins.PluginWizardEricPlugin.html#WizardEricPluginWizard.__callForm" /> @@ -19015,6 +19039,7 @@ <keyword name="checkWeakCryptography" id="checkWeakCryptography" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity.html#checkWeakCryptography" /> <keyword name="checkYamlLoad" id="checkYamlLoad" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html#checkYamlLoad" /> <keyword name="choices_from_enum" id="choices_from_enum" ref="eric7.PipInterface.piplicenses.html#choices_from_enum" /> + <keyword name="circuitPy7WiFiConnect (Module)" id="circuitPy7WiFiConnect (Module)" ref="eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.html" /> <keyword name="className" id="className" ref="eric7.Project.UicLoadUi5.html#className" /> <keyword name="className" id="className" ref="eric7.Project.UicLoadUi6.html#className" /> <keyword name="clearPrivateData" id="clearPrivateData" ref="eric7.Plugins.PluginVcsGit.html#clearPrivateData" /> @@ -19037,8 +19062,11 @@ <keyword name="condaVersionStr" id="condaVersionStr" ref="eric7.CondaInterface.__init__.html#condaVersionStr" /> <keyword name="confirmOverwrite" id="confirmOverwrite" ref="eric7.EricWidgets.EricFileSaveConfirmDialog.html#confirmOverwrite" /> <keyword name="conflicting_deps" id="conflicting_deps" ref="eric7.PipInterface.pipdeptree.html#conflicting_deps" /> + <keyword name="connectWiFi" id="connectWiFi" ref="eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.html#connectWiFi" /> <keyword name="connectWiFi" id="connectWiFi" ref="eric7.MicroPython.Devices.MCUScripts.esp32WiFiConnect.html#connectWiFi" /> + <keyword name="connectWiFi" id="connectWiFi" ref="eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.html#connectWiFi" /> <keyword name="connectWiFi" id="connectWiFi" ref="eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect.html#connectWiFi" /> + <keyword name="connectWiFi" id="connectWiFi" ref="eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.html#connectWiFi" /> <keyword name="containsSpace" id="containsSpace" ref="eric7.WebBrowser.Tools.WebBrowserTools.html#containsSpace" /> <keyword name="continued_indentation" id="continued_indentation" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#continued_indentation" /> <keyword name="convertLineEnds" id="convertLineEnds" ref="eric7.Utilities.__init__.html#convertLineEnds" /> @@ -19265,6 +19293,7 @@ <keyword name="ensure_latest_bundle" id="ensure_latest_bundle" ref="eric7.MicroPython.Devices.CircuitPythonUpdater.CircupFunctions.html#ensure_latest_bundle" /> <keyword name="enum_key_to_value" id="enum_key_to_value" ref="eric7.PipInterface.piplicenses.html#enum_key_to_value" /> <keyword name="eradicate (Module)" id="eradicate (Module)" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html" /> + <keyword name="eraseFlash" id="eraseFlash" ref="eric7.MicroPython.Devices.EspDevices.html#eraseFlash" /> <keyword name="eric6SettingsName" id="eric6SettingsName" ref="eric7.Preferences.__init__.html#eric6SettingsName" /> <keyword name="eric7 (Package)" id="eric7 (Package)" ref="index-eric7.html" /> <keyword name="eric7_api (Module)" id="eric7_api (Module)" ref="eric7.eric7_api.html" /> @@ -19331,6 +19360,8 @@ <keyword name="find_module" id="find_module" ref="eric7.Utilities.ClassBrowsers.__init__.html#find_module" /> <keyword name="find_module" id="find_module" ref="eric7.Utilities.ModuleParser.html#find_module" /> <keyword name="find_modules" id="find_modules" ref="eric7.MicroPython.Devices.CircuitPythonUpdater.CircupFunctions.html#find_modules" /> + <keyword name="flashAddonFirmware" id="flashAddonFirmware" ref="eric7.MicroPython.Devices.EspDevices.html#flashAddonFirmware" /> + <keyword name="flashPythonFirmware" id="flashPythonFirmware" ref="eric7.MicroPython.Devices.EspDevices.html#flashPythonFirmware" /> <keyword name="flaskDebug (Module)" id="flaskDebug (Module)" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html" /> <keyword name="formatTime" id="formatTime" ref="eric7.Plugins.VcsPlugins.vcsPySvn.SvnUtilities.html#formatTime" /> <keyword name="formatargvalues" id="formatargvalues" ref="eric7.DebugClients.Python.DebugUtilities.html#formatargvalues" /> @@ -19731,6 +19762,7 @@ <keyword name="missing_whitespace_around_operator" id="missing_whitespace_around_operator" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#missing_whitespace_around_operator" /> <keyword name="mode2string" id="mode2string" ref="eric7.MicroPython.MicroPythonFileSystemUtilities.html#mode2string" /> <keyword name="module_imports_on_top_of_file" id="module_imports_on_top_of_file" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#module_imports_on_top_of_file" /> + <keyword name="mpyWiFiConnect (Module)" id="mpyWiFiConnect (Module)" ref="eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.html" /> <keyword name="mtime2string" id="mtime2string" ref="eric7.MicroPython.MicroPythonFileSystemUtilities.html#mtime2string" /> <keyword name="mute_string" id="mute_string" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#mute_string" /> <keyword name="namespacePathJoin" id="namespacePathJoin" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#namespacePathJoin" /> @@ -19770,6 +19802,7 @@ <keyword name="patch_circup" id="patch_circup" ref="eric7.MicroPython.Devices.CircuitPythonUpdater.CircupFunctions.html#patch_circup" /> <keyword name="pbkdf2" id="pbkdf2" ref="eric7.Utilities.crypto.py3PBKDF2.html#pbkdf2" /> <keyword name="picowWiFiConnect (Module)" id="picowWiFiConnect (Module)" ref="eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect.html" /> + <keyword name="pimoroniWiFiConnect (Module)" id="pimoroniWiFiConnect (Module)" ref="eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.html" /> <keyword name="pipdeptree (Module)" id="pipdeptree (Module)" ref="eric7.PipInterface.pipdeptree.html" /> <keyword name="piplicenses (Module)" id="piplicenses (Module)" ref="eric7.PipInterface.piplicenses.html" /> <keyword name="pixmapFileToDataUrl" id="pixmapFileToDataUrl" ref="eric7.WebBrowser.Tools.WebBrowserTools.html#pixmapFileToDataUrl" /> @@ -19944,6 +19977,7 @@ <keyword name="shannonEntropy" id="shannonEntropy" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html#shannonEntropy" /> <keyword name="shelve (Module)" id="shelve (Module)" ref="eric7.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.shelve.html" /> <keyword name="shouldResetLayout" id="shouldResetLayout" ref="eric7.Preferences.__init__.html#shouldResetLayout" /> + <keyword name="showTeensyFlashInstructions" id="showTeensyFlashInstructions" ref="eric7.MicroPython.Devices.TeensyDevices.html#showTeensyFlashInstructions" /> <keyword name="signatures" id="signatures" ref="eric7.Project.UicLoadUi5.html#signatures" /> <keyword name="signatures" id="signatures" ref="eric7.Project.UicLoadUi6.html#signatures" /> <keyword name="simpleAppStartup" id="simpleAppStartup" ref="eric7.Toolbox.Startup.html#simpleAppStartup" /> @@ -19955,6 +19989,7 @@ <keyword name="sshNoHostKeyVerification (Module)" id="sshNoHostKeyVerification (Module)" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html" /> <keyword name="startDebugger" id="startDebugger" ref="eric7.DebugClients.Python.eric7dbgstub.html#startDebugger" /> <keyword name="startEric" id="startEric" ref="eric7.UI.upgrader.html#startEric" /> + <keyword name="startTeensyLoader" id="startTeensyLoader" ref="eric7.MicroPython.Devices.TeensyDevices.html#startTeensyLoader" /> <keyword name="startsWithShebang" id="startsWithShebang" ref="eric7.DebugClients.Python.DebugUtilities.html#startsWithShebang" /> <keyword name="startswithPath" id="startswithPath" ref="eric7.SystemUtilities.FileSystemUtilities.html#startswithPath" /> <keyword name="stdin_get_value" id="stdin_get_value" ref="eric7.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#stdin_get_value" /> @@ -20277,8 +20312,11 @@ <file>eric7.MicroPython.Devices.EspDialogs.EspBackupRestoreFirmwareDialog.html</file> <file>eric7.MicroPython.Devices.EspDialogs.EspFirmwareSelectionDialog.html</file> <file>eric7.MicroPython.Devices.GenericMicroPythonDevices.html</file> + <file>eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.html</file> <file>eric7.MicroPython.Devices.MCUScripts.esp32WiFiConnect.html</file> + <file>eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.html</file> <file>eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect.html</file> + <file>eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.html</file> <file>eric7.MicroPython.Devices.MicrobitDevices.html</file> <file>eric7.MicroPython.Devices.PyBoardDevices.html</file> <file>eric7.MicroPython.Devices.RP2040Devices.html</file>
--- a/src/eric7/Documentation/Source/eric7.EricNetwork.EricIPv4InputWidget.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.EricNetwork.EricIPv4InputWidget.html Fri Mar 03 11:34:59 2023 +0100 @@ -145,6 +145,13 @@ ipaddress.IPv4Address </dd> </dl> +<dl> + +<dt>Raises <b>ValueError</b>:</dt> +<dd> +raised to indicate an invalid IPv4 address +</dd> +</dl> <a NAME="EricIPv4InputWidget.clear" ID="EricIPv4InputWidget.clear"></a> <h4>EricIPv4InputWidget.clear</h4> <b>clear</b>(<i></i>) @@ -170,6 +177,18 @@ reference to the event object </dd> </dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating, that the event was handled +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="EricIPv4InputWidget.hasAcceptableInput" ID="EricIPv4InputWidget.hasAcceptableInput"></a> <h4>EricIPv4InputWidget.hasAcceptableInput</h4> <b>hasAcceptableInput</b>(<i></i>) @@ -217,6 +236,13 @@ IPv4 address </dd> </dl> +<dl> + +<dt>Raises <b>ValueError</b>:</dt> +<dd> +raised to indicate an invalid IPv4 address +</dd> +</dl> <a NAME="EricIPv4InputWidget.text" ID="EricIPv4InputWidget.text"></a> <h4>EricIPv4InputWidget.text</h4> <b>text</b>(<i></i>)
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.CircuitPythonDevices.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.CircuitPythonDevices.html Fri Mar 03 11:34:59 2023 +0100 @@ -68,17 +68,33 @@ </tr> <tr> <td><a href="#CircuitPythonDevice.__cpyVersionResponse">__cpyVersionResponse</a></td> -<td>Private method handling the response of the latest version request.</td> +<td>Private slot handling the response of the latest version request.</td> </tr> <tr> <td><a href="#CircuitPythonDevice.__createCPyMenu">__createCPyMenu</a></td> <td>Private method to create the CircuitPython submenu.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.__createFlashMenus">__createFlashMenus</a></td> +<td>Private method to create the various menus to flash a CircuitPython firmware.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.__deviceVolumeMounted">__deviceVolumeMounted</a></td> <td>Private method to check, if the device volume is mounted.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.__esp32EraseFlash">__esp32EraseFlash</a></td> +<td>Private slot to erase the flash of an ESP32 device.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.__esp32FlashAddons">__esp32FlashAddons</a></td> +<td>Private slot to flash additional firmware to an ESP32 device.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.__esp32FlashPython">__esp32FlashPython</a></td> +<td>Private slot to flash a MicroPython or CircuitPython firmware to an ESP32 device.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.__findDeviceDirectories">__findDeviceDirectories</a></td> <td>Private method to find the device directories associated with the current board name.</td> </tr> @@ -95,16 +111,20 @@ <td>Private slot to install Python files into the onboard library.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.__resetDevice">__resetDevice</a></td> +<td>Private slot to reset the connected device.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.__showCircuitPythonVersions">__showCircuitPythonVersions</a></td> <td>Private slot to show the CircuitPython version of a connected device and the latest available one (from Github).</td> </tr> <tr> <td><a href="#CircuitPythonDevice.__showTeensyFlashInstructions">__showTeensyFlashInstructions</a></td> -<td>Private method to show a message box because Teensy does not support the UF2 bootloader yet.</td> +<td>Private slot to show a message box because Teensy does not support the UF2 bootloader yet.</td> </tr> <tr> <td><a href="#CircuitPythonDevice.__startTeensyLoader">__startTeensyLoader</a></td> -<td>Private method to start the 'Teensy Loader' application.</td> +<td>Private slot to start the 'Teensy Loader' application.</td> </tr> <tr> <td><a href="#CircuitPythonDevice.addDeviceMenuEntries">addDeviceMenuEntries</a></td> @@ -127,14 +147,34 @@ <td>Public method to determine, if a REPL can be started.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.checkInternet">checkInternet</a></td> +<td>Public method to check, if the internet can be reached.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.connectWifi">connectWifi</a></td> +<td>Public method to connect a device to a WiFi network.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.deactivateInterface">deactivateInterface</a></td> +<td>Public method to deactivate a given WiFi interface of the connected device.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.deviceName">deviceName</a></td> <td>Public method to get the name of the device.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.disconnectWifi">disconnectWifi</a></td> +<td>Public method to disconnect a device from the WiFi network.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.forceInterrupt">forceInterrupt</a></td> <td>Public method to determine the need for an interrupt when opening the serial connection.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.getConnectedClients">getConnectedClients</a></td> +<td>Public method to get a list of connected clients.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td> <td>Public method to get the device documentation URL.</td> </tr> @@ -143,6 +183,10 @@ <td>Public method to retrieve the entries for the downloads menu.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.getWifiData">getWifiData</a></td> +<td>Public method to get data related to the current WiFi status.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.getWorkspace">getWorkspace</a></td> <td>Public method to get the workspace directory.</td> </tr> @@ -151,10 +195,22 @@ <td>Public method to check, if the device has its own flash menu entry.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.hasWifi">hasWifi</a></td> +<td>Public method to check the availability of WiFi.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.removeCredentials">removeCredentials</a></td> +<td>Public method to remove the saved credentials from the connected device.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.runScript">runScript</a></td> <td>Public method to run the given Python script.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.scanNetworks">scanNetworks</a></td> +<td>Public method to scan for available WiFi networks.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.setButtons">setButtons</a></td> <td>Public method to enable the supported action buttons.</td> </tr> @@ -163,9 +219,21 @@ <td>Public method to set the connection state.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.startAccessPoint">startAccessPoint</a></td> +<td>Public method to start the access point interface.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.stopAccessPoint">stopAccessPoint</a></td> +<td>Public method to stop the access point interface.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.supportsLocalFileAccess">supportsLocalFileAccess</a></td> <td>Public method to indicate file access via a local directory.</td> </tr> +<tr> +<td><a href="#CircuitPythonDevice.writeCredentials">writeCredentials</a></td> +<td>Public method to write the given credentials to the connected device and modify the start script to connect automatically.</td> +</tr> </table> <h3>Static Methods</h3> @@ -211,7 +279,7 @@ <b>__cpyVersionResponse</b>(<i>reply</i>) <p> - Private method handling the response of the latest version request. + Private slot handling the response of the latest version request. </p> <dl> @@ -227,6 +295,25 @@ <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> +reference to the created top level flash menu +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QMenu +</dd> +</dl> <a NAME="CircuitPythonDevice.__deviceVolumeMounted" ID="CircuitPythonDevice.__deviceVolumeMounted"></a> <h4>CircuitPythonDevice.__deviceVolumeMounted</h4> <b>__deviceVolumeMounted</b>(<i></i>) @@ -246,6 +333,28 @@ bool </dd> </dl> +<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>) @@ -282,9 +391,9 @@ </p> <dl> -<dt><i>silent</i> (bool)</dt> +<dt><i>silent</i> (bool (optional))</dt> <dd> -flag indicating silent operations +flag indicating silent operations (defaults to False) </dd> </dl> <dl> @@ -321,6 +430,13 @@ (defaults to False) </dd> </dl> +<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.__showCircuitPythonVersions" ID="CircuitPythonDevice.__showCircuitPythonVersions"></a> <h4>CircuitPythonDevice.__showCircuitPythonVersions</h4> <b>__showCircuitPythonVersions</b>(<i></i>) @@ -334,7 +450,7 @@ <b>__showTeensyFlashInstructions</b>(<i></i>) <p> - Private method to show a message box because Teensy does not support + 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> @@ -342,7 +458,7 @@ <b>__startTeensyLoader</b>(<i></i>) <p> - Private method to start the 'Teensy Loader' application. + Private slot to start the 'Teensy Loader' application. </p> <p> Note: The application must be accessible via the application search path. @@ -441,6 +557,93 @@ tuple of (bool, str) </dd> </dl> +<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> +tuple containing a flag indicating reachability and an error string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<a NAME="CircuitPythonDevice.connectWifi" ID="CircuitPythonDevice.connectWifi"></a> +<h4>CircuitPythonDevice.connectWifi</h4> +<b>connectWifi</b>(<i>ssid, password</i>) + +<p> + Public method to connect a device to a WiFi network. +</p> +<dl> + +<dt><i>ssid</i> (str)</dt> +<dd> +name (SSID) of the WiFi network +</dd> +<dt><i>password</i> (str)</dt> +<dd> +password needed to connect +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +tuple containing the connection status and an error string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<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> +<p> + Note: With CircuitPython it is not possible to deactivate the station and + access point interfaces separately. +</p> +<dl> + +<dt><i>interface</i> (str)</dt> +<dd> +designation of the interface to be deactivated (one of 'AP' + or 'STA') +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +tuple containg a flag indicating success and an error message +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<dl> + +<dt>Raises <b>ValueError</b>:</dt> +<dd> +raised to indicate a wrong value for the interface type +</dd> +</dl> <a NAME="CircuitPythonDevice.deviceName" ID="CircuitPythonDevice.deviceName"></a> <h4>CircuitPythonDevice.deviceName</h4> <b>deviceName</b>(<i></i>) @@ -460,6 +663,25 @@ str </dd> </dl> +<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> +tuple containing a flag indicating success and an error string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> <a NAME="CircuitPythonDevice.forceInterrupt" ID="CircuitPythonDevice.forceInterrupt"></a> <h4>CircuitPythonDevice.forceInterrupt</h4> <b>forceInterrupt</b>(<i></i>) @@ -480,6 +702,26 @@ bool </dd> </dl> +<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> +a tuple containing a list of tuples containing the client MAC-Address + and the RSSI (if supported and available) and an error message +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of ([(bytes, int)], str) +</dd> +</dl> <a NAME="CircuitPythonDevice.getDocumentationUrl" ID="CircuitPythonDevice.getDocumentationUrl"></a> <h4>CircuitPythonDevice.getDocumentationUrl</h4> <b>getDocumentationUrl</b>(<i></i>) @@ -519,6 +761,33 @@ list of tuple of (str, str) </dd> </dl> +<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> +tuple of three dictionaries containing the WiFi status data + for the WiFi client, access point and overall data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (dict, dict, dict) +</dd> +</dl> +<dl> + +<dt>Raises <b>OSError</b>:</dt> +<dd> +raised to indicate an issue with the device +</dd> +</dl> <a NAME="CircuitPythonDevice.getWorkspace" ID="CircuitPythonDevice.getWorkspace"></a> <h4>CircuitPythonDevice.getWorkspace</h4> <b>getWorkspace</b>(<i>silent=False</i>) @@ -564,6 +833,52 @@ bool </dd> </dl> +<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> +tuple containing a flag indicating the availability of WiFi + and the WiFi type (picow or pimoroni) +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<dl> + +<dt>Raises <b>OSError</b>:</dt> +<dd> +raised to indicate an issue with the device +</dd> +</dl> +<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> +tuple containing a flag indicating success and an error message +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> <a NAME="CircuitPythonDevice.runScript" ID="CircuitPythonDevice.runScript"></a> <h4>CircuitPythonDevice.runScript</h4> <b>runScript</b>(<i>script</i>) @@ -578,6 +893,26 @@ script to be executed </dd> </dl> +<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> +tuple containing the list of available networks as a tuple of 'Name', + 'MAC-Address', 'channel', 'RSSI' and 'security' and an error string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (list of tuple of (str, str, int, int, str), str) +</dd> +</dl> <a NAME="CircuitPythonDevice.setButtons" ID="CircuitPythonDevice.setButtons"></a> <h4>CircuitPythonDevice.setButtons</h4> <b>setButtons</b>(<i></i>) @@ -599,6 +934,64 @@ connection state </dd> </dl> +<a NAME="CircuitPythonDevice.startAccessPoint" ID="CircuitPythonDevice.startAccessPoint"></a> +<h4>CircuitPythonDevice.startAccessPoint</h4> +<b>startAccessPoint</b>(<i>ssid, security=None, password=None, ifconfig=None</i>) + +<p> + Public method to start the access point interface. +</p> +<dl> + +<dt><i>ssid</i> (str)</dt> +<dd> +SSID of the access point +</dd> +<dt><i>security</i> (int (optional))</dt> +<dd> +security method (defaults to None) +</dd> +<dt><i>password</i> (str (optional))</dt> +<dd> +password (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 + (IPv4 address, netmask, gateway address, DNS server address) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating success and an error message +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<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> +tuple containg a flag indicating success and an error message +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> <a NAME="CircuitPythonDevice.supportsLocalFileAccess" ID="CircuitPythonDevice.supportsLocalFileAccess"></a> <h4>CircuitPythonDevice.supportsLocalFileAccess</h4> <b>supportsLocalFileAccess</b>(<i></i>) @@ -618,6 +1011,37 @@ bool </dd> </dl> +<a NAME="CircuitPythonDevice.writeCredentials" ID="CircuitPythonDevice.writeCredentials"></a> +<h4>CircuitPythonDevice.writeCredentials</h4> +<b>writeCredentials</b>(<i>ssid, password</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> +<dd> +SSID of the network to connect to +</dd> +<dt><i>password</i> (str)</dt> +<dd> +password needed to authenticate +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating success and an error message +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr />
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html Fri Mar 03 11:34:59 2023 +0100 @@ -361,6 +361,10 @@ <td>Public method to stop the access point interface.</td> </tr> <tr> +<td><a href="#BaseDevice.submitMode">submitMode</a></td> +<td>Public method to get the submit mode of the device.</td> +</tr> +<tr> <td><a href="#BaseDevice.supportsLocalFileAccess">supportsLocalFileAccess</a></td> <td>Public method to indicate file access via a local directory.</td> </tr> @@ -1778,6 +1782,25 @@ tuple of (bool, str) </dd> </dl> +<a NAME="BaseDevice.submitMode" ID="BaseDevice.submitMode"></a> +<h4>BaseDevice.submitMode</h4> +<b>submitMode</b>(<i></i>) + +<p> + Public method to get the submit mode of the device. +</p> +<dl> +<dt>Return:</dt> +<dd> +submit mode +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str (one of 'raw', 'paste') +</dd> +</dl> <a NAME="BaseDevice.supportsLocalFileAccess" ID="BaseDevice.supportsLocalFileAccess"></a> <h4>BaseDevice.supportsLocalFileAccess</h4> <b>supportsLocalFileAccess</b>(<i></i>)
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.EspDevices.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.EspDevices.html Fri Mar 03 11:34:59 2023 +0100 @@ -34,6 +34,18 @@ <td><a href="#createDevice">createDevice</a></td> <td>Function to instantiate a MicroPython device object.</td> </tr> +<tr> +<td><a href="#eraseFlash">eraseFlash</a></td> +<td>Slot to erase the device flash memory.</td> +</tr> +<tr> +<td><a href="#flashAddonFirmware">flashAddonFirmware</a></td> +<td>Slot to flash some additional firmware images.</td> +</tr> +<tr> +<td><a href="#flashPythonFirmware">flashPythonFirmware</a></td> +<td>Slot to flash a MicroPython firmware to the device.</td> +</tr> </table> <hr /> <hr /> @@ -77,7 +89,7 @@ </tr> <tr> <td><a href="#EspDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> -<td>Private method handling the response of the latest version request.</td> +<td>Private slot handling the response of the latest version request.</td> </tr> <tr> <td><a href="#EspDevice.__flashAddons">__flashAddons</a></td> @@ -270,7 +282,7 @@ <b>__firmwareVersionResponse</b>(<i>reply</i>) <p> - Private method handling the response of the latest version request. + Private slot handling the response of the latest version request. </p> <dl> @@ -925,4 +937,55 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="eraseFlash" ID="eraseFlash"></a> +<h2>eraseFlash</h2> +<b>eraseFlash</b>(<i>port</i>) + +<p> + Slot to erase the device flash memory. +</p> +<dl> + +<dt><i>port</i> (str)</dt> +<dd> +name of the serial port device to be used +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="flashAddonFirmware" ID="flashAddonFirmware"></a> +<h2>flashAddonFirmware</h2> +<b>flashAddonFirmware</b>(<i>port</i>) + +<p> + Slot to flash some additional firmware images. +</p> +<dl> + +<dt><i>port</i> (str)</dt> +<dd> +name of the serial port device to be used +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="flashPythonFirmware" ID="flashPythonFirmware"></a> +<h2>flashPythonFirmware</h2> +<b>flashPythonFirmware</b>(<i>port</i>) + +<p> + Slot to flash a MicroPython firmware to the device. +</p> +<dl> + +<dt><i>port</i> (str)</dt> +<dd> +name of the serial port device to be used +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.html Fri Mar 03 11:34:59 2023 +0100 @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect</h1> + +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#connectWiFi">connectWiFi</a></td> +<td></td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="connectWiFi" ID="connectWiFi"></a> +<h2>connectWiFi</h2> +<b>connectWiFi</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.html Fri Mar 03 11:34:59 2023 +0100 @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect</h1> + +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#connectWiFi">connectWiFi</a></td> +<td></td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="connectWiFi" ID="connectWiFi"></a> +<h2>connectWiFi</h2> +<b>connectWiFi</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.html Fri Mar 03 11:34:59 2023 +0100 @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect</h1> + +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#connectWiFi">connectWiFi</a></td> +<td></td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="connectWiFi" ID="connectWiFi"></a> +<h2>connectWiFi</h2> +<b>connectWiFi</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MicrobitDevices.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.MicrobitDevices.html Fri Mar 03 11:34:59 2023 +0100 @@ -69,7 +69,7 @@ </tr> <tr> <td><a href="#MicrobitDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> -<td>Private method handling the response of the latest version request.</td> +<td>Private slot handling the response of the latest version request.</td> </tr> <tr> <td><a href="#MicrobitDevice.__flashMicroPython">__flashMicroPython</a></td> @@ -167,6 +167,10 @@ <td><a href="#MicrobitDevice.setButtons">setButtons</a></td> <td>Public method to enable the supported action buttons.</td> </tr> +<tr> +<td><a href="#MicrobitDevice.setConnected">setConnected</a></td> +<td>Public method to set the connection state.</td> +</tr> </table> <h3>Static Methods</h3> @@ -212,7 +216,7 @@ <b>__firmwareVersionResponse</b>(<i>reply</i>) <p> - Private method handling the response of the latest version request. + Private slot handling the response of the latest version request. </p> <dl> @@ -670,6 +674,24 @@ <p> Public method to enable the supported action buttons. </p> +<a NAME="MicrobitDevice.setConnected" ID="MicrobitDevice.setConnected"></a> +<h4>MicrobitDevice.setConnected</h4> +<b>setConnected</b>(<i>connected</i>) + +<p> + Public method to set the connection state. +</p> +<p> + Note: This method can be overwritten to perform actions upon connect + or disconnect of the device. +</p> +<dl> + +<dt><i>connected</i> (bool)</dt> +<dd> +connection state +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr />
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.PyBoardDevices.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.PyBoardDevices.html Fri Mar 03 11:34:59 2023 +0100 @@ -84,7 +84,7 @@ </tr> <tr> <td><a href="#PyBoardDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> -<td>Private method handling the response of the latest version request.</td> +<td>Private slot handling the response of the latest version request.</td> </tr> <tr> <td><a href="#PyBoardDevice.__flashMicroPython">__flashMicroPython</a></td> @@ -282,7 +282,7 @@ <b>__firmwareVersionResponse</b>(<i>reply</i>) <p> - Private method handling the response of the latest version request. + Private slot handling the response of the latest version request. </p> <dl>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.RP2040Devices.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.RP2040Devices.html Fri Mar 03 11:34:59 2023 +0100 @@ -65,7 +65,7 @@ </tr> <tr> <td><a href="#RP2040Device.__activateBootloader">__activateBootloader</a></td> -<td>Private method to switch the board into 'bootloader' mode.</td> +<td>Private slot to switch the board into 'bootloader' mode.</td> </tr> <tr> <td><a href="#RP2040Device.__createRP2040Menu">__createRP2040Menu</a></td> @@ -73,13 +73,17 @@ </tr> <tr> <td><a href="#RP2040Device.__firmwareVersionResponse">__firmwareVersionResponse</a></td> -<td>Private method handling the response of the latest version request.</td> +<td>Private slot handling the response of the latest version request.</td> </tr> <tr> <td><a href="#RP2040Device.__flashPython">__flashPython</a></td> <td>Private slot to flash a MicroPython firmware to the device.</td> </tr> <tr> +<td><a href="#RP2040Device.__resetDevice">__resetDevice</a></td> +<td>Private slot to reset the connected device.</td> +</tr> +<tr> <td><a href="#RP2040Device.__setCountry">__setCountry</a></td> <td>Private slot to configure the country of the connected RP2040 device.</td> </tr> @@ -225,7 +229,7 @@ <b>__activateBootloader</b>(<i></i>) <p> - Private method to switch the board into 'bootloader' mode. + Private slot to switch the board into 'bootloader' mode. </p> <a NAME="RP2040Device.__createRP2040Menu" ID="RP2040Device.__createRP2040Menu"></a> <h4>RP2040Device.__createRP2040Menu</h4> @@ -239,7 +243,7 @@ <b>__firmwareVersionResponse</b>(<i>reply</i>) <p> - Private method handling the response of the latest version request. + Private slot handling the response of the latest version request. </p> <dl> @@ -255,6 +259,13 @@ <p> Private slot to flash a MicroPython firmware to the device. </p> +<a NAME="RP2040Device.__resetDevice" ID="RP2040Device.__resetDevice"></a> +<h4>RP2040Device.__resetDevice</h4> +<b>__resetDevice</b>(<i></i>) + +<p> + Private slot to reset the connected device. +</p> <a NAME="RP2040Device.__setCountry" ID="RP2040Device.__setCountry"></a> <h4>RP2040Device.__setCountry</h4> <b>__setCountry</b>(<i></i>) @@ -661,7 +672,7 @@ <dt>Return:</dt> <dd> tuple containing a flag indicating the availability of WiFi - and the WiFi type (picow or pimoroni) + and the WiFi type (picow or picowireless) </dd> </dl> <dl>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.TeensyDevices.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.TeensyDevices.html Fri Mar 03 11:34:59 2023 +0100 @@ -33,6 +33,14 @@ <td><a href="#createDevice">createDevice</a></td> <td>Function to instantiate a MicroPython device object.</td> </tr> +<tr> +<td><a href="#showTeensyFlashInstructions">showTeensyFlashInstructions</a></td> +<td>Slot to show a message box with instruction to flash the Teensy.</td> +</tr> +<tr> +<td><a href="#startTeensyLoader">startTeensyLoader</a></td> +<td>Slot to start the 'Teensy Loader' application.</td> +</tr> </table> <hr /> <hr /> @@ -68,21 +76,13 @@ </tr> <tr> <td><a href="#TeensyDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> -<td>Private method handling the response of the latest version request.</td> +<td>Private slot handling the response of the latest version request.</td> </tr> <tr> <td><a href="#TeensyDevice.__showFirmwareVersions">__showFirmwareVersions</a></td> <td>Private slot to show the firmware version of the connected device and the available firmware version.</td> </tr> <tr> -<td><a href="#TeensyDevice.__showFlashInstructions">__showFlashInstructions</a></td> -<td>Private method to show a message box with instruction to flash the Teensy.</td> -</tr> -<tr> -<td><a href="#TeensyDevice.__startTeensyLoader">__startTeensyLoader</a></td> -<td>Private method to start the 'Teensy Loader' application.</td> -</tr> -<tr> <td><a href="#TeensyDevice._getSetTimeCode">_getSetTimeCode</a></td> <td>Protected method to get the device code to set the time.</td> </tr> @@ -171,7 +171,7 @@ <b>__firmwareVersionResponse</b>(<i>reply</i>) <p> - Private method handling the response of the latest version request. + Private slot handling the response of the latest version request. </p> <dl> @@ -188,23 +188,6 @@ Private slot to show the firmware version of the connected device and the available firmware version. </p> -<a NAME="TeensyDevice.__showFlashInstructions" ID="TeensyDevice.__showFlashInstructions"></a> -<h4>TeensyDevice.__showFlashInstructions</h4> -<b>__showFlashInstructions</b>(<i></i>) - -<p> - Private method to show a message box with instruction to flash the Teensy. -</p> -<a NAME="TeensyDevice.__startTeensyLoader" ID="TeensyDevice.__startTeensyLoader"></a> -<h4>TeensyDevice.__startTeensyLoader</h4> -<b>__startTeensyLoader</b>(<i></i>) - -<p> - Private method to start the 'Teensy Loader' application. -</p> -<p> - Note: The application must be accessible via the application search path. -</p> <a NAME="TeensyDevice._getSetTimeCode" ID="TeensyDevice._getSetTimeCode"></a> <h4>TeensyDevice._getSetTimeCode</h4> <b>_getSetTimeCode</b>(<i></i>) @@ -471,4 +454,27 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="showTeensyFlashInstructions" ID="showTeensyFlashInstructions"></a> +<h2>showTeensyFlashInstructions</h2> +<b>showTeensyFlashInstructions</b>(<i></i>) + +<p> + Slot to show a message box with instruction to flash the Teensy. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="startTeensyLoader" ID="startTeensyLoader"></a> +<h2>startTeensyLoader</h2> +<b>startTeensyLoader</b>(<i></i>) + +<p> + Slot to start the 'Teensy Loader' application. +</p> +<p> + Note: The application must be accessible via the application search path. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Fri Mar 03 11:34:59 2023 +0100 @@ -284,6 +284,10 @@ <td>Public method to set the enabled state of the various action buttons.</td> </tr> <tr> +<td><a href="#MicroPythonWidget.showError">showError</a></td> +<td>Public method to show some error message.</td> +</tr> +<tr> <td><a href="#MicroPythonWidget.shutdown">shutdown</a></td> <td>Public method to perform some shutdown actions.</td> </tr>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.UF2FlashDialog.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.UF2FlashDialog.html Fri Mar 03 11:34:59 2023 +0100 @@ -114,6 +114,10 @@ <td><a href="#UF2FlashDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> <td>Private slot to refresh the dialog.</td> </tr> +<tr> +<td><a href="#UF2FlashDialog.on_searchBootButton_clicked">on_searchBootButton_clicked</a></td> +<td>Private slot to look for all known boot paths and present a list to select from.</td> +</tr> </table> <h3>Static Methods</h3> @@ -292,6 +296,13 @@ <p> Private slot to refresh the dialog. </p> +<a NAME="UF2FlashDialog.on_searchBootButton_clicked" ID="UF2FlashDialog.on_searchBootButton_clicked"></a> +<h4>UF2FlashDialog.on_searchBootButton_clicked</h4> +<b>on_searchBootButton_clicked</b>(<i></i>) + +<p> + Private slot to look for all known boot paths and present a list to select from. +</p> <div align="right"><a href="#top">Up</a></div> <hr /> <hr />
--- a/src/eric7/Documentation/Source/eric7.MicroPython.WifiDialogs.WifiStatusDialog.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.WifiDialogs.WifiStatusDialog.html Fri Mar 03 11:34:59 2023 +0100 @@ -62,6 +62,10 @@ <td><a href="#WifiStatusDialog.__createHeader">__createHeader</a></td> <td>Private method to create a header item.</td> </tr> +<tr> +<td><a href="#WifiStatusDialog.__createSubheader">__createSubheader</a></td> +<td>Private method to create a subheader item.</td> +</tr> </table> <h3>Static Methods</h3> @@ -123,6 +127,36 @@ QTreeWidgetItem </dd> </dl> +<a NAME="WifiStatusDialog.__createSubheader" ID="WifiStatusDialog.__createSubheader"></a> +<h4>WifiStatusDialog.__createSubheader</h4> +<b>__createSubheader</b>(<i>parent, text</i>) + +<p> + Private method to create a subheader item. +</p> +<dl> + +<dt><i>parent</i> (QTreeWidgetItem)</dt> +<dd> +reference to the parent item +</dd> +<dt><i>text</i> (str)</dt> +<dd> +text for the header item +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +reference to the created header item +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QTreeWidgetItem +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file
--- a/src/eric7/Documentation/Source/index-eric7.MicroPython.Devices.MCUScripts.html Fri Mar 03 11:31:53 2023 +0100 +++ b/src/eric7/Documentation/Source/index-eric7.MicroPython.Devices.MCUScripts.html Fri Mar 03 11:34:59 2023 +0100 @@ -16,12 +16,24 @@ <table> <tr> +<td><a href="eric7.MicroPython.Devices.MCUScripts.circuitPy7WiFiConnect.html">circuitPy7WiFiConnect</a></td> +<td></td> +</tr> +<tr> <td><a href="eric7.MicroPython.Devices.MCUScripts.esp32WiFiConnect.html">esp32WiFiConnect</a></td> <td></td> </tr> <tr> +<td><a href="eric7.MicroPython.Devices.MCUScripts.mpyWiFiConnect.html">mpyWiFiConnect</a></td> +<td></td> +</tr> +<tr> <td><a href="eric7.MicroPython.Devices.MCUScripts.picowWiFiConnect.html">picowWiFiConnect</a></td> <td></td> </tr> +<tr> +<td><a href="eric7.MicroPython.Devices.MCUScripts.pimoroniWiFiConnect.html">pimoroniWiFiConnect</a></td> +<td></td> +</tr> </table> </body></html> \ No newline at end of file