diff options
author | Thomas Wenrich <twenrich@gmail.com> | 2021-06-13 16:22:49 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-06-17 18:48:06 +1000 |
commit | 060066804a4543e79c0bdc60a1221bb8628982e9 (patch) | |
tree | e8119730bdee2ce206e92ea90e76353c2e9529da /tests/float/bytes_construct_endian.py | |
parent | 48437cec4547a21af73102c1ccdf079f63fff534 (diff) | |
download | micropython-060066804a4543e79c0bdc60a1221bb8628982e9.tar.gz micropython-060066804a4543e79c0bdc60a1221bb8628982e9.zip |
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 'tests/float/bytes_construct_endian.py')
0 files changed, 0 insertions, 0 deletions