Skip to content
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

MiracleCast fail on Windows 11 1st) As Sink do not Accepts peer connection, 2nd) as Peer do not connect #431

Closed
OliveiraICTS opened this issue Feb 13, 2022 · 4 comments

Comments

@OliveiraICTS
Copy link

OliveiraICTS commented Feb 13, 2022

I detected it fails when I tryed to stablish session with Windows 11.
When I use as Sink, pressed Windows-K and tried to pair with MiracleCast I got bellow fail:

DEBUG: supplicant: unhandled wpas-event: <3>P2P-INVITATION-RECEIVED sa=02:05:16:61:ce:07 go_dev_addr=02:05:16:61:ce:07 bssid=12:05:16:61:ce:07 unknown-network (supplicant_event() in src/wifi/wifid-supplicant.c:1505)

When I use as Peer, MiracleCast detects Sink, but when I tryed to stablish session it also fail.

Important:- When I used as Sink and paired with Android Device it works propperly. I Didnt tested as Peer because I do not have SmartTV with Miracast over WIFI.

Question:- What is required to do when received message: P2P-INVITATION-RECEIVED??? wifid-supplicant.c do not proccess it event.

@albfan
Copy link
Owner

albfan commented Feb 13, 2022

Microsoft extends the miracast protocol.

See #136

Miraclecast as source is still not implemented. See #4

@albfan albfan closed this as completed Feb 13, 2022
@OliveiraICTS
Copy link
Author

Thank you!
Looking logging Microsoft has omplemented WPA2 and it implements WPA1. By the way, my Android Device works propperly.

@jinhui123789
Copy link

DEBUG: supplicant: unhandled wpas-event: <3>P2P-INVITATION-RECEIVED sa=02:05:16:61:ce:07 go_dev_addr=02:05:16:61:ce:07 bssid=12:05:16:61:ce:07 unknown-network (supplicant_event() in src/wifi/wifid-supplicant.c:1505)

Is there any solution to this problem

@OliveiraICTS
Copy link
Author

Hello!!
Windows uses Miracast Microsoft Extensions. The M3 GET_PARAMETERS from windows sends a list of windows required parameter response it needs. So, Miraclecast has a feature with allow add mocked defalut responses for each one of them. If you fill the correct value Miraclecst works on Windows 11. The care you must have is to answare feature you really sopport, because is you sends a feature that you do not support and the source support it will try to use and you will not be able to work. Other important thing is UIBC. Miraclecast only support limited UIBC events and when I tested them it didnt works propperly because I didnt see UIBC events being send back on it channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants