project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
323 stars 45 forks source link

mDNS fix: TXT records must not be empty #152

Closed lucasvr closed 5 months ago

lucasvr commented 5 months ago

According to RFC 6763, "An empty TXT record containing zero strings is not allowed. DNS-SD implementations MUST NOT emit empty TXT records."

By simply emitting a TXT record with a zero-length key-value pair, commissioning of devices based on the built-in mDNS implementation now succeeds when issued from Apple-based devices like the iPhone.

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.