Can Java JSSC library detect a lost connection?

北慕城南 提交于 2019-12-11 04:23:59

问题


I know serial ports are not so good but still a little hope... I am using JSSC library for communication.

Does the JSSC library have a method to detect when an established connection is lost due to hardware removal?


回答1:


The jssc does not have hot plug or device removal like mechanism. Give details of your hardware and we may think of some work around.



来源:https://stackoverflow.com/questions/40629180/can-java-jssc-library-detect-a-lost-connection

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!