Hi all. I am using the esp32s2 device. I have programed a staion with some sensors that connects to wifi and sends some data to my server.
I guess this is a typical question but i didnt find a clear answer:
How can i introduce the wifi pass and user with out declaring them in the code ? I mean, is there any way to connect my device to any wifi with out modifying the firmware?
Thanks a lot in advance for your help!
Best regards.
WIFI: Pass & User //No touching the firmware
-
- Posts: 11
- Joined: Wed Jun 23, 2021 2:22 pm
Re: WIFI: Pass & User //No touching the firmware
Hello @Nasib Fahim
have a look at the provisioning manager: https://github.com/espressif/esp-idf/tr ... i_prov_mgr
Thanks
Felix
have a look at the provisioning manager: https://github.com/espressif/esp-idf/tr ... i_prov_mgr
Thanks
Felix
-
- Posts: 11
- Joined: Wed Jun 23, 2021 2:22 pm
Re: WIFI: Pass & User //No touching the firmware
Hi felmune. Thanks for your response. Normally are IoT comertial devices use BLE to pass the credentials to the device? There is not an easier way ass a AP button in the router or something like that ? I have never use a IoT device from the market.. so i dont know the stadard used here..
Thanks..
Thanks..
Re: WIFI: Pass & User //No touching the firmware
Hello @Nasib Fahim
there are many ways to get a device connected to WiFi. As far as I understand provisioning manager supports BLE and WiFi. But I guess you are looking for something like WPS.
Check out this example https://github.com/espressif/esp-idf/tr ... s/wifi/wps
Thanks
Felix
there are many ways to get a device connected to WiFi. As far as I understand provisioning manager supports BLE and WiFi. But I guess you are looking for something like WPS.
Check out this example https://github.com/espressif/esp-idf/tr ... s/wifi/wps
Thanks
Felix
Re: WIFI: Pass & User //No touching the firmware
Also see the Espressif site discussion of this topic: Wi-Fi Provisioning. There are other options besides BLE. For example, you can use a configuration page implemented with Soft AP, or use Smartconfig.
Who is online
Users browsing this forum: Google [Bot], markkuk and 312 guests