I have build the mqtt_publisher sample application for the stm32f746g_disco and it works fine.
I have build the dhcpv4_client sample application for the stm32f746g_disco and it works fine.
When I want to combine both, mqtts and dhcpv4, the dhcpv4 is always timing out.
I have tried step by step.
Using dhcpv4_client sample:
add to prj.conf
# Enable Sockets support
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
Then the application is no longer compiling:
zephyr/subsys/net/lib/sockets/sockets_tls.c:1735:45: error: 'struct tls_context' has no member named 'ssl'
Does sock_opt_tls is depending on mbedtls? In the guiconfig there is no dependency mentioned between CONFIG_NET_SOCKETS_SOCKOPT_TLS and CONFIG_MBEDTLS.