mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
net/nanocoap: Expose configurations to Kconfig
This commit is contained in:
parent
e80dcf2d8b
commit
0137a06896
@ -7,5 +7,6 @@
|
||||
menu "CoAP"
|
||||
|
||||
rsource "gcoap/Kconfig"
|
||||
rsource "nanocoap/Kconfig"
|
||||
|
||||
endmenu # CoAP
|
||||
|
||||
37
sys/net/application_layer/nanocoap/Kconfig
Normal file
37
sys/net/application_layer/nanocoap/Kconfig
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright (c) 2020 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.
|
||||
#
|
||||
|
||||
# Nanocoap provides CoAP functionalities
|
||||
config MODULE_NANOCOAP
|
||||
select HAS_PROTOCOL_COAP
|
||||
|
||||
menuconfig KCONFIG_MODULE_NANOCOAP
|
||||
bool "Configure Nanocoap module"
|
||||
depends on MODULE_NANOCOAP
|
||||
|
||||
if KCONFIG_MODULE_NANOCOAP
|
||||
|
||||
config NANOCOAP_NOPTS_MAX
|
||||
int "Maximum number of options in a message"
|
||||
default 16
|
||||
|
||||
config NANOCOAP_URI_MAX
|
||||
int "Maximum length of a resource path"
|
||||
default 64
|
||||
help
|
||||
Maximum length of a resource path string read from or written to a
|
||||
message.
|
||||
|
||||
config NANOCOAP_BLOCK_SIZE_EXP_MAX
|
||||
int "Maximum size for a blockwise fransfer (as exponent of 2^n)"
|
||||
default 6
|
||||
|
||||
config NANOCOAP_QS_MAX
|
||||
int "Maximum length of a query string written to a message"
|
||||
default 64
|
||||
|
||||
endif # KCONFIG_MODULE_NANOCOAP
|
||||
Loading…
x
Reference in New Issue
Block a user