I will try to do it shortly. I worked on Windows 10 (10130) on Microsoft Direct Direct Services available on GitHub , C # one in Visual Studio 2015 RC. Now, at their construction conference, they said you can run a command in the CMD to find out if your WiFi adapter is compatible with WiFi Direct
netsh wlan show wirelesscap
Which gives me a great YES, your wireless adapter is compatible.
Wi-Fi Direct Device : Supported Wi-Fi Direct GO : Supported Wi-Fi Direct Client : Supported
But when I run the specified sample, everything goes OK until WiFiDirectServiceWrapper.OnAdvertisementStatusChanged (...) is launched, almost immediately after creating the advertiser. When I run the sample with the profiler, I get the following:
private void OnAdvertisementStatusChanged(WiFiDrectServiceAdvertiser sender, object args)
-
sender | {Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser} AdvertisementStatus: Aborted AutoAcceptSession: true CustomServiceStatusCode: 0 DeferredSessionInfo: null PreferGroupOwnerMode: true PreferredConfigurationMethods : _native, can't see_ ServiceError: UnsupportedHardware ServiceInfo: null ServiceName: "myservice" ServiceNamePrefixes: {System.__comObject} ServiceStatus: Available
I really don't know how I should loosen this, since I cannot find where this event is raised (the only links to this method are
this.advertiser.AdversitementStatusChanged += OnAdvertisementStatusChanged this.advertiser.AdversitementStatusChanged -= OnAdvertisementStatusChanged
^ the), and I do not see the implementation of WifiDirectServiceAdvertiser.
My WiFi card is Qualcomm Atheros AR9485 and I use the latest drivers available through Windows Update. In device manager, I get two virtual virtual Wi-Fi adapters:
Microsoft Wi-Fi Direct Virtual Adapter Microsoft Wi-Fi Direct Virtual Adapter
The second is disabled sometimes (the UnsupportedHardware event is the same, enabled or disabled). For all of them, I turned off the option "Allow the computer to turn off this device to save energy."
I tried to compile the code for x86 and x64, but I get the same result at the same point. I tried two more universal wireless portable devices (these USB USB adapters) that Windows say yes, they are also compatible with luck.
I know that Windows 10 is not final, but any help is appreciated.