mdns_service_info_t Struct Reference

Description of a custom mDNS service. More...

Data Fields

const char * service_name
 The name of the service (e.g. "My Widget")
 
uint16_t port
 Advertised service (e.g. _widget._tcp)
 
uint16_t ttl
 The port the service server listens on (e.g. 80 if using the HTTP server)
 
const char * txt
 Time-To-Live, this time is seconds the advertised service is valid.
 
mdns_txt_record_callback_t txt_callback
 Optional TXT record containing additional info about the service. More info: mdns.service variable.
 

Detailed Description

Description of a custom mDNS service.

Note
The strings supplied to this struct must persist through the life of the ZAP