1# Private config options for LwM2M client sample 2 3# Copyright (c) 2023 NordicNordic Semiconductor ASA 4# SPDX-License-Identifier: Apache-2.0 5 6mainmenu "LwM2M Client sample" 7 8config NET_SAMPLE_LWM2M_ID 9 string "LwM2M Client identity" 10 default "" 11 help 12 This is used as client endpoint name as well as PSK ID. 13 Leave empty for using CONFIG_BOARD 14 15if LWM2M_DTLS_SUPPORT 16config NET_SAMPLE_LWM2M_PSK 17 string "PSK key" 18 default "000102030405060708090a0b0c0d0e0f" 19 help 20 PSK key as a hex string. 21 Maximum binary size is CONFIG_LWM2M_SECURITY_KEY_SIZE. 22 23config NET_SAMPLE_LWM2M_TLS_TAG 24 int "TLS security tag" 25 default 1 26 help 27 TLS security tag to use when connecting. 28endif 29 30config NET_SAMPLE_MIGHT_HAVE_INTERNET 31 bool 32 default y if (WIFI || MODEM) 33 34config NET_SAMPLE_LWM2M_SERVER 35 string "LwM2M server address" 36 default "coap://leshan.eclipseprojects.io:5683" if (NET_SAMPLE_MIGHT_HAVE_INTERNET && !LWM2M_DTLS_SUPPORT) 37 default "coaps://leshan.eclipseprojects.io:5684" if (NET_SAMPLE_MIGHT_HAVE_INTERNET && LWM2M_DTLS_SUPPORT) 38 default "coap://192.0.2.2:5683" if !LWM2M_DTLS_SUPPORT 39 default "coaps://192.0.2.2:5684" if (LWM2M_DTLS_SUPPORT && !LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP) 40 default "coaps://192.0.2.2:5784" if (LWM2M_DTLS_SUPPORT && LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP) 41 help 42 LwM2M server address. Write as a full URI including optional port number. 43 Only accepted protocols are "coap://" and "coaps://" 44 When DNS resolver is enabled, DNS domain names could be used as well. 45 When port number is missing, CONFIG_LWM2M_PEER_PORT is used instead. 46 IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]". 47 48config NET_SAMPLE_LWM2M_WAIT_DNS 49 bool "Wait DNS server addition before considering connection to be up" 50 depends on MODEM_HL7800 && !DNS_SERVER_IP_ADDRESSES 51 help 52 Make sure we get DNS server addresses from the network 53 before considering the connection to be up. 54 55source "Kconfig.zephyr" 56