We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83d35a3 commit 7e88bf0Copy full SHA for 7e88bf0
src/lib/dnssd/Constants.h
@@ -29,7 +29,12 @@ namespace Dnssd {
29
* Matter DNS host settings
30
*/
31
32
-inline constexpr size_t kHostNameMaxLength = 16; // MAC or 802.15.4 Extended Address in hex
+// Matter spec expects hostname to be MAC or 802.15.4 Extended Address in hex.
33
+// But in latest android nsdManager, it would set hostname with 40 bytes with prefix as android_,
34
+// and there is no existing API to update the hostname, therefore we put temporary workaround with 40 bytes.
35
+// Follow-up with ticket issue https://github.com/project-chip/connectedhomeip/issues/33474
36
+inline constexpr size_t kHostNameMaxLength = 40;
37
+//
38
39
/*
40
* Matter DNS service subtypes
0 commit comments