According nrfxlib - modem library - supported features, the nRF9160 firmware supports:
-
DTLS 1.2 client
-
TLS 1.2 client
My experience with the TLS client is, that it supports TLS 1.3 as well. Using
fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TLS_1_2);
seems to have no influence on the TLS version.
Is there a way to select the TLS version?