2012-09-12 20:42:07 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER
|
2012-09-12 20:42:07 +02:00
|
|
|
bool "UDP Discovery Example"
|
|
|
|
default n
|
|
|
|
depends on NET_UDP
|
|
|
|
select NETUTILS_DISCOVER
|
|
|
|
---help---
|
|
|
|
Enable the netutils/discover utility. This example initializes and
|
|
|
|
starts the UDP discover daemon. This daemon is useful for
|
|
|
|
discovering devices in local networks, especially with DHCP
|
|
|
|
configured devices. It listens for UDP broadcasts which also can
|
|
|
|
include a device class so that groups of devices can be discovered.
|
|
|
|
It is also possible to address all classes with a kind of broadcast
|
|
|
|
discover.
|
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER_DHCPC
|
2012-09-12 20:42:07 +02:00
|
|
|
bool "DHCP Client"
|
|
|
|
default n
|
2012-10-04 19:36:07 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
|
2012-09-12 22:14:46 +02:00
|
|
|
select NETUTILS_DHCPC
|
|
|
|
select NETUTILS_RESOLV
|
2012-09-12 20:42:07 +02:00
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER_NOMAC
|
2012-09-12 23:42:36 +02:00
|
|
|
bool "Use Canned MAC Address"
|
2012-09-12 20:42:07 +02:00
|
|
|
default n
|
2012-10-04 19:36:07 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
|
2012-09-12 20:42:07 +02:00
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER_IPADDR
|
2012-09-12 20:42:07 +02:00
|
|
|
hex "Target IP address"
|
|
|
|
default 0x0a000002
|
2012-10-04 19:36:07 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS && !EXAMPLES_DISCOVER_DHCPC
|
2012-09-12 20:42:07 +02:00
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER_DRIPADDR
|
2012-09-12 23:42:36 +02:00
|
|
|
hex "Default Router IP address (Gateway)"
|
2012-09-12 20:42:07 +02:00
|
|
|
default 0x0a000001
|
2012-10-04 19:36:07 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
|
2012-09-12 20:42:07 +02:00
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER_NETMASK
|
2012-09-12 20:42:07 +02:00
|
|
|
hex "Network Mask"
|
|
|
|
default 0xffffff00
|
2012-10-04 19:36:07 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
|