Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The OOB Device Info Attribute format defines device information in either the WiFiDirectListenBlob in an OOB Connector Service ACK message (section 2.2.4) or the WiFiDirectConnectBlob in an OOB Connector Service Activation message (section 2.2.5). The OOB Device Info Attribute Format is specified as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AttributeID |
Length |
P2PDeviceAddress |
|||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
ConfigMethods |
PrimaryDeviceType |
|||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
DeviceCapabilities |
||||||||||||||||||||||||||||||
DeviceName (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
AttributeID (1 byte): The type of OOB attribute, as defined in section 2.2.4.2. This value is 0x01 for the OOB Device Info Attribute format.
Length (2 bytes): The length, in bytes, of the following fields.
P2PDeviceAddress (6 bytes): An identifier that uniquely references a peer-to-peer device [WF-P2P1.2].
ConfigMethods (2 bytes): The Wi-Fi Simple Configuration (WSC) methods [WF-WSC2.0.2] that are supported by this device. Byte ordering within the ConfigMethods field is big-endian.
PrimaryDeviceType (8 bytes): The primary device type of the peer-to-peer device in the following format. Byte ordering within the PrimaryDeviceType field is big-endian.
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1CategoryID
OUI
...
SubcategoryID
-
CategoryID (2 bytes): The vendor-independent main device category identifier. The predefined values for this field and the corresponding values for the SubcategoryID field are shown in the following table. Note that there is no way to indicate a vendor-specific main device category. The organizationally unique identifier (OUI) [IEEE-OUI] value in the OUI field applies only to the interpretation of the subcategory value.
-
Main device category
CategoryID
Device subcategory
SubcategoryID
Computer
1
PC
1
Server
2
Media Center
3
Input Device
2
Printers, Scanners, Faxes, and Copiers
3
Printer
1
Scanner
2
Camera
4
Digital Still Camera
1
Storage
5
NAS
1
Network Infrastructure
6
Access point
1
Router
2
Switch
3
Displays
7
Television
1
Electronic Picture Frame
2
Projector
3
Multimedia Devices
8
DAR
1
PVR
2
MCX
3
DMR
4
Gaming Devices
9
Xbox
1
Xbox360
2
Playstation
3
Telephone
10
Windows Mobile
1
-
-
OUI (4 bytes): The OUI of the device. For the predefined values specified in the CategoryID field, the Wi-Fi Alliance byte values 0x00 0x50 0xF2 0x04 are used.
-
SubcategoryID (2 bytes): The vendor-specific device subcategory identifier. The predefined values for this field are specified in the preceding table.
DeviceCapabilities (1 byte): The capabilities of the peer-to-peer device.
DeviceName (variable): A UTF-8 string that specifies the friendly name of the peer-to-peer device. Byte ordering within the DeviceName field is big-endian.