P
Pasi_
Guest
Hello,
I have been investigating the Wi-Fi Direct Legacy Connection C++ WRL Demo found from:
Microsoft/Windows-classic-samples
I have two Wi-Fi adapters in my computer and I would like to start the softAP on the one capable of 5 GHz. (If I do not disable the adapter from the device manager the AP starts on the "wrong" adaper.)
And after playing around with the API i have not been able to start the softAP on a specific adapter.
Windows.Devices.WiFiDirect Namespace - Windows UWP applications
Is there a way to do this?
Currently I have tried the following prior to starting the softAP:
1. Calling the GetDeviceSelector that returns the Class selection string.
2. Calling FindAllAsyncDeviceClass with the selection string got from step 1. But it does not return any results. ( using ABI::Windows:evices::Enumeration:eviceClass:eviceClass_All instead of the selections string yields a lot of results.
Searchig the registry I can find the class selection string from ...\DeviceAccess\Classes{439B20AF-8955-405B-99F0-A62AF0C68D43} and there is a policy for it.
3. If I find the correct Wi-Fi adaper I would call the FromIdAsync with the deviceId.
Is this the right assumption to go about this?
Continue reading...
I have been investigating the Wi-Fi Direct Legacy Connection C++ WRL Demo found from:
Microsoft/Windows-classic-samples
I have two Wi-Fi adapters in my computer and I would like to start the softAP on the one capable of 5 GHz. (If I do not disable the adapter from the device manager the AP starts on the "wrong" adaper.)
And after playing around with the API i have not been able to start the softAP on a specific adapter.
Windows.Devices.WiFiDirect Namespace - Windows UWP applications
Is there a way to do this?
Currently I have tried the following prior to starting the softAP:
1. Calling the GetDeviceSelector that returns the Class selection string.
2. Calling FindAllAsyncDeviceClass with the selection string got from step 1. But it does not return any results. ( using ABI::Windows:evices::Enumeration:eviceClass:eviceClass_All instead of the selections string yields a lot of results.
Searchig the registry I can find the class selection string from ...\DeviceAccess\Classes{439B20AF-8955-405B-99F0-A62AF0C68D43} and there is a policy for it.
3. If I find the correct Wi-Fi adaper I would call the FromIdAsync with the deviceId.
Is this the right assumption to go about this?
Continue reading...