different behavior respect .net 2.0 serialport
Status: Beta
Brought to you by:
yurochek
Hello, i don't know if this are bugs. I've worked with
.net 2.0 and serialportnet. And i've notice some
differences that make switching from one to the other
sometimes difficult.
1 - Default ReadBufferSize is much bigger in
serialportnet than in .net (in .net it's 4096 bytes)
Although in the code, it seems to be 512.
I receive a lot of chars in serial port before reading
and all are stored with serialportnet, with .net2.0
only the first 4096 are stored, the rest are lost.
2 - Default writing to the port does not wait to the
end of the operation as does .net 2.0 serialport class.
I hope it can help.
Jorge