最終更新:2018-05-18 (金) 15:11:43 (2169d)  

bmRequestType
Top / bmRequestType

ビット意味
7データ転送方向0: ホストからデバイス
1: デバイスからホスト
6リクエストタイプ0: 標準リクエスト?
1: クラスリクエスト
2: ベンダリクエスト?
3: Reserved
5
4リクエストの対象0: デバイス
1: インターフェイス
2: エンドポイント
3: Other
4~31: Reserved
3
2
1
0

  • 16進10進2進方向タイプ対象
    0x80128100000001 Device to Host00 Standard Request0000 DeviceGET_DESCRIPTOR(DEVICE)
    0x82130100000101 Device to Host00 Standard Request0010 InterfaceGET_DESCRIPTOR(REPORT)
    0x0001000000000 Host to Device00 Standard Request0000 DeviceSET_ADDRESS
    0x0101000000010 Host to Device00 Standard Request0001 InterfaceSET_INTERFACE
    0x2133001000010 Host to Device01 Class Request0001 Interface
    0xA1161101000011 Device to Host01 Class Request0001 InterfaceGET_DEF
    0x4064010000000 Host to Device10 Vendor Request0000 DeviceUSB/ベンダリクエスト
    0xC0192110000001 Device to Host10 Vendor Request0000 DeviceUSB/ベンダリクエスト

関連