1
2
3
4
5
6
7
8
9
    ret = libusb_control_transfer(hdev,              /* device handle */
                                  0x00,              /* bmRequestType */
                                  0x09,              /* bRequest */
                                  1,                 /* wValue */
                                  0,                 /* wIndex */
                                  0,                 /* data */
                                  0,                 /* wLength */
                                  512                /* timeout */
                                 );