spieglt / FlyingCarpet

Cross-platform AirDrop. File transfer between Android, iOS, Linux, macOS, and Windows over ad hoc WiFi. No network infrastructure required, just two devices with WiFi chips in close range.
GNU General Public License v3.0
3.29k stars 134 forks source link

[Feature Request] Android 5ghz hostpot option #62

Open Rihcus opened 5 months ago

Rihcus commented 5 months ago

I noticed flying carpet seems to be relying on a 2.4Ghz hotspot limiting transfers speeds. Could their be an option to use 5ghz?

spieglt commented 5 months ago

Related to this and the other issue you opened, I found this which can apparently be used to set the SSID and frequency. I'll look into it.

jackuars7 commented 5 months ago

I also noticed that the file transfer speeds are slower compared to Feem. I was wondering if FlyingCarpet uses DirectWiFi like Feem does. Also, I kindly request to look into the 5GHz option.

spieglt commented 5 months ago

Is Feem faster when devices are using a hotspot, and not on a WiFi network together? Flying Carpet technically uses WiFi Direct on Windows, though uses it to act as a legacy AP/ad hoc WiFi hotspot. I adapted https://learn.microsoft.com/en-us/samples/microsoft/windows-classic-samples/wifi-direct-legacy/ to Rust. It can't use WiFi Direct for all transfers because iOS and macOS don't have WiFi Direct. I did look at that 5Ghz code sample again but it only works on Android 13+. Not sure if or when I'll get to it, but would probably be in a future major version, maybe alongside Bluetooth functionality.