2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_UDP
|
|
|
|
bool "UDP example"
|
|
|
|
default n
|
2015-01-22 22:30:23 +01:00
|
|
|
depends on NET_UDP
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the UDP example
|
|
|
|
|
|
|
|
if EXAMPLES_UDP
|
2014-03-05 19:48:58 +01:00
|
|
|
|
2017-06-19 19:03:10 +02:00
|
|
|
config EXAMPLES_UDP_SERVER1
|
|
|
|
bool "Target1 is the server"
|
2014-03-05 19:48:58 +01:00
|
|
|
default n
|
2017-06-19 19:03:10 +02:00
|
|
|
---help---
|
|
|
|
By default Target1 is the client and the host PC is the server
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_PROGNAME1
|
|
|
|
string "Target1 program name"
|
|
|
|
default "udpserver" if EXAMPLES_UDP_SERVER1
|
|
|
|
default "udpclient" if !EXAMPLES_UDP_SERVER1
|
|
|
|
depends on BUILD_KERNEL
|
|
|
|
---help---
|
|
|
|
This is the name of the Target1 program that will be use when the
|
|
|
|
NSH ELF program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_PRIORITY1
|
|
|
|
int "Target1 task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_STACKSIZE1
|
|
|
|
int "Target1 stack size"
|
|
|
|
default 2048
|
2014-03-05 19:48:58 +01:00
|
|
|
|
2017-06-19 19:58:56 +02:00
|
|
|
config EXAMPLES_UDP_TARGET2
|
|
|
|
bool "Second endpoint is a target"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
By default, the host PC is configured as the second endpoint of the
|
|
|
|
UDP test. If this option is selected, then the second endpoint
|
|
|
|
will be built into the FLASH image as well. This means that you
|
2017-06-24 02:12:34 +02:00
|
|
|
can use two target boards to run the test with no host PC
|
2017-06-19 19:58:56 +02:00
|
|
|
involvement.
|
|
|
|
|
|
|
|
if EXAMPLES_UDP_TARGET2
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_PROGNAME2
|
|
|
|
string "Target2 program name"
|
|
|
|
default "udpserver" if !EXAMPLES_UDP_SERVER2
|
|
|
|
default "udpclient" if EXAMPLES_UDP_SERVER2
|
|
|
|
depends on BUILD_KERNEL
|
|
|
|
---help---
|
|
|
|
This is the name of the Target2 program that will be use when the
|
|
|
|
NSH ELF program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_PRIORITY2
|
|
|
|
int "Target2 task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_STACKSIZE2
|
|
|
|
int "Target2 stack size"
|
|
|
|
default 2048
|
|
|
|
|
|
|
|
endif # EXAMPLES_UDP_TARGET2
|
|
|
|
|
2017-06-19 17:46:40 +02:00
|
|
|
config EXAMPLES_UDP_DEVNAME
|
|
|
|
string "Network device"
|
|
|
|
default "eth0"
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_NETINIT
|
|
|
|
bool "Initialize network"
|
|
|
|
default n if NSH_NETINIT
|
|
|
|
default y if !NSH_NETINIT
|
|
|
|
---help---
|
|
|
|
Selecting this option will enable logic in the example to perform
|
|
|
|
some basic initialization of the network. You would probably only
|
|
|
|
want to do this if the example is running stand-alone. If the
|
|
|
|
example is running as an NSH command, then the network as already
|
|
|
|
been initialized.
|
|
|
|
|
|
|
|
This basic initialization currently only supports basic
|
|
|
|
initialization of Ethernet network devices. For other exotic
|
|
|
|
network devices this initialization should be suppressed. Such
|
|
|
|
devices will require other, external initialization.
|
|
|
|
|
2015-01-22 22:30:23 +01:00
|
|
|
choice
|
|
|
|
prompt "IP Domain"
|
|
|
|
default EXAMPLES_UDP_IPv4 if NET_IPv4
|
|
|
|
default EXAMPLES_UDP_IPv6 if NET_IPv6 && !NET_IPv4
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv4
|
|
|
|
bool "IPv4"
|
|
|
|
depends on NET_IPv4
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6
|
|
|
|
bool "IPv6"
|
|
|
|
depends on NET_IPv6
|
|
|
|
|
|
|
|
endchoice # IP Domain
|
|
|
|
|
2017-08-08 16:16:47 +02:00
|
|
|
config EXAMPLES_UDP_BROADCAST
|
|
|
|
bool "Broadcast outgoing messages"
|
|
|
|
default n
|
|
|
|
depends on NET_BROADCAST
|
|
|
|
---help---
|
|
|
|
Send and receive all UDP packets using the broadcast address.
|
|
|
|
|
2015-01-22 22:30:23 +01:00
|
|
|
if EXAMPLES_UDP_IPv4
|
|
|
|
|
|
|
|
comment "IPv4 addresses"
|
|
|
|
|
2017-06-19 19:03:10 +02:00
|
|
|
if EXAMPLES_UDP_NETINIT
|
2017-06-19 17:46:40 +02:00
|
|
|
|
2014-03-05 19:48:58 +01:00
|
|
|
config EXAMPLES_UDP_IPADDR
|
|
|
|
hex "Target IP address"
|
|
|
|
default 0x0a000002
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPADDR
|
|
|
|
hex "Target default router address (Gateway)"
|
|
|
|
default 0x0a000001
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_NETMASK
|
|
|
|
hex "Network mask"
|
|
|
|
default 0xffffff00
|
|
|
|
|
2017-06-19 17:46:40 +02:00
|
|
|
endif # !EXAMPLES_UDP_NETINIT
|
|
|
|
|
2014-03-05 19:48:58 +01:00
|
|
|
config EXAMPLES_UDP_SERVERIP
|
|
|
|
hex "Server IP address"
|
2017-06-19 19:03:10 +02:00
|
|
|
default 0x0a000001 if !EXAMPLES_UDP_SERVER1
|
|
|
|
default 0x0a000002 if EXAMPLES_UDP_SERVER1
|
2014-03-05 19:48:58 +01:00
|
|
|
|
2015-01-22 22:30:23 +01:00
|
|
|
endif # EXAMPLES_UDP_IPv4
|
|
|
|
|
|
|
|
if EXAMPLES_UDP_IPv6
|
2017-06-19 17:46:40 +02:00
|
|
|
if !NET_ICMPv6_AUTOCONF && EXAMPLES_UDP_NETINIT
|
2015-01-22 22:30:23 +01:00
|
|
|
|
|
|
|
comment "Target IPv6 address"
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_1
|
|
|
|
hex "[0]"
|
|
|
|
default 0xfc00
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the first of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_2
|
|
|
|
hex "[1]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the second of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_3
|
|
|
|
hex "[2]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the third of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_4
|
|
|
|
hex "[3]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the fourth of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_5
|
|
|
|
hex "[4]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the fifth of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_6
|
|
|
|
hex "[5]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the sixth of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_7
|
|
|
|
hex "[6]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the seventh of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6ADDR_8
|
|
|
|
hex "[7]"
|
|
|
|
default 0x0002
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the last of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
comment "Router IPv6 address"
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_1
|
|
|
|
hex "[0]"
|
|
|
|
default 0xfc00
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the first of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_2
|
|
|
|
hex "[1]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the second of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_3
|
|
|
|
hex "[2]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the third of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_4
|
|
|
|
hex "[3]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the fourth of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_5
|
|
|
|
hex "[4]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the fifth of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_6
|
|
|
|
hex "[5]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the sixth of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_7
|
|
|
|
hex "[6]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the seventh of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_DRIPv6ADDR_8
|
|
|
|
hex "[7]"
|
|
|
|
default 0x0001
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
|
|
|
value in host order. Each of the eight values forming the full IP
|
|
|
|
address must be specified individually. This is the last of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
comment "IPv6 Network mask"
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_1
|
|
|
|
hex "[0]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the first of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_2
|
|
|
|
hex "[1]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the second of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_3
|
|
|
|
hex "[2]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the third of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_4
|
|
|
|
hex "[3]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
|
|
|
range 0x0 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the fourth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_5
|
|
|
|
hex "[4]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the fifth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_6
|
|
|
|
hex "[5]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the sixth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_7
|
|
|
|
hex "[6]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the seventh of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_IPv6NETMASK_8
|
|
|
|
hex "[7]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xff80
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the eighth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
2015-02-03 23:19:08 +01:00
|
|
|
endif # NET_ICMPv6_AUTOCONF
|
2015-02-03 22:40:56 +01:00
|
|
|
|
2017-06-19 21:29:58 +02:00
|
|
|
comment "Default Server IPv6 address"
|
2015-01-22 22:30:23 +01:00
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_1
|
|
|
|
hex "[0]"
|
|
|
|
default 0xfc00
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the first of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_2
|
|
|
|
hex "[1]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the second of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_3
|
|
|
|
hex "[2]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the Third of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_4
|
|
|
|
hex "[3]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the fourth of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_5
|
|
|
|
hex "[4]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the fifth of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_6
|
|
|
|
hex "[5]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the sixth of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_7
|
|
|
|
hex "[6]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the seventh of the 8-values.
|
|
|
|
|
|
|
|
config EXAMPLES_UDP_SERVERIPv6ADDR_8
|
|
|
|
hex "[7]"
|
2017-06-19 19:03:10 +02:00
|
|
|
default 0x0001 if !EXAMPLES_UDP_SERVER1
|
|
|
|
default 0x0002 if EXAMPLES_UDP_SERVER1
|
2015-01-22 22:30:23 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_UDP_SERVERIP should be the same as
|
|
|
|
EXAMPLES_UDP_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_UDP_SERVERIP is set to the
|
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_UDP_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the last of the 8-values.
|
|
|
|
|
|
|
|
endif # EXAMPLES_UDP_IPv6
|
2017-06-20 18:40:09 +02:00
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_UDP_SERVER_PORTNO
|
2017-06-20 18:40:09 +02:00
|
|
|
int "Server port number"
|
|
|
|
default 5471
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_UDP_CLIENT_PORTNO
|
2017-06-20 18:40:09 +02:00
|
|
|
int "Client port number"
|
|
|
|
default 5472
|
|
|
|
|
2014-03-05 19:48:58 +01:00
|
|
|
endif # EXAMPLES_UDP
|