Differences between network.LAN and network.WLAN? No network.LAN disconnect method? #17920
Jibun-no-Kage
started this conversation in
General
Replies: 1 comment 1 reply
-
What would disconnection mean for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Differences between network.LAN and network.WLAN? No network.LAN disconnect method? Happen to be using the ESP32 port...
So, if I create a network.WLAN object, I can connect, status 1010 (Got IP), then disconnect status 1000. But if I create a network.LAN object, I can connect, status 5 (Got IP), but since no disconnect method, even if I call network.LAN.active(False), status is returned as 5. Would figure at a minimum network.LAN status would return 1 (Lost Connect) when active set to False no?
Output of some test code...
I guess my real question is why network.LAN has no disconnect method? Like network.WLAN does?
Beta Was this translation helpful? Give feedback.
All reactions