TLS 2K packet limitation

I would like to know more about the TLS 2K packet limitation in the nRF Connect SDK.

Is there a way to not be constrained by this limitation. I've seen some posts about Zephyr Native TLS. It seems it is an option for the Serial LTE Modem (SLM) application.

Is it possible to enable this in a custom nRF9160 application? Are there any downsides in doing so? Would I still be able to use other nRF SDK Connect libraries/feature like the FOTA library and REST client? Or would that need to be rewritten or modified?

  • Hello,

    Is there a way to not be constrained by this limitation.

    Yes. You need to use Mbed TLS stack. The modem lib can't handle anything above 2k.

    Is it possible to enable this in a custom nRF9160 application?

    I believe  that should be possible yes.

    Are there any downsides in doing so?

    Probably. You should read the documentation. I believe there are certain features like TLS session resumption that are not supported with Mbed TLS.

    Would I still be able to use other nRF SDK Connect libraries/feature like the FOTA library and REST client?

    FOTA should be possible. I'm not sure about REST client, but I don't see why that would not work.

Related