atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

Expose ability to reset the cached uplink address #71

Closed atanisoft closed 3 years ago

atanisoft commented 3 years ago

The last known uplink address is persisted in a hidden field when reconnect is enabled. This works generally well for most cases but in some cases it results in non-desirable behavior with no clear exit strategy. This commit adds the ability to clear the cached address but does not address an underlying problem with the reconnect strategy where it does not give up trying to reconnect and fallback to mDNS based search after N attempts.

ggee commented 3 years ago

Is this button supposed to be on the LCC tab or LCC Wifi Uplink? For me it is on LCC.

atanisoft commented 3 years ago

LCC since it is the LCC uplink. This area needs a bit more tweaks I think to have it give up on the cached address and try searching again before going back to the cached one