Wi-Fi Direct is an extension to Wi-Fi, created by the Wi-Fi Alliance, that allows for Bluetooth style point-to-point networking as well as the more well known method of networking with access points that Wi-Fi traditionally uses. It is designed to make the process of connecting small intelligent devices like phones and cameras and even home appliances easier and faster. To make it easier to exchange information and files between devices as needed.
Questions tagged [wifi-direct]
852 questions
9
votes
2 answers
Connect 2 or more Android clients directly
I want to connect 2 or more Android devices with p2p connection. As I understand I may use Wi-Fi Direct under one wifi network https://developer.android.com/guide/topics/connectivity/wifip2p.html
But I want to connect Android clients located in…

user1312837
- 1,268
- 1
- 11
- 29
9
votes
1 answer
Is it possible to remove remembered Wifi Direct groups from Android programatically?
We've noticed that when a Wifi Direct group is remembered by a device that it sometimes causes problems when the devices are reconnected later. Deleting the remembered groups seems to solve this problem.
It would be nice if we could do this within…

Philio
- 3,675
- 1
- 23
- 33
9
votes
7 answers
Getting WiFi Direct IP address of my device
I am trying to get the ip address of my device but all in vain and no success. I've tried
public String getP2PIpAddr() {
WifiManager wifiManager = (WifiManager) getSystemService(WIFI_P2P_SERVICE);
WifiInfo wifiInfo =…

Talib
- 1,134
- 5
- 31
- 58
9
votes
1 answer
WifiP2pManager return BUSY state on CreateGroup
sometime when I try to create a group in WifiDirect it returns back
WifiP2pManager.BUSY
message as reason for failure. I am not sure why this happens.
But if I restart the WIFI interface it will again work. What could be the possible reason for…

Zach
- 9,989
- 19
- 70
- 107
9
votes
2 answers
WiFi-Direct communication between Mac/Windows and Android
Is it possible to let an Android (>4.0) device establish a WiFi-Direct connection with a Mac OS or Windows device?

Elias Atahi
- 179
- 2
- 4
- 16
8
votes
1 answer
Why does WifiP2pService remove my Wifi Direct group?
I have an app that runs on 2 phones and allows the user to connect from one to the other using WifiP2p (WiFi Direct). On most phones, it works. Both phones go into peer discovery, they discover each other, one initiates a connection, and the other…

LarsH
- 27,481
- 8
- 94
- 152
8
votes
0 answers
Assigning Wifi Direct Group Owner's IP address in Android
I am working on building a mesh of android devices using Wifi Direct and Wifi.
My basic scheme is as follows:
1) Each node builds a Wifi Direct Group Owner (GO) access point using the WifiP2pManager.createGroup() method. It then advertises it by…

Micah Akin
- 161
- 9
8
votes
2 answers
WiFi-Direct P2P Service Discovery with Windows 10 and Android - possible?
I'm writing a mobile app that will be a remote control for a PC application. What I want to do is couple them using WiFi Direct.
I read about the P2P Service Discovery feature, that allows me to look only straight for devices running a certain…

Kacper Kosikowski
- 143
- 1
- 9
8
votes
2 answers
connect to android devices using wifi direct without prompt
i am trying to connect two android devices using WIFI direct and i was successful. But the problem is the second device has to accept the a connection prompt after the other device initiates the connection. It is undesirable for what i am trying to…

varun
- 341
- 2
- 17
8
votes
1 answer
Android running Wifi Lan and Wifi Direct simultaneously
I'm building android app. I was wondering if it was possible for a device to maintain a connection to a a WiFi lan access point and to another device using WiFi direct at the same time? I was told that this was not possible in passing but can't find…

Marcus Karpoff
- 451
- 5
- 16
8
votes
1 answer
Do we have any plugin available for wi-fi direct in phonegap?
Do we have any plugin available for wi-fi direct in phonegap?
I want to share data using wi-fi and we can do that in native android using wi-fi direct, but when i checked for phonegap I didn't found any suitable doc's.
Is there a way I can do that…

user2386771
- 177
- 2
- 13
8
votes
2 answers
Can we connect more than 10 devices with wi-fi hot-spot in Android
I am working on project push to talk over wifi hotspot or wifi direct in real time, but I am unable to connect more than 10 devices through one hotspot as android given this limitation.
but I want to connect 40 - 50 devices, so can anyone tell me…

Ankit
- 191
- 1
- 2
- 8
8
votes
4 answers
How do i get a Peer-to-peer WiFi service discovery to work?
I'm trying to build a server-client architecture using two Android devices with a peer-to-peer WiFi connection. I've got a clear distinction between client and server, so I'm trying to prune out unnecessary code. Using directions from…

Hounshell
- 5,321
- 4
- 34
- 51
8
votes
2 answers
How to make a specific group owner in Wifi-Direct Android
I have an Wifi Direct Android Application which will run on two Phones.
When phone1 connects to phone2 , I want phone1 to act as a client and phone2 to act as a server.
I used this code:
if (info.groupFormed && info.isGroupOwner) {
//…

Hammad Shahid
- 2,216
- 5
- 32
- 60
8
votes
1 answer
wifi-direct end connection to peer on Android?
Is there any way to end the connection to a peer over Wifi-Direct?
I tried cancelConnect and removeGroup. Both of them returned Busy? thanks.

Saeid Farivar
- 1,667
- 24
- 43