0
votes

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.

1
it's not the duplicate of that post first of all . My approach is different from that ... I am not depending on any uC to reply back . i am only asking from the jSSC side ...MEC
Maybe I misunderstood what you were asking, but the accepted answer to the referenced question was suggesting a workaround that involved the uC because, "jssc does not have hot plug or device removal like mechanism"Jason Braucht
Okay! .... Thanks alot for you time :) .. then i have to change my approach ... thanks againMEC

1 Answers

1
votes

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