Search found 3 matches
- Wed Jan 27, 2021 10:50 am
- Forum: ESP-ADF
- Topic: ESP-ADF: Connecting to WiFi but not acquiring IP via DHCP
- Replies: 8
- Views: 94591
Re: ESP-ADF: Connecting to WiFi but not acquiring IP via DHCP
Thanks @douardda much appreciated
- Mon Dec 21, 2020 3:16 am
- Forum: ESP-ADF
- Topic: ESP-ADF: Connecting to WiFi but not acquiring IP via DHCP
- Replies: 8
- Views: 94591
Re: ESP-ADF: Connecting to WiFi but not acquiring IP via DHCP
Thanks @zaphodb,
following your solution below lead me to this bit of code in app_main
----- snip ------
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 1, 0))
ESP_ERROR_CHECK(esp_netif_init());
#else
tcpip_adapter_init();
#endif
----- snip ------
Commenting out the conditional compilation ...
following your solution below lead me to this bit of code in app_main
----- snip ------
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 1, 0))
ESP_ERROR_CHECK(esp_netif_init());
#else
tcpip_adapter_init();
#endif
----- snip ------
Commenting out the conditional compilation ...
- Wed Dec 16, 2020 12:26 pm
- Forum: ESP-ADF
- Topic: ESP-ADF: Connecting to WiFi but not acquiring IP via DHCP
- Replies: 8
- Views: 94591
Re: ESP-ADF: Connecting to WiFi but not acquiring IP via DHCP
Thanks for posting this query @zaphodb
I have exactly the same experience with two examples from the adf example set "play_http_select_decoder" and "play_http_mp3".
My output is identical to yours. After some investigation it seems that execution halts in function "periph_wifi_wait_for_connected ...
I have exactly the same experience with two examples from the adf example set "play_http_select_decoder" and "play_http_mp3".
My output is identical to yours. After some investigation it seems that execution halts in function "periph_wifi_wait_for_connected ...