nuttx-apps/examples/discover/Kconfig
patacongo 8181e26325 Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 17:36:07 +00:00

46 lines
1.3 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
config EXAMPLES_DISCOVER
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.
config EXAMPLES_DISCOVER_DHCPC
bool "DHCP Client"
default n
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
select NETUTILS_DHCPC
select NETUTILS_RESOLV
config EXAMPLES_DISCOVER_NOMAC
bool "Use Canned MAC Address"
default n
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
config EXAMPLES_DISCOVER_IPADDR
hex "Target IP address"
default 0x0a000002
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS && !EXAMPLES_DISCOVER_DHCPC
config EXAMPLES_DISCOVER_DRIPADDR
hex "Default Router IP address (Gateway)"
default 0x0a000001
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS
config EXAMPLES_DISCOVER_NETMASK
hex "Network Mask"
default 0xffffff00
depends on EXAMPLES_DISCOVER && !NSH_BUILTIN_APPS