WifiNetworkHelper.Disconnect() not work? #1725
|
Hello everyone, I have a question. 1: WifiNetworkHelper.ConnectDhcp() OK. ++++ Exception System.InvalidOperationException - 0x00000000 (11) ++++ WifiNetworkHelper.Status == 2 Thank you! |
Answered by
josesimoes
Apr 6, 2026
Replies: 1 comment 5 replies
|
What is your question? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WifiNetworkHelperis meant to be a helper in setting up the network connection. That's why you see there the call toConnectDhcp().And it was coded to be used at boot time only. Because of the convoluted interactions between the various network components and IDF APIs.
If you need to change something in the DHCP or IP of the target, you should use the APIs available in Sys.Net.