`example/provisioning/manager`, no Internet connection error

bwywb00
Posts: 3
Joined: Wed Feb 19, 2020 12:31 pm

`example/provisioning/manager`, no Internet connection error

Postby bwywb00 » Tue Mar 10, 2020 8:34 am

:D Hi, guys.

I'm trying to test wifi-provisioning with esp-idf/example/provisioning/manager project.
Esp-idf versions are [v4.0, release/v4.0, release/v4.1].

What I changed in this source code is

Code: Select all


    //app_main.c
    
    ...
	
    wifi_prov_mgr_config_t config = {

        .scheme = wifi_prov_scheme_softap,

        .scheme_event_handler = WIFI_PROV_EVENT_HANDLER_NONE
        
    };
    
    ...
When I upload the code, the warning 'Error adding mDNS service!' came up.
Screen Shot 2020-03-10 at 5.17.53 PM.png
Screen Shot 2020-03-10 at 5.17.53 PM.png (84.7 KiB) Viewed 3220 times
Also, when I try to connet esp32, 'No Internet connection' message appear in iPhone and mac.
Screen Shot 2020-03-10 at 5.10.57 PM.png
Screen Shot 2020-03-10 at 5.10.57 PM.png (159.49 KiB) Viewed 3220 times
How can I handler this situation? I need your help guys.
Thanks a lot :D

ESP_Piyush
Posts: 268
Joined: Wed Feb 20, 2019 7:02 am

Re: `example/provisioning/manager`, no Internet connection error

Postby ESP_Piyush » Wed Mar 11, 2020 1:35 pm

Hello,

The mDNS warning is expected and can be ignored. If you explicitly start mDNS, appropriate Wi-Fi provisioning mDNS service will be announced. This is for future enhancements in the phone apps, for a smoother provisioning flow.

The "No Internet Connection" message is also expected since your phone/laptop connects to the SoftAP interface of the ESP32 and disconnects from your home router. You can just continue with the provisioning workflow and at the end of it, your phone/laptop as well as the ESP32 will be connected to the Internet via your router.

Regards,
Piyush

Who is online

Users browsing this forum: Google [Bot] and 93 guests