You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a copy of the Windows sample that allows 'soft AP' support on Windows 10 through the WiFi Direct interfaces.
3
+
4
+
This means the driver need not have "Hosted networks supported" or "Soft AP" supported.
5
+
The driver must support Wi-Fi Direct, as shown when running:
6
+
`netsh wlan show wirelesscapabilities`
7
+
8
+
The code in this repo was taken from here: https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/WiFiDirectLegacyAP opened in VS 2019 16.7 and rebuilt with recommended upgrade of the project (target runtime version was updated).
9
+
10
+
The Release page has binaries for x86 and x64
11
+
Those require the corresponding VS++ runtime version 14.1 (VS 2019 runtime).
12
+
Runtime updates can be downloaded from the "Other Tools and Frameworks" section here: https://visualstudio.microsoft.com/downloads/
13
+
The same runtime update files are also documented and linked here: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
14
+
15
+
Running the program gives these options:
16
+
```
17
+
PS D:\WebTest> .\WiFiDirectLegacyAPDemo.exe
18
+
>?
19
+
20
+
Wi-Fi Direct Legacy AP Demo Usage:
21
+
----------------------------------
22
+
start : Start the legacy AP to accept connections
23
+
stop : Stop the legacy AP
24
+
ssid <ssid> : Configure the SSID before starting the legacy AP
25
+
pass <passphrase> : Configure the passphrase before starting the legacy AP
26
+
autoaccept <0|1> : Configure the legacy AP to accept connections (default) or prompt the user
0 commit comments