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 "coaps://192.0.2.2:5684" if LWM2M_DTLS_SUPPORT
33	default "coap://192.0.2.2:5683" if !LWM2M_DTLS_SUPPORT
34	help
35	  LwM2M server address. Write as a full URI including optional port number.
36	  Only accepted protocols are "coap://" and "coaps://"
37	  When DNS resolver is enabled, DNS domain names could be used as well.
38	  When port number is missing, CONFIG_LWM2M_PEER_PORT is used instead.
39	  IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]".
40
41source "Kconfig.zephyr"
42