摘要: UsbInterfaceusbInterface=usbDevice.getInterface(0);//USBEndpoint为读写数据所需的节点UsbEndpointinEndpoint=usbInterface.getEndpoint(0);//读数据节点UsbEndpointoutEndpoint=usbInterface.getEndpoint(1);//写数据节点UsbDeviceConnectionconnection=usbManager.openDevice(usbDevice);connection.claimInterface(usbInterface,true);//发 阅读全文
posted @ 2014-01-26 18:52 梦星尘 阅读(9244) 评论(0) 推荐(1) 编辑