diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-12 18:42:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-12 18:42:07 +0000 |
commit | d660afc8fd83a630d0a223dd2796003024ce4f11 (patch) | |
tree | ce8e776d60e1d48cd2f06d56561536aff5bdd6d7 /apps/examples/discover/Kconfig | |
parent | ec4b9fcf907986295f1f5e1ccf86821ef5a085b5 (diff) | |
download | nuttx-d660afc8fd83a630d0a223dd2796003024ce4f11.tar.gz nuttx-d660afc8fd83a630d0a223dd2796003024ce4f11.tar.bz2 nuttx-d660afc8fd83a630d0a223dd2796003024ce4f11.zip |
Network discover utility from Max Holtzberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5137 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/discover/Kconfig')
-rw-r--r-- | apps/examples/discover/Kconfig | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/apps/examples/discover/Kconfig b/apps/examples/discover/Kconfig new file mode 100644 index 000000000..afdb9ff82 --- /dev/null +++ b/apps/examples/discover/Kconfig @@ -0,0 +1,42 @@ +# +# 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. + +if EXAMPLES_DISCOVER + +config EXAMPLE_DISCOVER_DHCPC + bool "DHCP Client" + default n + +config EXAMPLE_DISCOVER_NOMAC + bool "Use canned MAC address" + default n + +config EXAMPLE_DISCOVER_IPADDR + hex "Target IP address" + default 0x0a000002 + +config EXAMPLE_DISCOVER_DRIPADDR + hex "Router IP address" + default 0x0a000001 + +config EXAMPLE_DISCOVER_NETMASK + hex "Network Mask" + default 0xffffff00 + +endif |