1078 repr(password), |
1078 repr(password), |
1079 ifconfig, |
1079 ifconfig, |
1080 repr(country if country else "XX"), |
1080 repr(country if country else "XX"), |
1081 ) |
1081 ) |
1082 elif self._deviceData["wifi_type"] == "picowireless": |
1082 elif self._deviceData["wifi_type"] == "picowireless": |
|
1083 if ifconfig: |
|
1084 return ( |
|
1085 False, |
|
1086 self.tr( |
|
1087 "Pico Wireless does not support setting the IPv4 parameters of" |
|
1088 " the WiFi access point." |
|
1089 ), |
|
1090 ) |
|
1091 |
1083 # AP is fixed at channel 6 |
1092 # AP is fixed at channel 6 |
1084 command = """ |
1093 command = """ |
1085 def start_ap(ssid, password): |
1094 def start_ap(ssid, password): |
1086 import picowireless as pw |
1095 import picowireless as pw |
1087 |
1096 |