WIFI Direct support for ESP32 in esp-idf

FCT_IOT
Posts: 37
Joined: Fri Jan 26, 2018 11:15 am

WIFI Direct support for ESP32 in esp-idf

Postby FCT_IOT » Fri Aug 03, 2018 8:44 am

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.

FCT_IOT
Posts: 37
Joined: Fri Jan 26, 2018 11:15 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby FCT_IOT » Sat Aug 04, 2018 2:04 am

ping

Franco
Posts: 104
Joined: Thu Dec 10, 2015 1:11 pm

Re: WIFI Direct support for ESP32 in esp-idf

Postby Franco » Sun Aug 05, 2018 4:23 pm

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

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby WiFive » Sun Aug 05, 2018 7:06 pm

To be compliant it would also have to support P2P information elements, P2P GO negotiation, and P2P power save modes.

liuzhifu
Posts: 39
Joined: Tue Dec 13, 2016 2:18 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby liuzhifu » Mon Aug 06, 2018 5:38 am

@ 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.

ESP_Jack
Posts: 14
Joined: Wed Jan 04, 2017 9:30 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby ESP_Jack » Mon Aug 06, 2018 6:11 am

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.

ESP_Jack
Posts: 14
Joined: Wed Jan 04, 2017 9:30 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby ESP_Jack » Mon Aug 06, 2018 6:13 am

BTW, in new ESP32 data sheet, software related features are deleted.

FCT_IOT
Posts: 37
Joined: Fri Jan 26, 2018 11:15 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby FCT_IOT » Mon Aug 06, 2018 6:51 am

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,

MarWoz
Posts: 1
Joined: Tue Oct 01, 2019 5:26 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby MarWoz » Tue Oct 01, 2019 5:39 am

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,

Baldhead
Posts: 465
Joined: Sun Mar 31, 2019 5:16 am

Re: WIFI Direct support for ESP32 in esp-idf

Postby Baldhead » Sat Jun 20, 2020 7:40 pm

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.

Who is online

Users browsing this forum: No registered users and 190 guests