src/eric7/MicroPython/Devices/RP2040Devices.py

branch
mpy_network
changeset 9841
3c6118eee33e
parent 9838
d6b87ef03c13
child 9843
72e8270a5940
--- a/src/eric7/MicroPython/Devices/RP2040Devices.py	Fri Mar 03 11:34:59 2023 +0100
+++ b/src/eric7/MicroPython/Devices/RP2040Devices.py	Fri Mar 03 13:44:34 2023 +0100
@@ -1080,6 +1080,15 @@
                 repr(country if country else "XX"),
             )
         elif self._deviceData["wifi_type"] == "picowireless":
+            if ifconfig:
+                return (
+                    False,
+                    self.tr(
+                        "Pico Wireless does not support setting the IPv4 parameters of"
+                        " the WiFi access point."
+                    ),
+                )
+
             # AP is fixed at channel 6
             command = """
 def start_ap(ssid, password):
@@ -1150,7 +1159,7 @@
             return (
                 [],
                 self.tr(
-                    "Showing connected clients is not supported for 'pico wireless'."
+                    "Pico Wireless does not support reporting of connected clients."
                 ),
             )
         else:

eric ide

mercurial