Skip to content

Monitoring the insertion and removal of serial port devices on Windows. 监听Windows上串口设备的插入和拔出

License

Notifications You must be signed in to change notification settings

BaoZR/serial_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serial_monitor

en English | zh_CN 简体中文

The library is used for monitoring the insertion and removal of serial port devices on Windows. The principle is to start a thread to monitor Windows messages.

A demo was released for demonstration demo A library was published for use lib

image

The main header file is serial_monitor_lib

Function Introduction :

Function Name Description
device_change_progress The status callback function of the monitor needs to be passed into the monitor_init initialization function. When a serial device is inserted or pulled out, it returns device status information.
monitor_init Used to initialize the monitoring listener. Because the listening is single-window, please don't call it repeatedly.
monitor_terminate Used to destroy the listener.

About

Monitoring the insertion and removal of serial port devices on Windows. 监听Windows上串口设备的插入和拔出

Resources

License

Stars

Watchers

Forks

Packages

No packages published