PSK support is added to echo-client.c and echo-server.c. If enabled, a header is included which contains the PSK. If the default dummy PSK header is used, a warning is issued. The header can be changed via Kconfig. Signed-off-by: Torstein Grindvik <torstein.grindvik@nordicsemi.no>
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
# Kconfig - Private config options for echo-client sample app
|
|
|
|
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
mainmenu "Networking echo-client sample application"
|
|
|
|
config NET_SAMPLE_IFACE2_MY_IPV6_ADDR
|
|
string "My IPv6 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE2_MY_IPV4_ADDR
|
|
string "My IPv4 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE2_VLAN_TAG
|
|
int "VLAN tag for second interface"
|
|
default 100
|
|
range 0 4094
|
|
depends on NET_VLAN
|
|
help
|
|
Set VLAN (virtual LAN) tag (id) that is used in the sample
|
|
application.
|
|
|
|
config NET_SAMPLE_IFACE3_MY_IPV6_ADDR
|
|
string "My IPv6 address for third interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE3_MY_IPV4_ADDR
|
|
string "My IPv4 address for third interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE3_VLAN_TAG
|
|
int "VLAN tag for third interface"
|
|
default 200
|
|
range 0 4094
|
|
depends on NET_VLAN
|
|
help
|
|
Set VLAN (virtual LAN) tag (id) that is used in the sample
|
|
application.
|
|
|
|
config NET_SAMPLE_PSK_HEADER_FILE
|
|
string "Header file containing PSK"
|
|
default "dummy_psk.h"
|
|
depends on MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
|
|
help
|
|
Name of a header file containing a
|
|
pre-shared key.
|
|
|
|
source "Kconfig.zephyr"
|