Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
amrita
Posts: 1
Registered: ‎05-19-2009
My Device: Not Specified

USBClient is not able to recieve large chunk of data...Please Help Regarding This!!!!

Hi ,

 

I am using BlackBerry Desktop API's (USBCLient.cpp) on the desktop side to acess the data which is sent by USBDemo app on Blackberry device side.. The problem is it works fine when i  send simple messages such as "Hello from PC"  "Hello from Device " and so on but   when USBDemo app send large chunk of data (such as a xml data nearly 3000 bytes)  USBClient recieves only limited data.It does not recieve the whole data...

 

Anyone Please Suggest a solution for the same.

 

Thanks in advance....

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: USBClient is not able to recieve large chunk of data...Please Help Regarding This!!!!

Split your big data block to the sequence of smaller blocks and send them one after another.
Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: USBClient is not able to recieve large chunk of data...Please Help Regarding This!!!!

While I'm trying to get source code for the old DB we had on our Z-80 computers in high school, I'll also find the code

to drive the UART for the RS-232 connector...

But, yeah, often serial port buffering can be an issue.