2 Replies Latest reply on Apr 8, 2016 4:14 AM by dhritiman.kashyap

    I can not transfer data with out endpoint

    elegoqq_1606796

      Dear sir!

         

         I have constructed the device , and get the device descriptor successfully.But when i transfer data,it failed.

         

      The code is as followed:

         

      CCyUSBDevice *USBDevice = new CCyUSBDevice(NULL)
       
      unsigned char buf[] = "hello  world";
      LONG length = 11;
       
      if (USBDevice->BulkOutEndPt)
      USBDevice->BulkOutEndPt->XferData(buf, length);

         

      My computer OS is windows10(x64),and the device driver is according to the OS(\Drivers\Win10\x64\cyusb3.sys).

         

      My IDE is VS2015 community.