2.2.6 PIN Response Message

The PIN Response message is sent by a Miracast Sink to a Miracast Source in response to a PIN Challenge message. This message indicates to the Source whether the PIN in the challenge message matched the displayed PIN.


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

Size

Version

Command

TLVArray (variable)

...

...

Size (2 bytes): The size of the entire message, in bytes.

Version (1 byte): The version of this protocol, which is 0x01.

Command (1 byte): The type of message, which is 0x06 for PIN_RESPONSE.

TLVArray (variable): The following TLVs, included in any order:

  • Source ID TLV (section 2.2.7.3)

  • PIN Challenge TLV (section 2.2.7.6)

  • PIN Response Reason TLV (section 2.2.7.7)