Скачиваний:
32
Добавлен:
02.05.2014
Размер:
3.51 Mб
Скачать

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

If the endpoint specified does not exist, then the device responds with a Request Error.

If the Device Wire Adapter is not configured, the Device Wire Adapter’s response to this request is undefined.

8.4.4.4 Set Port Feature

This request sets a value in the reported port status.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

00100100B

SET_FEATURE

Feature

Selector and

Zero

None

 

 

Selector

Port Index

 

 

 

 

 

 

 

 

The wIndex field contains a Selector in the upper byte and a Port Index in the lower byte. The port index must be a valid port index for that Device Wire Adapter, greater than zero.

Setting a feature enables that feature or starts a process associated with that feature; Table 11-17 in the USB 2.0 specification for the feature selector definitions that apply to a port as a recipient. Features that can be set with this request are:

PORT_RESET

PORT_SUSPEND

PORT_POWER

PORT_TEST

PORT_INDICATOR

See Section 11.24.2.2 of the USB 2.0 Specification for a detailed description on the usage of the Selector in wIndex.

It is a Request Error if wValue or wLength are other than as specified above or if wIndex specifies a Port that does not exist.

If the Device Wire Adapter is not configured, the Device Wire Adapter’s response to this request is undefined.

8.4.5 DWA Notification Information

Device Wire Adapters must send back notifications on its Notification Endpoint for Remote Wake and Port Status Changes. The format of each notification is detailed below.

8.4.5.1 Remote Wake

When the Device Wire Adapter detects a remote wake from any of its downstream connected devices and it is armed for remote wake then it should send a Remote Wake notification to the host. The format of this notification is shown in Table 8-37.

Table 8-37. Remote Wake Notification

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

2

Length of this block of data

 

 

 

 

 

1

bNotifyType

1

91H

NOTIFY_TYPE_RWAKE

 

 

 

 

 

232

Соседние файлы в папке Wireless USB Specification Revision 1.0 May 12, 2005