I can get Device Descriptor :
bcdUSB: 0x0200
bDeviceClass: 0xEF
bDeviceSubClass: 0x02
bDeviceProtocol: 0x01
bMaxPacketSize0: 0x40 (64)
idVendor: 0x045E (Microsoft Corporation)
idProduct: 0x0728
bcdDevice: 0x0100
iManufacturer: 0x01
0x0409: "Microsoft"
iProduct: 0x02
0x0409: "Microsoft LifeCam VX-5000"
0x0409: "Microsoft LifeCam VX-5000"
iSerialNumber: 0x00
bNumConfigurations: 0x01,
How to get the type of USB(phone,USB flash disk,Wireless network card,ect.) through the USB device descriptor? (Forgive my clumsy English.My mother tongue is not English.)
This is the parameter of my iphone and my usb drive. What parameters should I use to distinguish different devices? BDeviceClass doesn't seem to work?