ESP32 chip supports DPP?

norman
Posts: 4
Joined: Mon Feb 15, 2021 1:53 pm

ESP32 chip supports DPP?

Postby norman » Mon Feb 15, 2021 2:03 pm

ESP32 chip supports DPP? ( https://www.wi-fi.org/discover-wi-fi/wi-fi-easy-connect )
I want to setup wifi on a headless device (iot project) using dpp, from android app.
Any info /pointers would be helpful.
(I know there are other ways to setup, but all of them involves user entering ssid/password.
Because Android won't allow an app to read the wifi password )

Thanks

ESP_Minatel
Posts: 361
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32 chip supports DPP?

Postby ESP_Minatel » Mon Feb 15, 2021 6:33 pm

Hi,

Please take a look at this example in ESP-IDF.

https://github.com/espressif/esp-idf/tr ... p-enrollee

norman
Posts: 4
Joined: Mon Feb 15, 2021 1:53 pm

Re: ESP32 chip supports DPP?

Postby norman » Tue Feb 16, 2021 2:57 pm

I will check that. Thanks

norman
Posts: 4
Joined: Mon Feb 15, 2021 1:53 pm

Re: ESP32 chip supports DPP?

Postby norman » Mon Mar 08, 2021 3:46 pm

Hi,
I tried this example and it is working. But I have a couple of questions.

In the dpp_enrollee_main.c there is this define:

#ifdef CONFIG_ESP_DPP_BOOTSTRAPPING_KEY
#define EXAMPLE_DPP_BOOTSTRAPPING_KEY CONFIG_ESP_DPP_BOOTSTRAPPING_KEY
#else

How do I use this? If I set any value for EXAMPLE_DPP_BOOTSTRAPPING_KEY uri becomes null.

Btw, the device is headless; no way to display the generated qr code. I need the DPP: uri to init android app.
Is there a way i can generate known k: field in dpp uri?

Thanks

ESP_Minatel
Posts: 361
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32 chip supports DPP?

Postby ESP_Minatel » Wed Mar 10, 2021 4:53 pm

Hi
norman wrote:
Mon Mar 08, 2021 3:46 pm
#ifdef CONFIG_ESP_DPP_BOOTSTRAPPING_KEY
#define EXAMPLE_DPP_BOOTSTRAPPING_KEY CONFIG_ESP_DPP_BOOTSTRAPPING_KEY
#else

How do I use this? If I set any value for EXAMPLE_DPP_BOOTSTRAPPING_KEY uri becomes null.
See the help information in the configuration menu:

Name: ESP_DPP_BOOTSTRAPPING_KEY
Prompt: Bootstrapping key
Type: string
Value: ""

Help:

Private key string for DPP Bootstrapping in PEM format.


This could help you!

norman
Posts: 4
Joined: Mon Feb 15, 2021 1:53 pm

Re: ESP32 chip supports DPP?

Postby norman » Thu Mar 11, 2021 4:44 pm

Thanks

Who is online

Users browsing this forum: No registered users and 168 guests