Page 1 of 1

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

Posted: Tue Mar 10, 2020 8:34 am
by bwywb00
: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 3229 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 3229 times
How can I handler this situation? I need your help guys.
Thanks a lot :D

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

Posted: Wed Mar 11, 2020 1:35 pm
by ESP_Piyush
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