Menu

How do I get CDC Union values?

Help
2009-01-30
2012-12-06
  • Mark Swanson

    Mark Swanson - 2009-01-30

    lsusb -v gives data like this:

    ...
    Interface Descriptor:
      ...
          CDC Union:
            bMasterInterface        6
            bSlaveInterface         7

    I need to get these values but can not find out how to do this with java libusb.
    Please let me know how.
    Without these values it's not possible to get the correct endpoint descriptors.

     
    • andi

      andi - 2009-02-02

      Is it a communications device? As this most likely not a standard descriptor the values are not interpreted. But you can get the values with the getter getExtra() on the Usb_Interface_Descriptor class as byte array.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.