2.2.8.5 IP Address Attribute

The IP Address attribute specifies an IP address of the Miracast Sink. This attribute can occur zero or more times in the Vendor Extension attribute. The set of IP addresses included in the Vendor Extension attribute SHOULD<1> be the same set as the Sink’s mDNS responder would provide to an mDNS requester.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

AttributeID

Length

IPAddress (variable)

...

...

AttributeID (2 bytes): The IP Address attribute ID, which is 0x2005.

Length (2 bytes): The length of the IPAddress field, in bytes.

IPAddress (variable): An IP address string, encoded in ASCII. The supported address formats are IPv4 in dotted decimal notation ([RFC1123] section 2.1) and IPv6 ([RFC4291] section 2.2).