Skip to content

Support for WiFi direct (P2P) (IDFGH-4715) #6522

@DavidJRobertson

Description

@DavidJRobertson

There have been mentions a few years ago that wifi direct was on the to-do list, but it is still not implemented.

This is surprising because there are very clear reasons why developers would want to use wifi direct in an IOT project. Specifically, it would greatly improve the user experience of using wifi to connect to the ESP32 device from an Android phone without the need for network infrastructure or provisioning.

Right now the alternative is to either use bluetooth (which is low-bandwidth and has licensing/certification cost issues) or to use soft AP on the ESP32, which provides poor user experience due to the requirement for the smartphone wifi connection to be manually switched, interrupting the phone's normal network connection. At least on some Android devices, it is supported to connect to a normal AP and a wifi direct group at the same time.

I note that the upstream wpa_supplicant project includes support for wifi direct/p2p so I presume this could be made to work on the ESP32.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions