feat(mdns): Make including mdns_console KConfigurable

The CLI that mdns_console offers is very useful for debugging
and bootstrapping mDNS onto new projects, but some projects
may not want console CLI in place to reduce binary size.

This gives a KConfig option to do so.
This commit is contained in:
Richard Retanubun
2024-01-26 13:35:47 -05:00
parent 5ba7cfab8e
commit 27adbfeb3b
2 changed files with 13 additions and 1 deletions

View File

@ -100,6 +100,12 @@ menu "mDNS"
help
Enable for the library to log received and sent mDNS packets to stdout.
config MDNS_ENABLE_CONSOLE_CLI
bool "Enable Command Line Interface on device console"
default y
help
Enable for the console cli to be available on the device.
config MDNS_RESPOND_REVERSE_QUERIES
bool "Enable responding to IPv4 reverse queries"
default n