Invention Application
- Patent Title: USB Device Communication Method, Device and System
- Patent Title (中): USB设备通信方式,设备和系统
-
Application No.: US14331627Application Date: 2014-07-15
-
Publication No.: US20140330992A1Publication Date: 2014-11-06
- Inventor: Shubin Li
- Applicant: Huawei Device Co., Ltd.
- Priority: CN201210076403.5 20120321
- Main IPC: G06F13/10
- IPC: G06F13/10 ; G06F13/20

Abstract:
A universal serial bus (USB) device communication method that relates to the field of communications includes: receiving, by a USB device, a device type query message sent by a peer device, where a human interface device (HID) descriptor and a HID report descriptor are added to a driver of the USB device; sending, by the USB device according to the HID descriptor and HID report descriptor, a query response message that carries a HID identifier to the peer device, where the HID identifier is used to enable the peer device to identify the USB device as a HID device; and encoding and encapsulating, by the USB device, data to be sent to generate a HID packet, and sending the HID packet to the peer device, or receiving a HID packet from the peer device, and decapsulating and decoding the received HID packet, where the HID packet carries a data type and data usage manner information.
Public/Granted literature
Information query