1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/lwm2m/Kconfig
2024-11-12 08:47:13 +01:00

45 lines
978 B
Plaintext

# Copyright (c) 2021 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menu "Application configuration"
config LWM2M_SERVER_URI
string "LwM2M Server URI to register/bootstrap with"
default "coaps://[fd00:dead:beef::1]:5684"
help
The host part of the URI MUST be a valid IPv6 address.
config LWM2M_SERVER_SHORT_ID
int "Server Short ID"
default 1
range 1 65534
choice
bool "Credential type"
menuconfig LWM2M_CRED_PSK
bool "PSK (Pre-shared keys)"
select DTLS_PSK
if LWM2M_CRED_PSK
config LWM2M_PSK_ID
string "PSK Identity"
default "Client_Identity"
config LWM2M_PSK_KEY
string "PSK Key"
default "ThisIsRIOT!"
endif # LWM2M_CRED_PSK
config LWM2M_CRED_RPK
bool "RPK (Raw public keys)"
select DTLS_ECC
endchoice
endmenu # Application configuration