CyUSB.sys BulkInEndPt.XferData limitation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Is ControlEndpoint XferData limited to bMaxPacketSize?

   

If I call it with a length of 1024, will it send the full 1024 bytes?  I'm not seeing anything past the first packet.

0 Likes
3 Replies
Anonymous
Not applicable

Dreitz,

   

Your title is talking about Bulkinendpt and your question is talking about control endpoint. Please provide more information.

   

 

   

With regards to the limitation, I don't think there is a restriction. I've not really tested with 1024 byte payload but i've tested till 512 byte payload.

   

Regards,

   

Anand

0 Likes
Anonymous
Not applicable

Oops...

   

I'm using both.  Question applies to both I guess...

   

Is XferData limited to one packet size or will it send a full1024 without having to be called multiple times?

0 Likes
Anonymous
Not applicable

Unless and until and zero length packet or a short packet is sent in the middle you should be able to get 1024 bytes. You just have to take care that you give a long enough timeout value.

   

Regards,

   

Anand

0 Likes