Hi,
On the latest nrfConnect SDK and zephyr, I started my application based on MQTT and AWS_FOTA samples.
The BSD socket function zsock_getaddrinfo sometimes returns a positive error code (60) which I don't understand, since error codes are negative in the defines.
Additionally, the zsock_gai_strerror function is not available at link time, so I'm wondering about the configuration and compilation process involved.
The function is present in the headers and zephyr source code, but during link the compiler throws an undefined reference error.
I have the relevant configuration switch enabled:
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_BSD_LIBRARY=y
What could be happening?
Thanks,
Julien