- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
this is one part of my pc coding which use libusb-win32. for (bus = usb_get_busses(); bus; bus = bus->next){
for (dev = bus->devices; dev; dev = dev->next)
{
if (dev->descriptor.idvendor == 0x0471)
{
udev = usb_open(dev);
printf ("success opening!\n");}
else
printf("can't open descriptor.idvendor == 0x0471\n");
}
} the 0x0471 is define in my firmware coding:DeviceDescriptor[4]=0x0471; For my pc coding, it can't open dev->descriptor.idvendor == 0x0471; what shall i do to make it success openning 0x0471? Does i need include the related defined device descriptor in my firmware coding to my pc coding? your help will be very much appreciated!! Thanks and regards, Summer
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page