mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
bb8d3cd72b
Expose configurations to Kconfig Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
# Copyright (c) 2020 Freie Universitaet Berlin
|
|
#
|
|
# 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.
|
|
#
|
|
menuconfig KCONFIG_USEMODULE_CORD
|
|
bool "Configure CoRE RD client"
|
|
depends on USEMODULE_CORD_COMMON
|
|
help
|
|
Configure the CoRE Resource Directory (RD) Endpoint and Lookup Client
|
|
using Kconfig.
|
|
|
|
if KCONFIG_USEMODULE_CORD
|
|
|
|
config CORD_LT
|
|
int "CORD client lifetime in seconds"
|
|
default 86400
|
|
help
|
|
Configure 'CONFIG_CORD_LT', client lifetime in seconds. The default
|
|
value of 86400 seconds corresponds to 1 day.
|
|
|
|
config CORD_UPDATE_INTERVAL_EN
|
|
bool "Enable configuration of RD client update interval"
|
|
help
|
|
Enable configuration of RD Client update interval. If not enabled, CORD
|
|
update interval will default to 3/4th the value of CORD client lifetime
|
|
('CONFIG_CORD_LT').
|
|
|
|
config CORD_UPDATE_INTERVAL
|
|
int "CORD client update interval in seconds"
|
|
default 64800
|
|
depends on CORD_UPDATE_INTERVAL_EN
|
|
help
|
|
Configure CORD client update interval in seconds.
|
|
|
|
config CORD_EP_EN
|
|
bool "Enable configuration of node's endpoint ID"
|
|
help
|
|
Enable configuration of node's endpoint name. If not enabled, the ID is
|
|
generated by concatenation of 'CORD_EP_PREFIX', default value is 'RIOT-'
|
|
, and a locally unique ID (luid) encoded in hexadecimal formatting with
|
|
the given length of characters 'CORD_EP_SUFFIX_LEN', default value is
|
|
16.
|
|
|
|
config CORD_EP
|
|
string "Node's endpoint ID"
|
|
default "MyNewEpName"
|
|
depends on CORD_EP_EN
|
|
help
|
|
Configure node's endpoint ID.
|
|
|
|
endif # KCONFIG_USEMODULE_CORD
|