bastiklee / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

Add/patch support for CTS events for ARM-based devices #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

- There is a sample SerialPortEventListener handling the CTS events:
...
 public void serialEvent(SerialPortEvent event) {
  if (event.isCTS() && event.getEventValue() == 0) {
   // handle port disconnect
  }
 }
...

This works o.k. on a desktop Ubuntu, but no events are triggered on Raspberry 
PI (Java 1.7). 

What is the expected output? 

- Corresponding SerialPortEvent triggered when device is disconnected from open 
port on Raspberry PI.

What do you see instead?

- No CTS events at all.

What version of the product are you using? On what operating system?

- jSSC-2.6.0-Release
Please provide any additional information below.

Original issue reported on code.google.com by jaro.pul...@googlemail.com on 8 Oct 2013 at 2:04