登录
首页 » CSerialPort,c++ » C++串口类

C++串口类

于 2022-06-25 发布 文件大小:12.96 kB
0 37
下载积分: 2 下载次数: 1

代码说明:

This class can read, write and watch one serial port. ** It sends messages to its owner when something happends on the port ** The class creates a thread for reading and writing so the main ** program is not blocked. 改进 **    1) 增加ClosePort **    2) 增加 writetoProt() 两个方法 **    3) 增加 SendData 与 RecvData 方法 改进  **    1)增加 ClosePort中交出控制权,防止死锁问题  **    2) 增加 ReceiveChar中防止线程死锁  改进 **    1) 解决COM10以上端口无法显示的问题 **    2) 扩展可选择端口,最大值MaxSerialPortNum可以自定义 **    3) 添加QueryKey()和Hkey2ComboBox两个方法,用于自动查询当前有效的串口号

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C++串口类
    This class can read, write and watch one serial port. ** It sends messages to its owner when something happends on the port ** The class creates a thread for reading and writing so the main ** program is not blocked. 改进 **    1) 增加ClosePort **    2) 增加 writetoProt() 两个方法 **    3) 增加 SendData 与 RecvData 方法 改进  **    1)增加 ClosePort中交出控制权,防止死锁问题  **    2) 增加 ReceiveChar中防止线程死锁  改进 **    1) 解决COM10以上端口无法显示的问题 **    2) 扩展可选择端口,最大值MaxSerialPortNum可以自定义 **    3) 添加QueryKey()和Hkey2ComboBox两个方法,用于自动查询当前有效的串口号
    2022-06-25 22:55:01下载
    积分:1
  • 696532资源总数
  • 103709会员总数
  • 38今日下载