Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdns stop respond after 2-3 minutes #374

Open
rootmax84 opened this issue Apr 12, 2023 · 2 comments
Open

mdns stop respond after 2-3 minutes #374

rootmax84 opened this issue Apr 12, 2023 · 2 comments

Comments

@rootmax84
Copy link

So.. I use this code for test, no matter what sdk version, i try 2.2.1, 3.0.5, 3.0.6 same behaviour

static struct mdns_info *mdns;
static void ICACHE_FLASH_ATTR startMDNS(struct ip_addr ip) {
mdns = (struct mdns_info *)os_zalloc(sizeof(struct mdns_info));
mdns->host_name = "espTest";
mdns->server_name = "http";
mdns->server_port = 80;
mdns->ipAddr = ip.addr;
mdns->txt_data[0] = "model=test";
espconn_mdns_init(mdns);
}

esp respond for their name for a while, than stops responding. If i run mdns-scan from debian esp start responding again for 2-3 minutes and than stops again. It's a bug or feature? :)

@fvpalha
Copy link

fvpalha commented May 8, 2024

Hi @rootmax84 ,
Do you resolved this issue?

@rootmax84
Copy link
Author

Hi, @fvpalha, nope and i think it's unlikely to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants