Rtos API example
MDNS responder. More...
Go to the source code of this file.
Typedefs | |
| typedef void(* | service_get_txt_fn_t )(struct mdns_service *service, void *txt_userdata) |
| Callback function to add text to a reply, called when generating the reply. | |
Functions | |
| void | mdns_resp_init (void) |
| Initiate MDNS responder. | |
| err_t | mdns_resp_add_netif (struct netif *netif, const char *hostname, u32_t dns_ttl) |
| Activate MDNS responder for a network interface and send announce packets. | |
| err_t | mdns_resp_remove_netif (struct netif *netif) |
| Stop responding to MDNS queries on this interface, leave multicast groups, and free the helper structure and any of its services. | |
| err_t | mdns_resp_add_service (struct netif *netif, const char *name, const char *service, enum mdns_sd_proto proto, u16_t port, u32_t dns_ttl, service_get_txt_fn_t txt_fn, void *txt_userdata) |
| Add a service to the selected network interface. | |
| err_t | mdns_resp_add_service_txtitem (struct mdns_service *service, const char *txt, u8_t txt_len) |
| Call this function from inside the service_get_txt_fn_t callback to add text data. | |
| void | mdns_resp_netif_settings_changed (struct netif *netif) |
| Announce IP settings have changed on netif. | |
Detailed Description
MDNS responder.
Definition in file mdns.h.
Typedef Documentation
| typedef void(* service_get_txt_fn_t)(struct mdns_service *service, void *txt_userdata) |
Generated on Sun Jul 17 2022 08:25:35 by
1.7.2