itas109
itas109
I think it is linux kernel's PAGESIZE problem. PAGESIZE = 64k on cetos 7 aarch64 (redhat 7) but, PAGESIZE = 4K on other linux(such debian aarch64) PAGESIZE = 4K on...
时间间隔过短会有问题 是什么场景要求,必须要这么短的时间通信吗
好的 感谢反馈
感谢反馈 如果着急建议使用4.X版本
将sigslot的class导出可解决warning C4275
是的。目前m_readBufferSize没有使用到。主要是异步靠时间触发,缓冲区大小就暂时没有使用。
您好!能发一份出错的代码吗
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); ```
try 1. delete CSerialPort\src\SerialPortInfoWinBase.cpp ``` //#include //GUID_DEVINTERFACE_COMPORT ``` 2. use cmake compile Visual Studio 2013 - Windows XP (v120_xp) 32bit libcserialport.dll
``` //#include //GUID_DEVINTERFACE_COMPORT #ifndef GUID_DEVINTERFACE_COMPORT DEFINE_GUID(GUID_DEVINTERFACE_COMPORT, 0x86E0D1E0L, 0x8089, 0x11D0, 0x9C, 0xE4, 0x08, 0x00, 0x3E, 0x30, 0x1F, 0x73); #endif ```