How to set the mDNS instance name

huoxingdigua
Posts: 3
Joined: Thu Jun 01, 2023 11:10 pm

How to set the mDNS instance name

Postby huoxingdigua » Wed Oct 04, 2023 9:01 am

The default mDNS instance name is the service name with -xx number suffix. How to change it from AT command?

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: How to set the mDNS instance name

Postby esp-at » Sat Oct 07, 2023 11:43 am

instance name is set by mdns_service_add(), and it should be same as the service name. could you please provide more details, such as logs and capture the packets, etc.

huoxingdigua
Posts: 3
Joined: Thu Jun 01, 2023 11:10 pm

Re: How to set the mDNS instance name

Postby huoxingdigua » Tue Oct 17, 2023 6:27 am

Thanked your reply.
My question is how to change it by AT command.

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: How to set the mDNS instance name

Postby esp-at » Mon Nov 06, 2023 6:51 am

you could change service name by AT+MDNS command: https://docs.espressif.com/projects/esp ... s-function

Who is online

Users browsing this forum: No registered users and 16 guests