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 LWM2M_APP_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 LWM2M_APP_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 LWM2M_APP_TLS_TAG
24	int "TLS security tag"
25	default 1
26	help
27	  TLS security tag to use when connecting.
28endif
29
30config LWM2M_APP_SERVER
31	string "LwM2M server address"
32	default "coap://192.0.2.2:5683" if !LWM2M_DTLS_SUPPORT
33	default "coaps://192.0.2.2:5684" if (LWM2M_DTLS_SUPPORT && !LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP)
34	default "coaps://192.0.2.2:5784" if (LWM2M_DTLS_SUPPORT && LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP)
35	help
36	  LwM2M server address. Write as a full URI including optional port number.
37	  Only accepted protocols are "coap://" and "coaps://"
38	  When DNS resolver is enabled, DNS domain names could be used as well.
39	  When port number is missing, CONFIG_LWM2M_PEER_PORT is used instead.
40	  IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]".
41
42source "Kconfig.zephyr"
43