micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

webrepl: Support LAN as well as WLAN boards.

Open jimmo opened this issue 2 years ago • 0 comments

When webrepl starts, it prints out the IP address to stdout, however it does this by querying the network.WLAN object -- https://github.com/micropython/micropython-lib/blob/master/micropython/net/webrepl/webrepl.py#L105

This should also try network.LAN (and not fail if network.LAN xor network.WLAN are unavailable).

jimmo avatar Nov 01 '23 23:11 jimmo