1

When retrieving available serial ports using the Rxtx library (see second example), the close() method will block, even if the port has been successfully opened.

How do I set a timeout on the close operation so I won't be stuck? Note that these methods are very poorly documented.

Note that I just found this relevant thread. I'll report back soon.

Update -

Here's another thread. Still no luck yet...

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
mre
  • 43,520
  • 33
  • 120
  • 170
  • 1
    You might be interested in an alternative library I've authored: http://code.google.com/p/jperipheral – Gili Jan 20 '12 at 21:01
  • @Gili, Very interesting, I'll definitely take a look! Thanks :D – mre Jan 21 '12 at 00:07

0 Answers0