首页>
外国专利>
METHOD AND APPARATUS FOR REALIZING USB COMMUNICATION
METHOD AND APPARATUS FOR REALIZING USB COMMUNICATION
展开▼
机译:实现USB通信的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
The disclosure provides a method and an apparatus for realizing USB communication; the method includes: step S1, when receiving a command sent by a host computer, a device determines a type of the command and returns enumerated general information of the device to the host computer if the command is an enumerating command, go back to step S1; if the command is a setting report command, the device acquires response data according to the setting report command and stores the response data, go back to step S1; if the command is a getting report command, the device selects a corresponding report size according to a size of current response data, acquires a second report identification corresponding to the report size, generates return data according to the acquired second report identification and the current response data and sends the return data to the host computer, go back to step S1.
展开▼