You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LwipIntfDev::connected() always returns true once it has connected once and acquired an IP address. So this does not really reflect the fact that the connection is active like you have with the WiFi. Even if you unplug the cable, it still returns true. This prevents to re-route to WiFi when ethernet is down.
Can't we replace this by checking the socket status by calling getSn_SR() ?
Basic Infos
Platform
Settings in IDE
Problem Description
#6680 (review)
@jbaudoux @infrafast
MCVE Sketch
https://github.com/esp8266/Arduino/blob/master/libraries/lwIP_w5500/examples/TCPClient/TCPClient.ino
The text was updated successfully, but these errors were encountered: