react-native-wifi-p2p icon indicating copy to clipboard operation
react-native-wifi-p2p copied to clipboard

Set Group Owner operating frequency band

Open Caipe97 opened this issue 2 years ago • 1 comments

I am using this module to write an app that connects many devices to one (the Group Owner).

Tinkering with some test devices, I found that some create a WiFi Direct AP on the 5 GHz band, while others default to 2.4 GHz.

This may result in clients that only use the 2.4GHz band (such as low-end devices) to not find 5GHz WiFi Direct APs.

Is there any way to force a Group Owner to use the 2.4 GHz band to maintain compatibility with older devices?

Caipe97 avatar Mar 03 '22 14:03 Caipe97

Hi @Caipe97

I think it's possible, according to the answer from stackoverflow: https://stackoverflow.com/questions/61140789/how-do-i-force-android-wifi-direct-group-owner-to-use-2-4-ghz-instead-of-5-ghz

The problem is that I don't have device with 2.4 Ghz anymore 😔

Just theoretically I could write a code, but I can not test it... If I write a code - could you use a version from github and test whether it works or not?

kirillzyusko avatar Mar 05 '22 10:03 kirillzyusko