I am using an RPi3 and has Ubuntu MATE running on it. I connected a Bluetooth device and I want to read data from the rfcomm0 port.
Since the device uses a special protocol, "cat /dev/rfcomm0" can show something but it is not readable. I want to write a java file that can read byte[] from rfcomm0. Is there any ways to reach this?
Thanks!