UP Core as WiFi hotspot running on Windows 10 IoT Core
I'm attempting to configure an UP Core board as a WiFi hotspot on Windows 10 IoT Core. From a Powershell I've issued the following:
netsh wlan set hostednetwork ssid=<myssid>key=<mypassword> mode=allow
This command succeeds with the following output:
The hosted network mode has been set to allow. The SSID of the hosted network has been successfully changed. The user key passphrase of the hosted network has been successfully changed.
So far so good...
Then I try to start the hostnetwork with:
netsh wlan start hostednetwork
Unfortunately this fails with the following:
The hosted network couldn't be started. The group or resource is not in the correct state to perform the requested operation.
I've tried various options to get the hosted network started as outlined but have not had any success.
Can the UP Core board be configured as a WiFi hotspt?
Best Answer
-
please refer this link https://docs.microsoft.com/zh-tw/windows-hardware/drivers/partnerapps/wi-fi-direct ,
SoftAP is not supported in windows except windows7, you can download and refer WiFiDirectLegacyAPDemo source code in the link.
Up IoT Core driver has supported WiFi Direct APIs, it's no problem to support hotspot.
Answers
-
I don't know if this is related or not but I noticed that in the Windows 10 IoT Core Device Portal, I see error messages related to onboarding under Connectivity > Onboarding:
Is this perhaps a WiFi driver issue?
-
Just noticed the one of my links above is an image. Here's the link: http://woshub.com/how-to-create-a-wi-fi-access-point-on-windows-10/
-
For those coming later... I was able to port the WiFi Direct C++ code to a UWP C# project. The code can be found here: WiFiDirectLegacyAPCSharp
-
Thanks @gerfen great contribution.
We will add it to our wiki