WiFi Direct is supported on Windows 10 IoT Core devices through the use of a WiFi Direct enabled USB WiFi adapter. To make sure that WiFi Direct is enabled two things need to be true:
WiFi Direct provides a solution for WiFi device-to-device connectivity without the need for either a Wireless Access Point (wireless AP) to setup the connection. Take a look at the UWP APIs available in the Windows.Devices.WiFiDirect namespace to see what you can do with WiFiDirect.
A list of WiFi adapters that have been tested on Windows 10 IoT Core can be found on our Supported Hardware page. Look in the notes for “WiFiDirect supported” to discover the WiFiDirect enabled adapters.
You can easily test the WiFi Direct functionality with the WiFi Direct UWP sample. We will use the C# version and run the sample of two devices.
Compile the sample and deploy/run it on the MBM:
Compile the sample and deploy/run it on the Windows 10 PC:
On the MBM, select (1) “Advertiser” and press the “Start Advertisement” button
The MBM will start advertising itself on the WiFi Direct channel
Notice the “Advertisement Status” banner at the bottom of the app.
On the Windows 10 PC, select (2) “Connector” and press the “Start Watcher” button
When the scanning is complete, you should see the name of your MBM in the “Discovered Devices” list
You can see two devices listed (we’re interested in “ale-mbm01”), and the “DeviceWatcher enumeration completed” message.
On the Windows 10 PC, press “Yes” to initiate the pairing process
On the MBM monitor you should a message with the PIN
On the Windows 10 PC, you should see a dialog where you need to enter the PIN
The two devices should be connected. You should see a randomly generated device id (“hqffpzhz.ggg” in our example) on both screens in the “Connected Devices” list
You now have a full-duplex channel (or socket) set up