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
7
votes
3 answers
Can I change the group owner in a persistent group in Wi-Fi Direct?
When creating a group via Wi-Fi Direct, I know that I can make a persistent group.
My question is: can I create a persistent group, but each time change the group owner (i.e; each turn the group owner will be one of the devices in the group).
Also,…

userInThisWorld
- 1,361
- 4
- 18
- 35
7
votes
3 answers
Android Wi-Fi Direct: onPeersAvailable
I'm developping a simple application based on WiFi Direct for Android that has to connect two devices. To do so I need to call to the función onPeersAvailable(myPeerListListener), but I don't know how.
My app has this two elements:
1-Main…

Ignacio Alorre
- 7,307
- 8
- 57
- 94
7
votes
1 answer
Is multicasting possible with Wi-Fi Direct?
I'm a bit confused about the new Wi-Fi Direct feature in Android ICS. Is it possible to create a P2P group with multiple devices, and send multicast packets from a source peer to the other peers?
Unfortunately, I don't have any devices that are…

Zsombor Erdődy-Nagy
- 16,864
- 16
- 76
- 101
6
votes
1 answer
Implementing Wi-Fi Direct for ESP32
First, I'm referring to the Wi-Fi P2P standard as described here, and specified here. I'm not referring to the method of creating an AP and station pair.
Second, if an implementation of Wi-Fi Direct for the ESP32 already exists, please share. I've…

Ababwa
- 131
- 1
- 8
6
votes
0 answers
Android P2P direct connection for multiple devices. Peer as GroupOwner and client at the same time
I want to create a chat application (without internet connection) for Android-based on P2P communication via WI-FI (or Bluetooth) between 3 or more devices. I would like every device to have a direct connection to all devices. I know that android…

qba7
- 61
- 3
6
votes
3 answers
How To Send & Receive Data Over Wifi Without Internet In React-Native
I am developing a game on React-Native that works completely offline without needing internet connection,
The game will be multiplayer 1vs1 game, and players will join via Wifi Hotspot (also known as wifi Direct)
The game will also allow users to…

Kashan Haider
- 1,036
- 1
- 13
- 23
6
votes
0 answers
Add Suffix to name of WiFi Direct Group name. (similar to what PDANet does)
I am trying to create a WiFi Direct Group with a custom name. But after exploring all the options I came to know that we cannot change the name and Android OS decide itself about the name of WiFi Direct Group
I even tried Reflection to achieve the…

Rahul Sharma
- 2,867
- 2
- 27
- 40
6
votes
3 answers
Android O issues with WiFi Peer Discovery
I am developing an Android Application that employs WiFi (Direct) for service discovery and P2P peer discovery/connection.
My development enviromment is as follows:-
Android Studio 3.0 Beta 4
Build #AI-171.4304935, built on August 29, 2017
JRE:…

Hector
- 4,016
- 21
- 112
- 211
6
votes
1 answer
Connect Raspberry with Android through Wifi Direct (p2p) services
I'm trying to connect an android app with a raspberry using OS jessie 8.
I can connect manually if only one android device is available near the raspberry. But if there is more than one android device available I can't identify which device the…

foretama
- 81
- 5
6
votes
2 answers
Discover WiFi Direct Services - Windows <=> Android
Long story short
I am trying to discover (Android) devices from a Windows 10 computer, using WiFi Direct Services - but it seems to me that Windows and Android do not agree on the standard here.
When I write Wifi Direct Services or Wifi Direct…

Jørn Christensen
- 78
- 1
- 5
6
votes
1 answer
Intent to open Wi-Fi Direct settings
To open the WI-FI settings the code is:
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
To open the WI-FI Direct settings the code is ?

seba123neo
- 4,688
- 10
- 35
- 53
6
votes
1 answer
Does an equivalent of Wi-Fi Direct/Wi-Fi P2P exist for Phonegap/Cordova?
I'm building an Android application to allow communication between two devices in a limited range but I can't find an equivalent plugin to the native Android Wi-Fi peer-to-peer for Phonegap/Cordova.
Any suggestion ? May another service (such as the…

tcollart
- 1,032
- 2
- 17
- 29
6
votes
1 answer
What is different of NSD and WifiP2pManager?
There are several choice for making a WiFi program in android, most common methods are using NSD and WifiP2pManager.
What is different between these 2 choice?

hamedata
- 125
- 1
- 12
6
votes
4 answers
Why is discovering peers for Android Wi-Fi Direct so unreliable?
I am experimenting with Android's Wi-Fi Direct (or P2P if you prefer). I thought it was working very nicely between my two phones, but I realized I am encountering issues with the WifiP2pManager.discoverPeers() and/or WifiP2pManager.requestPeers().…

Mark Herscher
- 1,761
- 2
- 19
- 32
6
votes
1 answer
Android rename device's name for wifi-direct
I am trying to connect two devices using Wifi Direct, but i want to implement programmatically not by user initiated.
And for that i have to change Device's WifiDirect's name like below picture :
Now discover peers using following methods :…

exception
- 321
- 2
- 4
- 10