diff --git a/src/lib/mdns/platform/Mdns.h b/src/lib/mdns/platform/Mdns.h index 778fcb19f643ee..8f2c4d4b7250f7 100644 --- a/src/lib/mdns/platform/Mdns.h +++ b/src/lib/mdns/platform/Mdns.h @@ -35,12 +35,12 @@ namespace chip { namespace Mdns { -static constexpr uint8_t kMdnsNameMaxSize = 33; // [Node]-[Fabric] ID in hex - 16+1+16 -static constexpr uint8_t kMdnsProtocolTextMaxSize = 4; // "_tcp" or "_udp" -static constexpr uint8_t kMdnsTypeMaxSize = 6; // "_chip", "_chipc" or "_chipd" +static constexpr uint8_t kMdnsNameMaxSize = 33; // [Node]-[Fabric] ID in hex - 16+1+16 +static constexpr uint8_t kMdnsProtocolTextMaxSize = 4; // "_tcp" or "_udp" +static constexpr uint8_t kMdnsTypeMaxSize = 6; // "_chip", "_chipc" or "_chipd" static constexpr uint8_t kMdnsTypeAndProtocolMaxSize = kMdnsTypeMaxSize + kMdnsProtocolTextMaxSize + 1; // . -static constexpr uint8_t kMdnsTextKeyMaxSize = 9; -static constexpr uint16_t kMdnsTextMaxSize = 64; +static constexpr uint8_t kMdnsTextKeyMaxSize = 9; +static constexpr uint16_t kMdnsTextMaxSize = 64; enum class MdnsServiceProtocol : uint8_t {