samples: lwm2m: Clarify DTLS settings

Clarify some documentation regarding DTLS settings.
Set default QUEUE uptime to 30s, which would be same as
most cellular networks use, and  nRF SDK use.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
This commit is contained in:
Seppo Takalo 2024-01-25 16:34:21 +02:00 committed by David Leach
parent 2deb3d5b0c
commit 53705c062e

View file

@ -1,5 +1,12 @@
CONFIG_LWM2M_QUEUE_MODE_ENABLED=y
CONFIG_LWM2M_QUEUE_MODE_UPTIME=20
# Listen for incoming CoAP messages for 30 seconds after last TX.
# This is a common NAT timeout for cellular networks.
CONFIG_LWM2M_QUEUE_MODE_UPTIME=30
# When DTLS Connection Identifier is used, we can keep socket open
# and just stop polling while in idle state (QUEUE_RX_OFF).
# If the server does not support DTLS-CID, use
CONFIG_LWM2M_RD_CLIENT_STOP_POLLING_AT_IDLE=y
# Default lifetime is 1 day