Hi,
I am working on a setup where nRF5340 uses W5500 Ethernet IC and communicate MQTT over TLS. The actual setup for now is nrf5340dk + w5500 ethernet shield.
I am working with the nrf/samples/networking/mqtt sample (NCS version 2.6.0), with slight modification (added DHCP and modified one of the Kconfig settings).
I have managed to get it to work without TLS (without the overlay-tis-nrf53.conf added to the build in the attached project).
However when I add the TLS overlay file I get -123 (unknown protocol) error during mqtt_connect.
I ran a debug session and it seems to error (-123) during a call to:
client->transport.tls.sock = zsock_socket(broker->sa_family, type, IPPROTO_TLS_1_2);
in mqtt_transport_socket_tls.c (line 32).
I'm guessing something is not correctly setup in Kconfig?
I have attached the zipped project. I'd appreciate if someone can help me.
Best Regards,
Makoto