[wifi] scan
This commit is contained in:
parent
e10b628bf9
commit
aa0b1bc76a
|
@ -290,7 +290,10 @@ def submit():
|
|||
# 关闭热点
|
||||
close_hotspot()
|
||||
|
||||
time.sleep(2)
|
||||
time.sleep(1)
|
||||
scan_wifi()
|
||||
time.sleep(1)
|
||||
|
||||
# 连接到用户选择的 Wi-Fi 网络
|
||||
if connect_wifi(ssid, password):
|
||||
close_app()
|
||||
|
|
Loading…
Reference in New Issue