I am getting an error when using the library on a Raspberry3, connecting to a serial port (/dev/ttyACM0).
The error is : Inappropriate ioctl for device when scm.configureComPortControl is called as below.
I tested the port with other libraries and it works so I am sure the serial port is set up correctly.
I am getting an error when using the library on a Raspberry3, connecting to a serial port (/dev/ttyACM0). The error is : Inappropriate ioctl for device when scm.configureComPortControl is called as below. I tested the port with other libraries and it works so I am sure the serial port is set up correctly.
` private void setSerialComms(String portName, BAUDRATE baudRate, DATABITS dataBits, STOPBITS stopBits, PARITY parity, FLOWCONTROL flowControl) {