Skip to content

Commit

Permalink
Increase dnssd kHostNameMaxLength to 40 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google committed May 15, 2024
1 parent f4e02d4 commit 3016369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dnssd/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace Dnssd {
* Matter DNS host settings
*/

inline constexpr size_t kHostNameMaxLength = 16; // MAC or 802.15.4 Extended Address in hex
inline constexpr size_t kHostNameMaxLength = 40; // The max host name length for dnssd in android

/*
* Matter DNS service subtypes
Expand Down

0 comments on commit 3016369

Please sign in to comment.