1# Copyright (c) 2023, Emna Rekik
2# Copyright (c) 2025, Basalte bv
3# SPDX-License-Identifier: Apache-2.0
4
5# Config options for CoAP server sample application
6
7mainmenu "CoAP server sample application"
8
9config NET_SAMPLE_COAPS_SERVICE
10	bool "Enable CoAP secure service"
11	depends on NET_SOCKETS_ENABLE_DTLS || TLS_CREDENTIALS
12
13config NET_SAMPLE_COAP_SERVER_SERVICE_PORT
14	int "Port number for CoAP service"
15	default 5684 if NET_SAMPLE_COAPS_SERVICE
16	default 5683
17
18if NET_SAMPLE_COAPS_SERVICE
19
20config NET_SAMPLE_PSK_HEADER_FILE
21	string "Header file containing PSK"
22	default "dummy_psk.h"
23	depends on MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
24	help
25	  Name of a header file containing a pre-shared key.
26
27config NET_SAMPLE_CERTS_WITH_SC
28	bool "Signed Certificates"
29	depends on NET_SOCKETS_SOCKOPT_TLS
30	help
31	  Enable this flag, if you are interested to run this
32	  application with certificates.
33
34endif
35
36source "Kconfig.zephyr"
37