Rename Kconfig options (examples)

* Original commit: espressif/esp-idf@151f757912
This commit is contained in:
Roland Dobai
2019-05-09 16:43:06 +02:00
committed by suren-gabrielyan-espressif
parent 05ddd5f0e4
commit 9a0803ad7e
6 changed files with 36 additions and 36 deletions

View File

@ -31,7 +31,7 @@ make -j4 flash monitor
- You can now ping the device at `[board-hostname].local`, where `[board-hostname]` is preconfigured hostname, `esp32-mdns` by default.
- You can also browse for `_http._tcp` on the same network to find the advertised service
- Pressing the BOOT button will start querying the local network for the predefined in `check_button` hosts and services
- Note that for purpose of CI tests, configuration options of `RESOLVE_TEST_SERVICES` and `MDNS_ADD_MAC_TO_HOSTNAME` are available, but disabled by default. If enabled, then the hostname suffix of last 3 bytes from device MAC address is added, e.g. `esp32-mdns-80FFFF`, and a query for test service is issued.
- Note that for purpose of CI tests, configuration options of `MDNS_RESOLVE_TEST_SERVICES` and `MDNS_ADD_MAC_TO_HOSTNAME` are available, but disabled by default. If enabled, then the hostname suffix of last 3 bytes from device MAC address is added, e.g. `esp32-mdns-80FFFF`, and a query for test service is issued.
(To exit the serial monitor, type ``Ctrl-]``.)

View File

@ -12,7 +12,7 @@ menu "Example Configuration"
help
mDNS Instance Name for example to use
config RESOLVE_TEST_SERVICES
config MDNS_RESOLVE_TEST_SERVICES
bool "Resolve test services"
default n
help

View File

@ -165,7 +165,7 @@ static void check_button(void)
static void mdns_example_task(void *pvParameters)
{
#if CONFIG_RESOLVE_TEST_SERVICES == 1
#if CONFIG_MDNS_RESOLVE_TEST_SERVICES == 1
/* Send initial queries that are started by CI tester */
query_mdns_host("tinytester");
#endif

View File

@ -1,2 +1,2 @@
CONFIG_RESOLVE_TEST_SERVICES=y
CONFIG_MDNS_RESOLVE_TEST_SERVICES=y
CONFIG_MDNS_ADD_MAC_TO_HOSTNAME=y