Allow use on network interfaces other than WIFI.
If network.WLAN doesn't exist autodetect other network adaptor and use that instead.
Assumes that interface is configured by the user.
I've been using this with a USB Network connection from https://github.com/micropython/micropython/pull/16459 on a rpi pico (non wifi version).
合并状态:未合并 3 条评论