1# Copyright (c) 2017 Linaro Limited
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig LWM2M
5	bool "OMA LwM2M protocol stack"
6	select COAP
7	select HTTP_PARSER_URL
8	select NET_SOCKETS
9	help
10	  This option adds logic for managing OMA LwM2M data
11
12if LWM2M
13
14module = LWM2M
15module-dep = LOG
16module-str = Log level for LwM2M library
17source "subsys/net/Kconfig.template.log_config.net"
18
19menu "Protocol versions"
20
21choice
22	prompt "LwM2M protocol version"
23	default LWM2M_VERSION_1_0
24	help
25	  Select which version of the LwM2M protocol is used
26
27config LWM2M_VERSION_1_0
28	bool "LwM2M version 1.0"
29	imply LWM2M_RW_OMA_TLV_SUPPORT
30
31config LWM2M_VERSION_1_1
32	bool "LwM2M version 1.1"
33	imply LWM2M_RW_CBOR_SUPPORT
34	imply ZCBOR
35
36endchoice # "LwM2M protocol version"
37
38choice
39	prompt "LwM2M Security object version"
40	default LWM2M_SECURITY_OBJECT_VERSION_1_0 if LWM2M_VERSION_1_0
41	default LWM2M_SECURITY_OBJECT_VERSION_1_1 if LWM2M_VERSION_1_1
42	help
43	  Select which version of the security object should be used.
44
45config LWM2M_SECURITY_OBJECT_VERSION_1_0
46	bool "Security object version 1.0"
47
48config LWM2M_SECURITY_OBJECT_VERSION_1_1
49	bool "Security object version 1.1"
50
51endchoice # "LwM2M Security object version"
52
53choice
54	prompt "LwM2M Server object version"
55	default LWM2M_SERVER_OBJECT_VERSION_1_0 if LWM2M_VERSION_1_0
56	default LWM2M_SERVER_OBJECT_VERSION_1_1 if LWM2M_VERSION_1_1
57	help
58	  Select which version of the Server object should be used.
59
60config LWM2M_SERVER_OBJECT_VERSION_1_0
61	bool "Server object version 1.0"
62
63config LWM2M_SERVER_OBJECT_VERSION_1_1
64	bool "Server object version 1.1"
65
66endchoice # "LwM2M Server object version"
67
68endmenu # "Protocol versions"
69
70menu "Engine features"
71
72config LWM2M_DTLS_SUPPORT
73	bool "DTLS support in the LwM2M client"
74
75
76config LWM2M_DNS_SUPPORT
77	bool "DNS support in the LwM2M client"
78	default y if DNS_RESOLVER
79
80config LWM2M_COAP_BLOCK_TRANSFER
81	bool "CoAP block transfer support for big outgoing LwM2M messages [EXPERIMENTAL]"
82	select EXPERIMENTAL
83	help
84	  LwM2M messages with a big body that exceed the block size will be split
85	  into blocks for sending.
86	  To append CoAP ETag option into outgoing block transfers, CONFIG_SYS_HASH_FUNC32 should
87	  be enabled.
88
89config LWM2M_CANCEL_OBSERVE_BY_PATH
90	bool "Use path matching as fallback for cancel-observe"
91	help
92	  Some ambiguous language in the LwM2M spec causes some LwM2M server
93	  implementations to implement cancel-observe by specifying the resource
94	  path rather than the token of the original observe request. Without
95	  this option, cancel-observe may not work properly when connecting to
96	  those servers.
97
98config LWM2M_QUEUE_MODE_ENABLED
99	bool "Queue Mode UDP binding"
100	help
101	  Set the transport binding to UDP with Queue Mode (UQ).
102
103config LWM2M_QUEUE_MODE_UPTIME
104	int "Specify time the LwM2M client should stay online in queue mode." if LWM2M_QUEUE_MODE_ENABLED
105	default 93
106	help
107	  This config specifies time (in seconds) the device should stay online
108	  after sending a message to the server. Note, that LwM2M specification
109	  recommends this to be CoAP MAX_TRANSMIT_WAIT parameter (which
110	  defaults to 93 seconds, see RFC 7252), it does not forbid other
111	  values though.
112
113config LWM2M_TLS_SESSION_CACHING
114	bool "TLS session caching"
115	help
116	  Enabling this only when feature is supported in TLS library.
117
118config LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP
119	bool "Bootstrap support"
120	help
121	  Enabling this setting allows the RD client to support bootstrap mode.
122
123choice
124prompt "Socket handling at idle state"
125
126config LWM2M_RD_CLIENT_CLOSE_SOCKET_AT_IDLE
127	bool "Close socket when entering RX idle"
128
129config LWM2M_RD_CLIENT_SUSPEND_SOCKET_AT_IDLE
130	bool "Stop polling on RX idle and close only when resuming"
131
132config  LWM2M_RD_CLIENT_STOP_POLLING_AT_IDLE
133	bool "Stop polling the socket on RX idle"
134
135config  LWM2M_RD_CLIENT_LISTEN_AT_IDLE
136	bool "Keep open and listening"
137
138endchoice
139
140choice
141	prompt "LwM2M Engine operation mode"
142	default LWM2M_TICKLESS if NET_SOCKETPAIR
143	default LWM2M_INTERVAL if !NET_SOCKETPAIR
144
145config LWM2M_TICKLESS
146	bool "Tickless operation mode"
147	depends on NET_SOCKETPAIR
148
149config LWM2M_INTERVAL
150	bool "Interval based polling mode"
151
152endchoice
153
154config LWM2M_SERVER_DEFAULT_SSID
155	int "Default server ssid when using the lwm2m-client. (used for access control)"
156	default 101
157	help
158	  When bootstrap is not enabled, access control needs a default owner.
159
160config LWM2M_PEER_PORT
161	int "LWM2M server port"
162	default 5683
163	help
164	  This is the default server port to connect to for LwM2M communication.
165
166config LWM2M_FIRMWARE_PORT_NONSECURE
167	int "LWM2M firmware server port non-secure"
168	default 5683
169	help
170	  This is the default server port to connect to for LwM2M firmware downloads over coap.
171
172config LWM2M_FIRMWARE_PORT_SECURE
173	int "LWM2M firmware server port secure"
174	default 5684
175	help
176	  This is the default server port to connect to for LwM2M firmware downloads over coaps.
177
178config LWM2M_SERVER_DEFAULT_PMIN
179	int "Default server record PMIN"
180	default 0
181	help
182	  Default minimum amount of time in seconds the client must wait
183	  between notifications.  If a resource has to be notified during this
184	  minimum time period, the notification must be sent after the time
185	  period expires.
186
187config LWM2M_SERVER_DEFAULT_PMAX
188	int "Default server record PMAX"
189	default 0
190	help
191	  Default maximum amount of time in seconds the client may wait
192	  between notifications.  When this time period expires a notification
193	  must be sent.
194
195config LWM2M_RD_CLIENT_MAX_RETRIES
196	int "Specify maximum number of registration retries"
197	default 5
198	help
199	  Specify maximum number of registration retries, before the application
200	  is notified about the network failure. Once application is notified,
201	  it's up to the application to handle this situation in a way
202	  appropriate for the specific use-case (for instance by waiting for
203	  LTE link to be re-established).
204
205config LWM2M_RESOURCE_DATA_CACHE_SUPPORT
206	bool "Resource Time series data cache support"
207	depends on (LWM2M_RW_SENML_JSON_SUPPORT || LWM2M_RW_SENML_CBOR_SUPPORT)
208	depends on (POSIX_CLOCK && RING_BUFFER)
209	help
210	  Enable time series data storage.
211	  Requires time() to provide current Unix timestamp.
212
213if LWM2M_RESOURCE_DATA_CACHE_SUPPORT
214config LWM2M_MAX_CACHED_RESOURCES
215	int "Maximum # of cached resources"
216	default 4
217	help
218	  This settings define how many different resources may have cache enabled.
219	  This affects static memory usage of engine.
220choice
221	prompt "Cache full policy"
222	default LWM2M_CACHE_DROP_OLDEST
223
224config LWM2M_CACHE_DROP_LATEST
225	bool "Drop new data when cache is full"
226
227config LWM2M_CACHE_DROP_OLDEST
228	bool "Drop oldest data when cache is full"
229
230endchoice
231
232endif # LWM2M_RESOURCE_DATA_CACHE_SUPPORT
233
234endmenu # "Engine features"
235
236menu "Memory and buffer size configuration"
237
238config LWM2M_ENGINE_STACK_SIZE
239	int "LWM2M engine stack size"
240	default 2560 if NET_LOG
241	default 2048
242	help
243	  Set the stack size for the LwM2M library engine (used for handling
244	  OBSERVE and NOTIFY events)
245
246config LWM2M_ENGINE_MAX_MESSAGES
247	int "LWM2M engine max. message object"
248	default 10
249	help
250	  Set the maximum message objects for the LwM2M library client
251
252config LWM2M_COAP_BLOCK_SIZE
253	int "LWM2M CoAP block-wise transfer size"
254	default 256
255	range 64 1024
256	help
257	  CoAP block size used by LwM2M when performing block-wise
258	  transfers. Possible values: 64, 128, 256, 512 and 1024.
259
260config LWM2M_ENGINE_MESSAGE_HEADER_SIZE
261	int "Room for CoAP header data"
262	default 48
263	range 24 128
264	help
265	  Extra room allocated to handle CoAP header data
266
267config LWM2M_COAP_MAX_MSG_SIZE
268	int "LWM2M CoAP maximum message size"
269	default LWM2M_COAP_BLOCK_SIZE
270	help
271	  CoAP message size used by LWM2M. Minimum is the block size used
272	  in blockwise transfers.
273
274config LWM2M_ENGINE_VALIDATION_BUFFER_SIZE
275	int "Size of the validation buffer for the incoming data"
276	default 64
277	help
278	  LwM2M will use the validation buffer during the write operation, to
279	  decode the resource value before validating it (applies for resources
280	  for which validation callback has been registered). Set this value to
281	  the maximum expected size of the resources that need to be validated
282	  (and thus have validation callback registered).
283	  Setting the validation buffer size to 0 disables validation support.
284
285config LWM2M_ENGINE_MAX_PENDING
286	int "LWM2M engine max. pending objects"
287	default 5
288	help
289	  Set the maximum pending objects for the LwM2M library client
290
291config LWM2M_ENGINE_MAX_REPLIES
292	int "LWM2M engine max. reply objects"
293	default 5
294	help
295	  Set the maximum reply objects for the LwM2M library client
296
297config LWM2M_ENGINE_MAX_OBSERVER
298	int "Maximum # of observable LwM2M resources"
299	default 10
300	range 5 200
301	help
302	  This value sets the maximum number of resources which can be
303	  added to the observe notification list.
304
305config LWM2M_RD_CLIENT_ENDPOINT_NAME_MAX_LENGTH
306	int "Maximum length of client endpoint name"
307	default 33
308	help
309	  Default: room for 32 hexadecimal digits (UUID) + NULL
310
311config LWM2M_SECURITY_KEY_SIZE
312	int "Buffer size of the security key resources"
313	default 16
314	help
315	  This setting establishes the size of the key (pre-shared / public)
316	  resources in the security object instances.
317
318config LWM2M_SECURITY_DTLS_TLS_CIPHERSUITE_MAX
319	int "Maximum # of DTLS/TLS ciphersuite resource instances"
320	default 5
321	range 0 20
322	depends on LWM2M_SECURITY_OBJECT_VERSION_1_1
323	help
324	  This setting sets the maximum number of the resource instances of
325	  a security object defined in LwM2M version 1.1. Affects the resource
326	  0/X/16, where X is the object instance number.
327
328config LWM2M_SECURITY_INSTANCE_COUNT
329	int "Maximum # of LwM2M Security object instances"
330	default 2 if LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP
331	default 1
332	range 1 10
333	help
334	  This setting establishes the total count of LwM2M Security instances
335	  available to the client.
336
337config LWM2M_SERVER_INSTANCE_COUNT
338	int "Maximum # of LwM2M Server object instances"
339	default 2 if LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP
340	default 1
341	range 1 10
342	help
343	  This setting establishes the total count of LwM2M Server instances
344	  available to the client (including: bootstrap and regular servers).
345
346if LWM2M_COAP_BLOCK_TRANSFER
347config LWM2M_COAP_ENCODE_BUFFER_SIZE
348	int "LwM2M CoAP buffer size for encoding the full message for block-wise transfer"
349	default 1024
350	help
351	  Size of buffers for serializing big LwM2M CoAP messages that need to be
352	  split into blocks for sending.
353
354config LWM2M_NUM_OUTPUT_BLOCK_CONTEXT
355	int "Maximum # of LwM2M block contexts used for outgoing messages"
356	default 3
357	help
358	  Maximum number of CoAP block contexts needed to split messages into blocks for
359	  sending. This limits the numer of messages that need block transfer that can be
360	  handled at the same time.
361
362config LWM2M_LOG_ENCODE_BUFFER_ALLOCATIONS
363	bool "Log allocations of encode buffers for block wise transfer"
364	select MEM_SLAB_TRACE_MAX_UTILIZATION
365	help
366	  The allocation of encode buffers can be tracked to analyse the usage and
367	  to optimize the configuration of number of block contexts and indirectly
368	  the number of available encode buffers.
369endif # LWM2M_COAP_BLOCK_TRANSFER
370
371config LWM2M_NUM_BLOCK1_CONTEXT
372	int "Maximum # of LwM2M block1 contexts"
373	default 3
374	help
375	  This value sets up the maximum number of block1 contexts for
376	  CoAP block-wise transfer we can handle at the same time.
377
378config LWM2M_SWMGMT_PACKAGE_URI_LEN
379	int "Maximum size of the software management object's download URI string"
380	default 128
381
382config LWM2M_COMPOSITE_PATH_LIST_SIZE
383	int "Maximum # of composite read and send operation URL path"
384	default 6
385	help
386	  Define path list size for Composite Read and send operation.
387
388config LWM2M_DEVICE_PWRSRC_MAX
389	int "Maximum # of device power source records"
390	default 5
391	range 1 20
392	help
393	  This value sets the maximum number of power source data that a device
394	  can store.  These are displayed via the "Device" object /3/0/6,
395	  /3/0/7 and /3/0/8 resources.
396
397config LWM2M_DEVICE_ERROR_CODE_MAX
398	int "Maximum # of device obj error codes to store"
399	default 10
400	range 1 20
401	help
402	  This value sets the maximum number of error codes that the device
403	  object will store before ignoring new values.
404
405config LWM2M_DEVICE_EXT_DEV_INFO_MAX
406	int "Maximum # of device obj external device info to store"
407	default 5
408	range 1 20
409	help
410	  This value sets the maximum number of external device info that the
411	  device object will store before ignoring new values.
412
413config LWM2M_NUM_ATTR
414	int "Maximum # of LwM2M attributes"
415	default 20
416	help
417	  This value sets up the maximum number of LwM2M attributes that
418	  we can handle at the same time.
419
420endmenu # "Memory and buffer size configuration"
421
422menu "Content format supports"
423config LWM2M_RW_OMA_TLV_SUPPORT
424	bool "TLV data format"
425	help
426	  Include support for write / parse TLV data
427
428config LWM2M_RW_JSON_SUPPORT
429	bool "support for JSON writer"
430	depends on JSON_LIBRARY
431	help
432	  Include support for writing JSON data
433
434
435config LWM2M_RW_SENML_JSON_SUPPORT
436	bool "SENML JSON data format"
437	depends on BASE64
438	depends on JSON_LIBRARY
439	help
440	  Include support for write / parse SENML JSON data
441
442config LWM2M_RW_CBOR_SUPPORT
443	bool "support for CBOR writer"
444	depends on ZCBOR
445	help
446	  Include support for writing CBOR data
447
448config LWM2M_RW_SENML_CBOR_SUPPORT
449	bool "support for SenML CBOR writer"
450	depends on ZCBOR
451	depends on ZCBOR_CANONICAL
452	help
453	  Include support for writing SenML CBOR data
454
455config LWM2M_RW_SENML_CBOR_RECORDS
456	int "Maximum # of SenML records packed into a CBOR binary"
457	depends on LWM2M_RW_SENML_CBOR_SUPPORT
458	default 30
459	help
460	  The CBOR library requires you to set an upper limit for the records when encoder
461	  and decoder do get generated.
462
463endmenu # "Content format supports"
464
465config LWM2M_ENGINE_DEFAULT_LIFETIME
466	int "LWM2M engine default server connection lifetime"
467	default 30
468	range 15 4294967295
469	help
470	  Set the default lifetime (in seconds) for the LwM2M library engine.
471	  This is also a minimum lifetime that client accepts. If server sets lifetime
472	  less than this value, client automatically raises it.
473
474config LWM2M_SECONDS_TO_UPDATE_EARLY
475	int "LWM2M Registration Update transmission time before timeout"
476	default 6
477	range 1 4294967295
478	help
479	  Time in seconds before the registration timeout, when the LWM2M
480	  Registration Update is sent by the engine. In networks with large
481	  round trip times (like NB-IoT), it might be needed to set this value
482	  higher, in order to allow the response to arrive before timeout.
483
484config LWM2M_SHELL
485	bool "LwM2M shell utilities"
486	select SHELL
487	help
488	  Activate shell module that provides LwM2M commands like
489	  send to the console.
490
491config LWM2M_ACCESS_CONTROL_ENABLE
492	bool "Access control support (ID 2)"
493	help
494	  Enabling this setting registers the access control object.
495
496config LWM2M_ACCESS_CONTROL_INSTANCE_COUNT
497	int "Maximum # of LwM2M Access Control object instances" if LWM2M_ACCESS_CONTROL_ENABLE
498	default 50
499	help
500	  This setting establishes the total count of LwM2M Access Control instances
501	  available to the client.
502
503config LWM2M_CONN_MON_OBJ_SUPPORT
504	bool "Connectivity Monitoring object support (ID 4)"
505	help
506	  Include support for LwM2M Connectivity Monitoring Object
507
508if LWM2M_CONN_MON_OBJ_SUPPORT
509choice
510	prompt "LwM2M Connectivity Monitor object version"
511	default LWM2M_CONNMON_OBJECT_VERSION_1_0 if LWM2M_VERSION_1_0
512	default LWM2M_CONNMON_OBJECT_VERSION_1_2 if LWM2M_VERSION_1_1
513	help
514	  Select Which version of the Connectivity Monitor object should be used.
515
516config LWM2M_CONNMON_OBJECT_VERSION_1_0
517	bool "Connectivity monitor object version 1.0"
518
519config LWM2M_CONNMON_OBJECT_VERSION_1_2
520	bool "Connectivity monitor object version 1.2"
521
522config LWM2M_CONNMON_OBJECT_VERSION_1_3
523	bool "Connectivity monitor object version 1.3"
524
525endchoice
526
527config LWM2M_CONN_MON_BEARER_MAX
528	int "Maximum # of available network bearer resource instances"
529	default 1
530	help
531	  This value sets the maximum number of available network bearer
532	  resource instances.  These are displayed via the
533	  "Connection Monitoring" object /4/0/1.
534
535config LWM2M_CONN_MON_APN_MAX
536	int "Maximum # of APN resource instances"
537	default 1
538	help
539	  This value sets the maximum number of APN resource instances.
540	  These are displayed via the "Connection Monitoring" object /4/0/7.
541endif # LWM2M_CONN_MON_OBJ_SUPPORT
542
543config LWM2M_FIRMWARE_UPDATE_OBJ_SUPPORT
544	bool "Firmware Update object support (ID 5)"
545	default y
546	help
547	  Include support for LwM2M Firmware Update Object
548
549if LWM2M_FIRMWARE_UPDATE_OBJ_SUPPORT
550config LWM2M_FIRMWARE_UPDATE_OBJ_SUPPORT_MULTIPLE
551	bool "Support multiple firmware update objects [EXPERIMENTAL]"
552	select EXPERIMENTAL
553	help
554	  Support multiple instances of LwM2M Firmware Update Object
555
556config LWM2M_FIRMWARE_UPDATE_OBJ_INSTANCE_COUNT
557	int "Maximum # of LwM2M Firmware update object instances"
558	default 1
559	help
560	  This setting establishes the total count of LwM2M Firmware update
561	  object instances available to the client.
562
563config LWM2M_FIRMWARE_UPDATE_PULL_SUPPORT
564	bool "Firmware Update object pull support"
565	default y
566	depends on (HTTP_PARSER || HTTP_PARSER_URL)
567	help
568	  Include support for pulling a file from a remote server via
569	  block transfer and "FIRMWARE PACKAGE URI" resource.  This option
570	  adds another UDP context and packet handling.
571
572config LWM2M_FIRMWARE_UPDATE_PULL_COAP_PROXY_SUPPORT
573	bool "Firmware Update object pull via CoAP-CoAP/HTTP proxy support"
574	depends on LWM2M_FIRMWARE_UPDATE_PULL_SUPPORT
575	help
576	  Include support for pulling firmware file via a CoAP-CoAP/HTTP proxy.
577
578config LWM2M_FIRMWARE_UPDATE_PULL_COAP_PROXY_ADDR
579	string "CoAP proxy network address"
580	depends on LWM2M_FIRMWARE_UPDATE_PULL_COAP_PROXY_SUPPORT
581	help
582	  Network address of the CoAP proxy server.
583
584endif # LWM2M_FIRMWARE_UPDATE_OBJ_SUPPORT
585
586config LWM2M_LOCATION_OBJ_SUPPORT
587	bool "Location object support (ID 6)"
588	help
589	  Include support for LwM2M Location Object
590
591config LWM2M_SWMGMT_OBJ_SUPPORT
592	bool "Software management object support (ID 9)"
593	help
594	  Include support for LwM2M Software Management Object.
595
596if LWM2M_SWMGMT_OBJ_SUPPORT
597config LWM2M_SWMGMT_MAX_INSTANCE_COUNT
598	int "Maximum # of object instances"
599	depends on LWM2M_SWMGMT_OBJ_SUPPORT
600	default 1
601
602config LWM2M_SWMGMT_PACKAGE_NAME_LEN
603	int "Maximum size of the software management object's name string"
604	depends on LWM2M_SWMGMT_OBJ_SUPPORT
605	default 64
606
607config LWM2M_SWMGMT_PACKAGE_VERSION_LEN
608	int "Maximum size of the software management object's version string"
609	depends on LWM2M_SWMGMT_OBJ_SUPPORT
610	default 64
611endif # LWM2M_SWMGMT_OBJ_SUPPORT
612
613config LWM2M_PORTFOLIO_OBJ_SUPPORT
614	bool "LwM2M Portfolio object ID support (ID 16)"
615	help
616	  Include support for LwM2M Portfolio Object.
617
618config LWM2M_BINARYAPPDATA_OBJ_SUPPORT
619	bool "LwM2M BinaryAppDataContainer Object (ID 19)"
620	help
621	  Include support for LwM2M BinaryAppDataContainer Object
622
623config LWM2M_EVENT_LOG_OBJ_SUPPORT
624	bool "LwM2M Event Log Object (ID 20)"
625	help
626	  Include support for LwM2M Event Log Object
627
628config LWM2M_GATEWAY_OBJ_SUPPORT
629	bool "LwM2M Gateway Object (ID 25) [EXPERIMENTAL]"
630	select EXPERIMENTAL
631
632if LWM2M_GATEWAY_OBJ_SUPPORT
633
634config LWM2M_GATEWAY_MAX_INSTANCES
635	int "Maximum number of bridged devices"
636	default 1
637	help
638	  This setting establishes the total count of LwM2M Gateway
639	  instances available to the LwM2M client.
640
641config LWM2M_GATEWAY_DEFAULT_DEVICE_ID
642	string "Identifies the IoT Device bridged to the LwM2M Gateway"
643	default "Node"
644
645config LWM2M_GATEWAY_DEVICE_ID_MAX_STR_SIZE
646	int "Maximum string size for device ID"
647	default 32
648
649config LWM2M_GATEWAY_DEFAULT_DEVICE_PREFIX
650	string "Used for access to LwM2M Objects of this IoT Device"
651	default "n"
652	help
653	  Defaults are n0, n1, n2, ..., n<max instances - 1>
654
655config LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE
656	int "Max string size for prefix"
657	default 32
658
659config LWM2M_GATEWAY_DEFAULT_IOT_DEVICE_OBJECTS
660	string "Contains the Objects and Object Instances exposed by Gateway"
661	default ""
662	help
663	  It uses the same CoreLnk format as Registration Interface.
664	  This must be populated by Gateway.
665	  Example:
666	    </3>;ver=1.0,</3/0>,</4>;ver=1.0,</4/0>,
667	    </5>;ver=1.0,</5/0>,</9>;ver=1.0,</9/0>,</3303/0>
668
669config LWM2M_GATEWAY_IOT_DEVICE_OBJECTS_MAX_STR_SIZE
670	int "Maximum string size for IoT device objects"
671	default 128
672
673endif # LWM2M_GATEWAY_OBJ_SUPPORT
674
675source "subsys/net/lib/lwm2m/Kconfig.ipso"
676
677source "subsys/net/lib/lwm2m/Kconfig.ucifi"
678
679menu "Deprecated flags"
680config LWM2M_RD_CLIENT_SUPPORT
681	bool "DEPRECATED: client bootstrap/registration state machine"
682	select DEPRECATED
683	help
684	  Deprecated flag. RD state machine is always part of engine. It cannot be disabled.
685endmenu # "Deprecated flags"
686
687endif # LWM2M
688