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

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Figure 8-7. Wire Adapter Host Controller State Diagram

Table 8-9. Wire Adapter Enabled Behavior

WA Type

Behavior

 

 

DWA

Parses Schedule

 

Sends SOFs

 

 

HWA

Parses Schedule

 

Sends MMCs

 

 

It is a Request Error if wValue or wLength are other than as specified above.

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

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

8.3.1.7 Set RPipe Descriptor

This request sets the related attributes of specified RPipe.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

00100101B

SET_DESCRIPTOR

Descriptor Type

RPipe Index

Descriptor

RPipe Descriptor

 

 

 

 

Length

 

The host supplies the new RPipe settings in the RPipe descriptor it sends in the data phase. The lower byte of wValue must be set to zero and the RPipe Index is given in the lower twelve bits of the wIndex field.

It is a Request Error if the RPipe is not in the Idle or UnConfigured state when this command is received. It is a Request Error if wLength is not equal to the RPipe Descriptor length.

It is a Request Error if wValue or wIndex are other than as specified above.

210

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

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

8.3.1.8 Set RPipe Feature

This request sets the specified RPipe to the specified RPipe state.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

00100101B

SET_FEATURE

Feature Selector

RPipe Index

Zero

None

 

 

 

 

 

 

The wIndex field contains an RPipe Index. The RPipe index must be a valid RPipe index for that Wire Adapter.

Setting a feature enables that feature; see Table 8-6 for the feature selector definitions that apply to an RPipe as a recipient. Features that can be set with this request are:

RPIPE_PAUSE

It is a Request Error if wValue is not a feature selector listed in Table 8-6, if wIndex specifies an RPipe that does not exist, or if wLength is not as specified above.

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

8.3.1.9 Set Wire Adapter Feature

This request is used to set or enable a specific feature.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

00100001B

SET_FEATURE

Feature

Interface

Zero

None

 

 

Selector

Number

 

 

The lower byte of wIndex contains the target interface number. Setting a feature enables that feature or starts a process associated with that feature; see Table 8-6 for the feature selector definitions that apply to the Wire Adapter as a recipient. Features that can be set with this request are:

WIRE_ADAPTER_ENABLE

WIRE_ADAPTER_RESET

It is a Request Error if wValue is not a feature selector listed in Table 8-6 or wLength is not as specified above. If the interface specified does not exist, then the device responds with a Request Error.

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

8.3.1.10Reset RPipe

This request resets the specified RPipe to a known state.

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

00100101B

RESET_RPIPE

Zero

RPipe Index

Zero

None

 

 

 

 

 

 

This request resets an RPipe in the Idle state. After reset, the RPipe will transition to the UnConfigured state and transfer sequencing mechanism for the RPipe will be reset to its start state.

The host must either wait for pending transfers to drain or abort the pending transfers on this RPipe with the ABORT_RPIPE request (see Section 8.3.1.1) before sending this request.

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

If the RPipe is not in an Idle state, the Wire Adapter’s response to this request is undefined.

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

211

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