This configuration specifies the session idle (inactivity) timeout.
Upon timeout two things can happen:
- If a secure session is used, the LwM2M carrier library closes the DTLS session. A new DTLS session will be created on the next activity (for example, lifetime trigger). This does not apply when the DTLS session is using Connection ID.
- If a non-default PDP context (CID different than 0) is used, and there is no activity scheduled within 15 minutes, the PDP context is released.
- Leaving this configuration empty (0) sets it to a default of 60 seconds.
- Setting this configuration to -1 disables the session idle timeout.
- Note
- using
lwm2m_carrier.c
this option can be set in kconfig by setting CONFIG_LWM2M_CARRIER_SESSION_IDLE_TIMEOUT.