mDNS functions More...

Modules

Types
mDNS data types
 

Functions

zos_result_t zn_mdns_register_service (const mdns_service_info_t *service_info)
 Register custom service to be advertised via mDNS. More...
 

Detailed Description

mDNS functions

Function Documentation

zos_result_t zn_mdns_register_service ( const mdns_service_info_t service_info)

Register custom service to be advertised via mDNS.

This registers a custom service to be advertised via mDNS. More information about mDNS may be found in the Network Discovery {"target":"_blank"} command API documentation.

To use this API, first enable the mDNS feature by setting the variable:

To use this API, first enable the mDNS feature by setting the variable: mdns.enabled {"target":"_blank"} to ZOS_TRUE. The either toggle or bring the network up. When the network is up call this API to register the service. This API must be called every time the network is brought up.

Note
Upon exiting the ZAP the network should be brought down to unregister the service. Faults may occur otherwise.
Parameters
service_infoService info, mdns_service_info_t
Returns
zos_result_t, the result of registering the service.