Hello,
I've been evaluating the NRF7002-DK with 2.3.0-rc1 SDK. Although there's almost no documentation on how to use Noridc's WiFi stack (at least I haven't found any), the samples in the SDK were great and I was able to get the scanning, connecting and DHCP working just fine.
Where I faced issues was with DNS host resolution using the getaddrinfo API - it just times out regardless the timeout value I put in configuration. I have a feeling this has to do with the configuration, but I wasn't able to figure this out. Attempting to debug the issue cause stack overflow as the library seem to be 'caught' in the middle of static initialization when VScode stops on 'main()' entry.
I would greatly appreciate any help to unblock the use of getaddrinfo() API. Thank you!
Here's what I have in the prj.conf
# WiFi stack. CONFIG_WIFI=y CONFIG_WIFI_NRF700X=y CONFIG_NET_L2_WIFI_MGMT=y # WPA Supplicant is required to establish WiFi connection. CONFIG_WPA_SUPP=y # Networking stack needed for WiFi to operate. CONFIG_NET_L2_ETHERNET=y CONFIG_NET_DHCPV4=y CONFIG_NET_IPV4=y CONFIG_NET_UDP=y CONFIG_NET_TCP=y CONFIG_NET_SOCKETS_POLL_MAX=10 CONFIG_NET_CONFIG_SETTINGS=y CONFIG_NET_SOCKETS_POSIX_NAMES=y CONFIG_DNS_RESOLVER=y CONFIG_DNS_NUM_CONCUR_QUERIES=2 CONFIG_DNS_RESOLVER_LOG_LEVEL_DBG=y CONFIG_NET_SOCKETS_DNS_TIMEOUT=30000 # SSL? CONFIG_POSIX_CLOCK=y CONFIG_ENTROPY_GENERATOR=y # Buffers. CONFIG_NET_PKT_RX_COUNT=8 CONFIG_NET_PKT_TX_COUNT=8 # Memories. CONFIG_NET_TX_STACK_SIZE=4096 CONFIG_NET_RX_STACK_SIZE=4096 CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096