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
ESP32 chip supports DPP?
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: ESP32 chip supports DPP?
Hi,
Please take a look at this example in ESP-IDF.
https://github.com/espressif/esp-idf/tr ... p-enrollee
Please take a look at this example in ESP-IDF.
https://github.com/espressif/esp-idf/tr ... p-enrollee
Re: ESP32 chip supports DPP?
I will check that. Thanks
Re: ESP32 chip supports DPP?
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
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
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: ESP32 chip supports DPP?
Hi
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!
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!
Who is online
Users browsing this forum: Bing [Bot], weoiss and 96 guests