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:
parent
2deb3d5b0c
commit
53705c062e
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue