Anonymous
Not applicable
Feb 03, 2016
02:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 03, 2016
02:13 PM
Hi there,
I create a file handle for cypress device using CreateFile.
rx=CreateFile(devpath, GENERIC_READ, FILE_SHARE_READ,NULL,OPEN_EXSITING,0,NULL).
Now I want to bind the handle 'rx' with a specific usb endpoint, say 0x81.
But I didn't find IOCTL_xxx code that can bind a handle with a endpoint in cyioctl.h.
And there is no example codes in cypress's website. How can I achieve this?
Thank you.
1 Reply
Anonymous
Not applicable
Feb 09, 2016
02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 09, 2016
02:58 AM
Hi,
Please refer the control center';s source code to store the data from an endpoint into a file.
Refer the FileXferBtn_Click event function
Regards,
- Madhu Sudhan