0

It does not look like there is an API to do this within the app, so let us assume the phone is rooted. I don't have any experience working with rooted phones, but here's what I've come up with so far:

The wpa_supplicant.conf file seems to be able to handle what I need. There is a parameter that can be included there, called p2p_oper_channel, which can be set to 1/6/11/whatever that forces the channel to be that, when wpa_supplicant is run.

I also found the p2p_connect command, which takes as a parameter the frequency of the channel.

Currently, the application I have is all built using the ADK and supports sending/receiving a text using multicast, to several phones, using WiFi direct. But they're all on the same channel.

Can anyone tell me how I can use one/both of the above 2 points to set up one Android phone (master) to deliver a message to the others (slaves) on WiFi Direct, with each connected to the master on a different channel? (I assume we would do this using the fact that the phone is rooted but I'm not sure as I have no experience with this). I'm using multicast. The reason I want each on a channel is to minimize interference.

Furthermore, is it even possible to open several connections with different devices, each on a different channel, using the same WiFi chip?

4

1 に答える 1

0

デバイスの Wifi Direct のチャンネルを変更するには、次の手順を実行する必要があります。 1- 携帯電話をルート化する 2- 任意のファイル マネージャー アプリをダウンロードする: ES ファイル エクスプローラーなど 3- ES ファイル エクスプローラーで、[ツール] に移動し、次にルート エクスプローラーをオンにしてクリックし、RW をマウントします。5- 携帯電話の Wifi をオフにしてからオンにして、変更を有効にします。

Wi-Fi ダイレクト チャネルを設定したチャネルにするためには、Wi-Fi ダイレクト接続の開始時に電話機をアクセス ポイントに接続する必要はありません。また、通常、電話 A が Wi-Fi ダイレクト経由で電話 B に接続する場合、接続は電話 B のチャネルで動作します。

お役に立てれば

于 2015-01-09T22:42:32.077 に答える