We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
void addServiceTxt(String name, String proto, String key, String value){ addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str()); }
should be
bool addServiceTxt(String name, String proto, String key, String value){ return addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str()); }
I'm trying to access txt of queried services can you give me an example ?
i found only String hostname(int idx); IPAddress IP(int idx); uint16_t port(int idx); to access queried services.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered:
I don't think mDNS library currently supports TXT queries. Looking at the code, only PTR queries are implemented.
Sorry, something went wrong.
The referenced functions still have the wrong return type in latest git.
AddServiceTxt returning bool (issue esp8266#1962)
5b2015c
AddServiceTxt returning bool (issue #1962) (#4507)
4e2e1f2
This is already fixed.
devyte
No branches or pull requests
void addServiceTxt(String name, String proto, String key, String value){
addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str());
}
should be
bool addServiceTxt(String name, String proto, String key, String value){
return addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str());
}
I'm trying to access txt of queried services can you give me an example ?
i found only
String hostname(int idx);
IPAddress IP(int idx);
uint16_t port(int idx);
to access queried services.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: