summaryrefslogtreecommitdiff
path: root/docs/esp32/quickref.rst
diff options
context:
space:
mode:
authorThomas Wenrich <twenrich@gmail.com>2021-06-13 16:22:49 +0200
committerDamien George <damien@micropython.org>2021-06-17 18:48:06 +1000
commit060066804a4543e79c0bdc60a1221bb8628982e9 (patch)
treee8119730bdee2ce206e92ea90e76353c2e9529da /docs/esp32/quickref.rst
parent48437cec4547a21af73102c1ccdf079f63fff534 (diff)
esp32/modnetwork: Add "reconnects" option to WLAN STA interface.
This adds a wlan.config(reconnects=N) option to set the number of reconnect attempts that will be made if the WLAN connection goes down. The default is N=-1 (infinite retries, current behavior). Setting wlan.config(reconnects=0) will disable the reconnect attempts. A nice side effect of reconnects=0 is that wlan.status() will report the disconnect reason now. See related issue #5326.
Diffstat (limited to 'docs/esp32/quickref.rst')
0 files changed, 0 insertions, 0 deletions