zephyr/samples/net/lwm2m_client/Kconfig
Ryan Erickson 1674114fd2 samples: net: lwm2m: add support for hl7800 modem
Add an overlay for hl7800 modem configuration.
Adjust the client to wait until the network is ready before
trying to connect to the lwm2m server.

Signed-off-by: Ryan Erickson <ryan.erickson@ezurio.com>
2025-01-20 11:15:57 +01:00

52 lines
1.7 KiB
Plaintext

# Private config options for LwM2M client sample
# Copyright (c) 2023 NordicNordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
mainmenu "LwM2M Client sample"
config LWM2M_APP_ID
string "LwM2M Client identity"
default ""
help
This is used as client endpoint name as well as PSK ID.
Leave empty for using CONFIG_BOARD
if LWM2M_DTLS_SUPPORT
config LWM2M_APP_PSK
string "PSK key"
default "000102030405060708090a0b0c0d0e0f"
help
PSK key as a hex string.
Maximum binary size is CONFIG_LWM2M_SECURITY_KEY_SIZE.
config LWM2M_APP_TLS_TAG
int "TLS security tag"
default 1
help
TLS security tag to use when connecting.
endif
config LWM2M_APP_SERVER
string "LwM2M server address"
default "coap://leshan.eclipseprojects.io:5683" if (WIFI && !LWM2M_DTLS_SUPPORT)
default "coaps://leshan.eclipseprojects.io:5684" if (WIFI && LWM2M_DTLS_SUPPORT)
default "coap://192.0.2.2:5683" if !LWM2M_DTLS_SUPPORT
default "coaps://192.0.2.2:5684" if (LWM2M_DTLS_SUPPORT && !LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP)
default "coaps://192.0.2.2:5784" if (LWM2M_DTLS_SUPPORT && LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP)
help
LwM2M server address. Write as a full URI including optional port number.
Only accepted protocols are "coap://" and "coaps://"
When DNS resolver is enabled, DNS domain names could be used as well.
When port number is missing, CONFIG_LWM2M_PEER_PORT is used instead.
IPv6 addresses must be enclosed in square brackets, for example "coap://[fd00::1]".
config WAIT_DNS_SERVER_ADDITION
bool "Wait DNS server addition before considering connection to be up"
depends on MODEM_HL7800 && !DNS_SERVER_IP_ADDRESSES
help
Make sure we get DNS server addresses from the network
before considering the connection to be up.
source "Kconfig.zephyr"