src/eric7/MicroPython/Devices/RP2040Devices.py

branch
eric7
changeset 10170
6cf1ee737d8f
parent 10153
ffe7432f716b
child 10233
51a6649ba79d
equal deleted inserted replaced
10169:0f70a4ef4592 10170:6cf1ee737d8f
1168 @return tuple containing a flag indicating success and an error message 1168 @return tuple containing a flag indicating success and an error message
1169 @rtype tuple of (bool, str) 1169 @rtype tuple of (bool, str)
1170 """ 1170 """
1171 if security is None or password is None: 1171 if security is None or password is None:
1172 security = 0 1172 security = 0
1173 password = "" 1173 password = "" # secok
1174 1174
1175 if self._deviceData["wifi_type"] == "picow": 1175 if self._deviceData["wifi_type"] == "picow":
1176 country = Preferences.getMicroPython("WifiCountry").upper() 1176 country = Preferences.getMicroPython("WifiCountry").upper()
1177 if security: 1177 if security:
1178 security = 4 # Pico W supports just WPA/WPA2 1178 security = 4 # Pico W supports just WPA/WPA2

eric ide

mercurial