2012-09-12 20:42:07 +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-09-12 20:42:07 +02:00
|
|
|
#
|
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
config EXAMPLES_DISCOVER
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "UDP Discovery Example"
|
2012-09-12 20:42:07 +02:00
|
|
|
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
|
2019-10-07 10:37:56 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_NETINIT
|
2012-09-12 22:14:46 +02:00
|
|
|
select NETUTILS_DHCPC
|
2015-08-21 00:08:45 +02:00
|
|
|
select NETDB_DNSCLIENT
|
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
|
2019-10-07 10:37:56 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_NETINIT
|
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
|
2019-10-07 10:37:56 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_NETINIT && !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
|
2019-10-07 10:37:56 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_NETINIT
|
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
|
2019-10-07 10:37:56 +02:00
|
|
|
depends on EXAMPLES_DISCOVER && !NSH_NETINIT
|