1menu "mDNS" 2 3 config MDNS_MAX_SERVICES 4 int "Max number of services" 5 range 1 64 6 default 10 7 help 8 Services take up a certain amount of memory, and allowing fewer 9 services to be open at the same time conserves memory. Specify 10 the maximum amount of services here. The valid value is from 1 11 to 64. 12 13 config MDNS_TASK_PRIORITY 14 int "mDNS task priority" 15 range 1 255 16 default 1 17 help 18 Allows setting mDNS task priority. Please do not set the task priority 19 higher than priorities of system tasks. Compile time warning/error 20 would be emitted if the chosen task priority were too high. 21 22 config MDNS_TASK_STACK_SIZE 23 int "mDNS task stack size" 24 default 4096 25 help 26 Allows setting mDNS task stacksize. 27 28 choice MDNS_TASK_AFFINITY 29 prompt "mDNS task affinity" 30 default MDNS_TASK_AFFINITY_CPU0 31 help 32 Allows setting mDNS tasks affinity, i.e. whether the task is pinned to 33 CPU0, pinned to CPU1, or allowed to run on any CPU. 34 35 config MDNS_TASK_AFFINITY_NO_AFFINITY 36 bool "No affinity" 37 config MDNS_TASK_AFFINITY_CPU0 38 bool "CPU0" 39 config MDNS_TASK_AFFINITY_CPU1 40 bool "CPU1" 41 depends on !FREERTOS_UNICORE 42 43 endchoice 44 45 config MDNS_TASK_AFFINITY 46 hex 47 default FREERTOS_NO_AFFINITY if MDNS_TASK_AFFINITY_NO_AFFINITY 48 default 0x0 if MDNS_TASK_AFFINITY_CPU0 49 default 0x1 if MDNS_TASK_AFFINITY_CPU1 50 51 config MDNS_SERVICE_ADD_TIMEOUT_MS 52 int "mDNS adding service timeout (ms)" 53 range 10 30000 54 default 2000 55 help 56 Configures timeout for adding a new mDNS service. Adding a service 57 fails if could not be completed within this time. 58 59 config MDNS_STRICT_MODE 60 bool "mDNS strict mode" 61 default "n" 62 help 63 Configures strict mode. Set this to 1 for the mDNS library to strictly follow the RFC6762: 64 Currently the only strict feature: Do not repeat original questions in response packets 65 (defined in RFC6762 sec. 6). 66 Default configuration is 0, i.e. non-strict mode, since some implementations, 67 such as lwIP mdns resolver (used by standard POSIX API like getaddrinfo, gethostbyname) 68 could not correctly resolve advertised names. 69 70 config MDNS_TIMER_PERIOD_MS 71 int "mDNS timer period (ms)" 72 range 10 10000 73 default 100 74 help 75 Configures period of mDNS timer, which periodically transmits packets 76 and schedules mDNS searches. 77 78 config MDNS_NETWORKING_SOCKET 79 bool "Use BSD sockets for mdns networking" 80 default n 81 help 82 Enables optional mdns networking implementation using BSD sockets 83 in UDP multicast mode. 84 This option creates a new thread to serve receiving packets (TODO). 85 This option uses additional N sockets, where N is number of interfaces. 86 87 config MDNS_MULTIPLE_INSTANCE 88 bool "Multiple instances under the same service type" 89 default y 90 help 91 Enables adding multiple service instances under the same service type. 92 93endmenu 94