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 );