1# Private config options for echo-server sample app
2
3# Copyright (c) 2018 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6mainmenu "Networking echo-server sample application"
7
8config NET_SAMPLE_NUM_HANDLERS
9	int "How many connections to serve at the same time"
10	default 1
11	help
12	  Each connection is served by a thread which needs
13	  memory. Only increase the value here if really needed.
14
15config NET_SAMPLE_IFACE2_MY_IPV6_ADDR
16	string "My IPv6 address for second interface"
17	help
18	  The value depends on your network setup.
19
20config NET_SAMPLE_IFACE2_MY_IPV4_ADDR
21	string "My IPv4 address for second interface"
22	help
23	  The value depends on your network setup.
24
25config NET_SAMPLE_IFACE2_MY_IPV4_NETMASK
26	string "My IPv4 netmask for second interface"
27	help
28	  The value depends on your network setup.
29
30config NET_SAMPLE_PSK_HEADER_FILE
31	string "Header file containing PSK"
32	default "dummy_psk.h"
33	depends on MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
34	help
35	  Name of a header file containing a
36	  pre-shared key.
37
38config NET_SAMPLE_CERTS_WITH_SC
39	bool "Signed certificates"
40	depends on NET_SOCKETS_SOCKOPT_TLS
41	help
42	  Enable this flag, if you are interested to run this
43	  application with signed certificates and keys.
44
45config NET_SAMPLE_WEBSOCKET_CONSOLE
46	bool "Websocket console support"
47	default y if WEBSOCKET_CONSOLE
48	help
49	  Enable this flag, if you are interested to enable websocket console.
50	  You can use the overlay-ws-console.conf to set websocket options.
51
52config NET_SAMPLE_HTTPS_SERVICE
53	bool "Enable HTTPS service for the Webconsole"
54	default y if NET_SAMPLE_WEBSOCKET_CONSOLE
55	depends on NET_SOCKETS_SOCKOPT_TLS || TLS_CREDENTIALS
56
57config NET_SAMPLE_HTTPS_SERVER_SERVICE_PORT
58	int "Port number for HTTPS service"
59	default 443
60	depends on NET_SAMPLE_HTTPS_SERVICE
61
62if USB_DEVICE_STACK_NEXT
63# Source common USB sample options used to initialize new experimental USB
64# device stack. The scope of these options is limited to USB samples in project
65# tree, you cannot use them in your own application.
66	source "samples/subsys/usb/common/Kconfig.sample_usbd"
67endif
68
69source "samples/net/common/Kconfig"
70source "Kconfig.zephyr"
71