kopia lustrzana https://github.com/tayfunulu/WiFiManager
stop AP once station mode is configured
rodzic
b86a900cf5
commit
6a2eb38717
|
@ -275,6 +275,8 @@ def start(port=80):
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
if wlan_sta.isconnected():
|
if wlan_sta.isconnected():
|
||||||
|
# stop AP mode to save energy
|
||||||
|
wlan_ap.active(False)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
client, addr = server_socket.accept()
|
client, addr = server_socket.accept()
|
||||||
|
|
Ładowanie…
Reference in New Issue