Home  >  Article  >  System Tutorial  >  How to connect Windows 10 devices using WiFi Direct

How to connect Windows 10 devices using WiFi Direct

王林
王林forward
2024-01-02 15:12:051462browse

When we use a windows10Lot device, if we need to connect to use wifi direct, first the hardware of the USB WiFi adapter needs to support WiFi Direct, and secondly, the corresponding driver of the USB WiFi adapter needs to support WiFi Direct. Next, let’s take a look at how to use wifi direct on Windows 10 devices.

How to use wifi direct with Windows10 devices

Set up two devices

1. MinnowBoardMax (MBM) running Windows 10 IoT Core, which contains the CanaKit WiFi converter

2. Connect a monitor, keyboard and mouse to the MBM

3. A Windows 10 computer running the latest Windows 10 Anniversary Update. The computer (or laptop) needs to provide WiFi direct support (such as Microsoft Surface)

4. Install Visual Studio 2017

5 on the Windows 10 computer. Clone or download the WiFi direct UWP sample.

6. Load the version of the WIFI Direct UWP example in Visual C# Studio 2017

Run the example on two devices

- Compile the example and deploy on MBM/ Run it:

1. Set the "Solution Platform" combo box to "x86"

2. Select "Remote Computer" from the "Run" drop-down list

3. Start the example on the MBM without debugging (by pressing Ctrl-F5 or selecting "Start without debugging" from the "Debug" menu)

4. You should be connected to the MBM See the WiFi direct example running on your monitor

- Compile the example and deploy/run it on a Windows 10 computer:

1. Set the "Solution Platform" combo box For "x86"

2. Select "Local" from the Run drop-down list

3. Start the example (press F5 or Ctrl-F5)

4. You You should see the WiFi Direct example running on a Windows 10 PC

1. Things to know

On Windows 10 IoT Core devices, WiFi Direct is supported through a USB WiFi adapter enabled using WiFi Direct. To ensure that WiFi Direct is enabled, the following two things need to be met

The hardware of the USB WiFi adapter needs to support WiFi Direct,

The corresponding driver of the USB WiFi adapter needs to support WiFi Direct.

WiFi Direct provides a solution for WiFi device-to-device connections without the need for a wireless access point (wireless AP) to set up the connection. Check out the UWP APIs available in the WiFi Direct namespace to see what you can do with WiFiDirect.

2. Pair the device

1. In the "Discovered Devices" list on the Windows 10 computer, select MBM ("mbm01" in our example), and then press "Connect " button

2. On a Windows 10 computer, press "Yes" to start the pairing process

Windows10设备如何使用wifi direct

3. On the MBM monitor, the PIN should be used Message

Windows10设备如何使用wifi direct

4. On a Windows 10 computer, you should see a dialog box where you need to enter your PIN

Windows10设备如何使用wifi direct

The above is the detailed content of How to connect Windows 10 devices using WiFi Direct. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:somode.com. If there is any infringement, please contact admin@php.cn delete