disabled automatic connection to local wifi network because this makes access point connection unreliable
This commit is contained in:
parent
5e7f228869
commit
70f3eb80ab
|
@ -3,10 +3,11 @@ import time
|
||||||
|
|
||||||
# connect to local wifi network
|
# connect to local wifi network
|
||||||
sta_if = network.WLAN(network.STA_IF)
|
sta_if = network.WLAN(network.STA_IF)
|
||||||
sta_if.active(True)
|
sta_if.active(False)
|
||||||
|
#sta_if.active(True)
|
||||||
# TODO: edit this line
|
# TODO: edit this line
|
||||||
sta_if.connect("<SSID>", "<PASSWORD>")
|
#sta_if.connect("<SSID>", "<PASSWORD>")
|
||||||
sta_if.ifconfig()
|
#sta_if.ifconfig()
|
||||||
|
|
||||||
# start terminal over wifi
|
# start terminal over wifi
|
||||||
time.sleep(5) # wait for wifi to connect
|
time.sleep(5) # wait for wifi to connect
|
||||||
|
|
Loading…
Reference in New Issue
Block a user