I am trying to implement a simple UDP client on the nrf9160 using DTLS Certificate authentication.
I understand that the modem only supports PSK. However, I am trying to implement this with using Native Sockets using the SOCK_NATIVE_TLS flag.
data->udp.sock = socket(addr->sa_family, SOCK_DGRAM| SOCK_NATIVE_TLS , IPPROTO_DTLS_1_2 );
I can get the the echo_client DTLS to work with a native_posix board to a dtls_server test application.
But with the nrf9160, something gets lost in the handshaking.
Should DTLS with certificates work using native sockets?
I have tried a nrf9160 DK board as well as a Thingy91.
I have tried nRF Connect SDK versions 1.7, 1.9.1, and 1.9.9