2.2.2 AppWFDConnectionIE Message

The AppWFDConnectionIE message is sent by using the M7 and M8 vendor-extensible fields, defined in WFSimple [WF-WSC2.0.2] sections 8.3.8 and 8.3.9 respectively, after an application has requested a connection with a proximate device.


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

VendorExtensionAttributeType

cbLength1

WPSOUI

PortAndIPAddrType

...

cbLength2

PortAndIPAddr (variable)

...

...

ListenerIntentType

cbLength3

ListenerIntent (variable)

...

...

VendorExtensionAttributeType (2 bytes):  This field indicates the vendor extension attribute type for the WPS organizationally unique identifier (OUI), as specified in [IEEE-OUI]. The field MUST be set to the value 0x1049 and MUST be specified in big-endian byte order.

cbLength1 (2 bytes):  This field indicates the remaining size of the message in bytes. This field MUST be specified in big-endian byte order.

WPSOUI (3 bytes): This field indicates the WPS OUI. The field MUST be set to the value 0x000137 and MUST be specified in big-endian byte order.

PortAndIPAddrType (2 bytes): This field indicates that the TLV contains a port and an IP address. The field MUST contain the value 0x1009 and MUST be specified in big-endian byte order.

cbLength2 (2 bytes):  This field indicates the size of the PortAndIPAddr field in bytes.

PortAndIPAddr (variable): This field contains the TCP port and the IP address in the following format:


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

Port

IP Address (variable)

...

...

The port MUST be specified in big-endian byte order.

ListenerIntentType (2 bytes):  This field indicates that the TLV contains the listener intent. The field MUST contain the value 0x100A and MUST be specified in big-endian byte order.

cbLength3 (2 bytes): This field indicates the size of the ListenerIntent field in bytes. This field MUST be specified in big-endian byte order.

ListenerIntent (variable): This field contains the listener intent of the peer. The peer with a higher listener intent value MUST become the listener for the TCP connection and the other peer MUST connect to the listener peer. When the two listener intent values are the same, the device with the numerically larger media access control address (MAC address) MUST become the client for the connection.<1>