Page 1 of 1

WIFI Direct support for ESP32 in esp-idf

Posted: Fri Aug 03, 2018 8:44 am
by FCT_IOT
Dear all,

I would like to know if WIFI Direct is supported in esp-idf. ESPWROOM 32D datasheet mentions WIFI Direct/ P2P is supported. However, ESP-IDF doesnt contain any resource related to WIFI Direct.

Kindly provide a link of the files related to wifi direct if available.

Thanks in advance.

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Sat Aug 04, 2018 2:04 am
by FCT_IOT
ping

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Sun Aug 05, 2018 4:23 pm
by Franco
Wi-Fi direct is Station + SoftAP together. Refer to the IDF documentation: In Wi-Fi driver API, ESP32 Wi-Fi Configuration, Wi-Fi Mode: Call esp_wifi_set_mode() to set the Wi-Fi mode: WIFI_MODE_APSTA

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Sun Aug 05, 2018 7:06 pm
by WiFive
To be compliant it would also have to support P2P information elements, P2P GO negotiation, and P2P power save modes.

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Mon Aug 06, 2018 5:38 am
by liuzhifu
@ FCT_IOT, ESP32 doesn't support WiFi Direct. The ESPNOW in ESP32 is similar with WiFi Direct, ESP32 device can directly connects to another ESP32 device with ESPNOW.

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Mon Aug 06, 2018 6:11 am
by ESP_Jack
esp-idf do not support WiFi Direct. But why the ESP32 data sheet include this, that's because WiFi Direct is a 90%(not accurate) software feature. As a chip, ESP32 can support WiFi Direct, and in fact, it support WiFi Direct in some hosted system(host system support WiFi Direct stack). WiFi Direct is different with STA+AP.To support WiFi Direct, we need to support P2P scan first, which esp-idf do not support. We also need to support P2P GO/GC negotiation, which esp-idf do not support. We also need to support WPS, both enrollee and registrar, esp-idf only support enrollee.

ESP-NOW is different with WiFi Direct. ESP-NOW provided a none WiFi connection data exchange.

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Mon Aug 06, 2018 6:13 am
by ESP_Jack
BTW, in new ESP32 data sheet, software related features are deleted.

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Mon Aug 06, 2018 6:51 am
by FCT_IOT
ESP_Jack wrote:BTW, in new ESP32 data sheet, software related features are deleted.
Thanks everyone for their inputs.

Dear @ESP_Jack,

I would like to know if there is any plan to release WIFI Direct feature in future esp-idf release. We need this feature for a project we are working on.

Thanks and Regards,

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Tue Oct 01, 2019 5:39 am
by MarWoz
Hello all,

Is there any information regarding WiFi Direct functionality?
Such functionality would be useful for our new project.
Will such functionality be implemented in the near future?

Best wishes,

Re: WIFI Direct support for ESP32 in esp-idf

Posted: Sat Jun 20, 2020 7:40 pm
by Baldhead
Hi,

I can see that this feature has been required for a long time.
I am also waiting for wifi direct support on esp32.
Espressif replies that this is a characteristic "too limited in general use for us to make it into a high priority to develop".

I disagree.
I believe that there are many applications that could benefit from this.

Probably espressif developed this application for some company with a non-release contract for this library for a long time.