Closed itas109 closed 2 years ago
Describe the bug read buffer size max 4096 on windows 在windows上读取缓冲区最大为4096
To Reproduce write more than 4096, CSerailPort only receive 4096 on windows 在windows上向串口写超过4096的数据,CSerailPort 只能收到4096的数据
Desktop (please complete the following information):
CSerialPort\src\SerialPortWinBase.cpp
bool CSerialPortWinBase::openPort()
After CreateFile add SetupComm could set max read buffer size, such as 8192
SetupComm(m_handle,8192,8192);
v4.2.0版本增加缓冲区大小设置
Describe the bug read buffer size max 4096 on windows 在windows上读取缓冲区最大为4096
To Reproduce write more than 4096, CSerailPort only receive 4096 on windows 在windows上向串口写超过4096的数据,CSerailPort 只能收到4096的数据
Desktop (please complete the following information):