Skip to content

The latest modified version of Remon Spekreijse's serial port class

Notifications You must be signed in to change notification settings

leexuan/CSerialPort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSerialPort

First Version by Remon Spekreijse on 2000-02-08 http://www.codeguru.com/cpp/i-n/network/serialcommunications/article.php/c2483/A-communication-class-for-serial-port.htm

Second Version by mrlong on 2007-12-25 https://code.google.com/p/mycom/

  • 增加 ClosePort
  • 增加 WriteToPort 两个方法
  • 增加 SendData 与 RecvData 方法

by liquanhai on 2011-11-04 http://blog.csdn.net/liquanhai/article/details/4955253

  • 增加 ClosePort 中交出控制权,防止死锁问题

by liquanhai on 2011-11-06 http://blog.csdn.net/liquanhai/article/details/6941574

  • 增加 ReceiveChar 中防止线程死锁

by viruscamp on 2013-12-04 https://github.com/viruscamp/CSerialPort

  • 增加 IsOpen 判断是否打开
  • 修正 InitPort 中 parity Odd Even 参数取值错误
  • 修改 InitPort 中 portnr 取值范围,portnr>9 时特殊处理
  • 取消对 MFC 的依赖,使用 HWND 替代 CWnd,使用 win32 thread 函数而不是 MFC 的
  • 增加用户消息编号自定义,方法来自 CnComm

by liquanhai on 2014-12-18

  • 增加一些处理措施,主要是对减少CPU占用率

About

The latest modified version of Remon Spekreijse's serial port class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%