zephyr/samples/net/lwm2m_client/overlay-queue.conf
Seppo Takalo 53705c062e 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>
2024-01-26 12:00:51 -06:00

16 lines
541 B
Plaintext

CONFIG_LWM2M_QUEUE_MODE_ENABLED=y
# 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
CONFIG_LWM2M_ENGINE_DEFAULT_LIFETIME=86400
# Send update once an hour
CONFIG_LWM2M_UPDATE_PERIOD=3600