nearby-sharing / android

Share files between android and PC via the Windows 10 / 11 built-in nearby-sharing functionality (Project Rome)
https://nearshare.shortdev.de
GNU General Public License v3.0
701 stars 34 forks source link

Add `WiFi-Direct` transport #32

Open ShortDevelopment opened 1 year ago

ShortDevelopment commented 1 year ago

CDPWiFiDirectNearshareMetadata

ShortDevelopment commented 1 year ago

Revision 8: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cdp/f5a15c56-ac3a-48f9-8c51-07b2eadbe9b4

WXZhao7 commented 1 year ago

@ShortDevelopment Hi, does this mean that the PC could share without Bluetooth?

ShortDevelopment commented 1 year ago

@WXZhao7 Yes, exactly. I can only support, what microsoft has implemented themselves (So no transfers from pc to android via network only). Fortunately, WiFiDirect is implemented!

chocolatedesue commented 2 weeks ago

any possiable way for contributing this feature ?

I am very interesting in this awesome feature

ShortDevelopment commented 2 weeks ago

@chocolatedesue Thanks for your interest! 😃

This particullar ticket requires some reverse engineering of the windows implementation as I sadly could not find documentation for the WiFi-Direct transport-upgrade.

But feel free to have a look at the good first issues! They may help you to get startet with android / c# development.

If you have any question: I'm happy to answer them via discord and/or github!