简体   繁体   中英

Serial Port insertion/removal detection jssc library

How to detect removal or insertion of serial port during normal operation? I am using jssc library in my Java Swing application.

I know about the exception part but it is not working according to the condition.

I've already mentioned this in the comments, but I'll add an answer for anyone else who might stumble across this question in the future.

According to the accepted answer for 'Can Java JSSC library detect a lost connection?'

The jssc does not have hot plug or device removal like mechanism

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM