SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The mDNS/DNS-SD protocol enables the automatic discovery of computers, devices, and services by resolving IP addresses and ports on the local IP network. mDNS is based on the DNS protocol. In contrast to DNS, which uses a DNS server, mDNS protocol is distributed, where each device can advertise and discover services. Each mDNS device on the local IP network can join an mDNS IP multicast group, and advertise its services. mDNS protocol supports IPv4 and IPv6 local networks. IPv4 multicast address 224.0.0.251, IPv6 multicast address FF02::FB, and UDP port 5353 are all reserved to mDNS messages.
The SimpleLink host application can register up to five services. The services can be advertised and discovered on IPv4 networks, IPv6 networks, or both, depending on service interface registration and interface status.
The mDNS service must be enabled to allow query and advertisement operations. By default, the mDNS service is enabled and the internal HTTP server and host name are advertised on the enabled interfaces, IPv4, IPv6, or both. The mDNS service can be disabled.
The host application can trigger one-shot or continuous discovery. The results are cached by the SimpleLink Wi-Fi device, and the application can retrieve the list of discovered devices and services.
The mDNS service is not power-wise-optimized; therefore, TI recommends turning this service off in power-constrained systems. This service is turned off automatically if the configured power mode is LSI with a sleep time greater than 2000 ms.