I wrote two small java programs and I was able to use Bluetooth to send messages between two laptops. I used a jar file called bluecove.
I tried running the same java program on the DragonBoard but I get the error message:
ative Library bluecove_aarch64 not available
Exception in thread “main” javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available;
resource not found libbluecove_aarch64.so
load [bluecove_aarch64] no bluecove_aarch64 in java.library.path: [/usr/java/packages/lib, /usr/lib/aarch64-linux-gnu/jni, /lib/aarch64-linux-gnu, /usr/lib/aarch64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
I have jar files bluecove-2.1.1-SNAPSHOT.jar and bluecove-gpl-2.1.0.jar in the classpath.
I have done an install of libbluetooth-dev