diff -r ce3bcd9df3b3 -r 0e220c26e60e src/eric7/MicroPython/Devices/DeviceBase.py --- a/src/eric7/MicroPython/Devices/DeviceBase.py Tue May 06 11:09:21 2025 +0200 +++ b/src/eric7/MicroPython/Devices/DeviceBase.py Tue May 06 15:32:29 2025 +0200 @@ -1801,7 +1801,7 @@ """ return {}, {}, {} - def connectWifi(self, ssid, password, hostname): # noqa: U-100 + def connectWifi(self, ssid, password, hostname, country=""): # noqa: U-100 """ Public method to connect a device to a WiFi network. @@ -1811,6 +1811,8 @@ @type str @param hostname host name of the device (unused) @type str + @param country WiFi country code + @type str @return tuple containing the connection status and an error string @rtype tuple of (bool, str) """