Skip to content

Commit

Permalink
samples: lwm2m_client: Use same security tag for FOTA and DTLS
Browse files Browse the repository at this point in the history
AVSystem FOTA defaults to CoAPS so use same security tag where our
DTLS credentials are stored.

Signed-off-by: Seppo Takalo <[email protected]>
  • Loading branch information
SeppoTakalo authored and rlubos committed Apr 3, 2024
1 parent 4b577d7 commit 67f0270
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samples/cellular/lwm2m_client/overlay-avsystem-bootstrap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ CONFIG_LWM2M_SECURITY_INSTANCE_COUNT=3
# Enable TLV, AVSystem uses this as a default.
# Can be disabled once device dialect is changed from server side.
CONFIG_LWM2M_RW_OMA_TLV_SUPPORT=y

# AVSystem FOTA defaults to CoAPS so use the same security tag than where our
# DTLS credentials are stored.
CONFIG_LWM2M_CLIENT_UTILS_DOWNLOADER_SEC_TAG=35724861
4 changes: 4 additions & 0 deletions samples/cellular/lwm2m_client/overlay-avsystem.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ CONFIG_LWM2M_CLIENT_UTILS_SERVER="coaps://eu.iot.avsystem.cloud:5684"
# Enable TLV, AVSystem uses this as a default.
# Can be disabled once device dialect is changed from server side.
CONFIG_LWM2M_RW_OMA_TLV_SUPPORT=y

# AVSystem FOTA defaults to CoAPS so use the same security tag than where our
# DTLS credentials are stored.
CONFIG_LWM2M_CLIENT_UTILS_DOWNLOADER_SEC_TAG=35724861

0 comments on commit 67f0270

Please sign in to comment.