OTG 2.0 HNP polling and GetStatus (OTG status)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In OTG 2.0, 6.2.3 GetStatus commands:

[
A host is required to use the GetStatus command (Table 6-3), with
wIndex set to the OTG status selector (Table 6-4) to request the Host
request flag (Table 6-5) from the peripheral (see Section 6.3). If the
B-device is not HNP capable, it shall return a STALL if it receives a
GetStatus command for the OTG feature selector.
]

It looks as if this is a standard USB 2.0 GetStatus() request with the
wIndex set to the "OTG status selector" (0xF000). But there is a
difference with the wLength, the USB 2.0 standard GetStatus()
specifies wLength as 2, but the GetStatus(OTG status) specifies as 1.
Is this kind of abnormal? Why it can't just use the same wLength ?

Thanks,
Cory
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux