
Limitations
172
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
mDNS
_u32
Options;
const signed char
AddService[40] = "printer._ipp._tcp.local";
/* Update Service text (as persistent)*/
Options = SL_NETAPP_MDNS_OPTIONS_IS_UNIQUE_BIT | SL_NETAPP_MDNS_IPV4_ONLY_SERVICE |
SL_NETAPP_MDNS_OPTION_UPDATE_TEXT;
Status = sl_NetAppMDNSRegisterService(AddService,
sizeof
(AddService),"Printer=2;Size=A3;size=8",
strlen("Printer=2;Size=A3;size=8"),4578,120,Options);
if
( Status )
{
/* Error */
}
10.7 Limitations
•
The maximum number of registered services is five (or six, if the internal web server is not running).
•
The size of the service total length should be smaller than 255 bytes.
•
The size of the discovered services text length should be smaller than 120 bytes.
•
This discovered service list is limited to eight services.