Hi,
I inquired about the related project in NCS2.3.0 with nRF7002-DK.
Error when using date_time on wifi
There was a problem when I updated it to NCS2.4.0.
The error occurred as shown below.
The UDP error occurs at \v2.4.0\zephyr\subsys\net\lib\sntp\sntp.c
zsock_socket uses z_impl_zsock_socket.
z_impl_zsock_socket seems to need POSIX.
So I use CONFIG_NET_SOCKETS_POSIX_NAMES, but it doesn't seem to work.
Is there a bug in NCS 2.4.0 or do I need additional settings?
I am attaching the tested code.
You need to change ssid and password.
Thank you.