Skip to content

Commit b1c88a6

Browse files
authored
Create README.md
1 parent d02a483 commit b1c88a6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# WiFiDirectLegacyAPDemo
2+
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
27+
quit|exit : Exit
28+
29+
>
30+
```
31+

0 commit comments

Comments
 (0)