Chat freely about anything...
User avatar
By stern0m1
#64955 I am greatly interest in implementing wi-fi direct with the esp8266. I would like to know if people think its theoretically possible and some pointers to get me started. I imagine custom callbacks will have to be defined. Not sure if its possible... the beacons will have to include additional data...

Wi-fi direct is a specfic protocal, it is not just a softap. Please see http://www.wi-fi.org/downloads-registered-guest/Wi-Fi_Peer-to-Peer_Services_Technical_Spec_Package_v1.2.zip/29561 for the technical details.

The datasheets mentions that the esp8266 supports wifi direct but there is no documentation about how to implement. They must be mixing up what wifi direct is. I searched high and low but usually people say its not supported. Over here https://github.com/esp8266/Arduino/issues/2343 it is mentioned that with freertos it is possible.

I think this is very valuable for any application when communicating without internet.
The advantages to wifi direct are that when sending commands let say from an android to the esp over a local network without internet access the user can remain connected to some wifi network. Also some newer androids have issues with connecting to a wifi network without internet access. Also it is quicker to connect.

Looking forward to comments!

Thanks
User avatar
By yonilevy
#71814 Some time has passed, any luck with this project?
I'm looking to do exactly the same thing, from the same reasons (interfacing with an Android phone)

Thanks!
User avatar
By rudy
#71827 These guys seem to think the ESP8266 does WiFi Direct.

Image
https://www.jayconsystems.com/esp8266-w ... eiver.html
Features:
802.11 b/g/n
Wi-Fi Direct (P2P), soft-AP


Maybe ask them.

Or these guys.

Image

https://www.dfrobot.com/product-1279.html

SPECIFICATION
Wi-Fi Direct (P2P),soft-AP
Built-in TCP/IP protocol stack
Built-in low-power 32-bit CPU: can work as an application processor
Support WPA WPA2/WPA2-PSK encryption
Support UART interface
Support for TTL serial port to wireless application
Working voltage: 3.3V power <240Ma
Wireless standard: IEEE802.11b/g/n
Frequency: 2.4 GHz


I seem to remember that there were websites that said the ESP8266 also had Bluetooth. But it's the Internet. Where accuracy is optional.