views:

182

answers:

2

I'm working with the SerialPort class in the Compact Framework, but I can't recive more than 2047 bytes. Exists any limit for the amount of bytes that I can recive? or How can I setup the object? I was trying with the WriteBufferSize and ReadBufferSize properties but they didn't work.

+1  A: 

My guess is that it is either a processor or platform limitation. This post from the MSDN forums seems to confirm my suspicions.

Cory Foy
A: 

Can you set up a thread to pull the data into another (larger) buffer that you allocate yourself? I'd say that's the best workaround.

Coderer