DNS-SD

Github Repo C Header C source JS source
mongoose-os-libs/dns-sd mgos_dns_sd.h    

mgos_dns_sd_get_host_name

const char *mgos_dns_sd_get_host_name(void);

Return currently configure DNS-SD hostname.

mgos_dns_sd_advertise

void mgos_dns_sd_advertise(void);

Send a DNS-SD advertisement message now.

mgos_dns_sd_goodbye

void mgos_dns_sd_goodbye(void);

Send a goodbye packet

edit this doc