10169:0f70a4ef4592 | 10170:6cf1ee737d8f |
---|---|
1156 ifconfig=ifconfig, | 1156 ifconfig=ifconfig, |
1157 ) | 1157 ) |
1158 | 1158 |
1159 if security is None or password is None: | 1159 if security is None or password is None: |
1160 security = 0 | 1160 security = 0 |
1161 password = "" | 1161 password = "" # secok |
1162 if security > 4: | 1162 if security > 4: |
1163 security = 4 # security >4 cause an error thrown by the ESP32 | 1163 security = 4 # security >4 cause an error thrown by the ESP32 |
1164 | 1164 |
1165 command = """ | 1165 command = """ |
1166 def start_ap(ssid, authmode, password, hostname, ifconfig): | 1166 def start_ap(ssid, authmode, password, hostname, ifconfig): |