Search found 1 match
- Thu Oct 28, 2021 8:03 am
- Forum: General Discussion
- Topic: DNS lookup fails when assigning a static IP to AP
- Replies: 1
- Views: 3491
Re: DNS lookup fails when assigning a static IP to AP
Good morning, This is a late reply, but based on your code I got it to work in my ESP: esp_netif_init(); esp_netif_t *my_sta = esp_netif_create_default_wifi_sta(); esp_netif_ip_info_t ip_info = {0}; esp_netif_dns_info_t dns_info = {0}; IP4_ADDR(&ip_info.ip, 192, 168, 43, 90); IP4_ADDR(&ip_info.gw, 1...