This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to configure DTLS and CoAP idle timeout in nRF9160?

Hi,

We have a working LwM2M device based on nRF9160 and NRF Connect SDK 1.1. When we run with a short register-update period (30 seconds) on a NB-IoT network it works. When we increase the register-update period to 5 minutes it times out every time and the L2M2M client reconnects the DTLS session and LwM2M session. This is not acceptable.

I guess there is an idle timeout on lower level, e.g. CoAP or DTLS!? I have offloaded the IP stack incl DTLS to the modem. How can I configure the DTLS idle timeout (if any)? How can I configure the CoAP idel timeout (if any)?

BR / Björn

Parents Reply
  • Hi.

    First of all, I am sincerely sorry for the long wait (again).

    As the modem is delivered as a compiled application, only runtime configuration is possible. FOr the LTE stack, this is done through AT commands, while for the IP stack it is done through socket options. You are therefore limited to the socket options that can be set through bsdlib.

    When it comes to the application level protocols, those run on the application core and can be configured by Kconfig or replaced/rewritten partially or fully.

Children
Related