-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device connected, status=Error #3
Comments
I tried it now - I get a connection and an IP address (from an Android phone). I don't use this tool myself, so I don't have much experience in when it works or doesn't. |
Alright thanks I can just confirm it is not working after trying with another Android phone. |
Can you show the output of running
|
Here we go, looks quite similar: `Funzionalità wireless del sistema
Funzionalità dispositivo wirelessNome interfaccia: Wi-Fi
|
Yes - all the Wi-Fi Direct features seem to be supported. Did you put in a long enough passphrase? Can you show the output from running the utility?
|
I tried your very same settings but same error as before. `Wi-Fi Direct Legacy AP Demo Usage:start : Start the legacy AP to accept connections
Setting SSID to TestDirectAP
Setting AutoAccept to 1 (input was 1)
Setting Passphrase to Password
Starting soft AP... Connection Listener is ready Connection Requested... Device connected, status=Error` Thansk for your help. |
I'm afraid I don't know how to get a better error message. It's basically when this code is called: https://docs.microsoft.com/en-us/uwp/api/windows.devices.wifidirect.wifidirectdevice.fromidasync?view=winrt-22000#Windows_Devices_WiFiDirect_WiFiDirectDevice_FromIdAsync_System_String_ But I don't know enough about the new Windows API stuff to get a better error message, or why it would fail here. The only other path I can think of (if you're not a programmer and keen to dig into the code and the API) is to look for an app that has this functionality. I remember there were some (not free) when I initially looked at this last year. |
Maybe there's something wrong with my Wi-Fi adapter, it's an Intel Wi-Fi 6 AX200. |
I think this problem might be due to this: https://www.intel.com/content/www/us/en/support/articles/000029083/wireless.html If so, you can solve it by connecting to an existing WiFi AP before creating the hotspot... |
Hello , With the WiFiDirectLegacyAPDemo app I just cannot figure out how the connection can be established . I was happy in the old days up to windows 8.1 with its hosted network and the netsh wlan commands . You created your network with the AP , started it and it included a DHCP server that responded to clients , offering them suitable IP adresses. Now with windows 10 and the WDI driver , I just try to compile WiFiDirectLegacyAPDemo with VS 2022 and launch it . It starts the AP but the poor clients try in vain to get an IP address in return to their DHCP discover requests. Is the DHCP process still supposed to be used here ? I can't see any mention of it in the code. And we are only "imitating" a Wifi Direct process here , so ... |
Hello and thanks for the tool. Anyway I cannot connect my smartphone, it stucks on obtaining IP and console says "Device connected, status=Error".
Any idea how to make it work?
The text was updated successfully, but these errors were encountered: