BlueCove-bluez is additional module for BlueCove to support JSR-82 on Linux using D-Bus interfaces.
Compiled for i386 and x86-64 of the native BlueCove code (shared library) is included in jar distribution. Native shared library have been tested and should work on Ubuntu, OpenSUSE and Fedora. For other Linux distributions you may need to compile it yourself.
This module works with BlueZ version 3 and BlueZ version 4 using D-Bus interfaces.
This module require additional library Java D-Bus and its dependencies.
This module require Java 5 Standard Edition or later
JNI library for this modile is not linked with libbluetooth.so
N.B. Another BlueZ interfacing module bluecove-gpl available.
The diagram below shows the architecture used by this module
java -cp bluecove-2.1.1-SNAPSHOT.jar:bluecove-bluez-2.1.1-SNAPSHOT.jar:dbus.jar:unixsockets.jar:debug-disable.jar:hexdump.jar:yourApp.jar org.your.app.Main
API-Documentation for BlueCove Java docs. For application it is not recommended to use any classes or API other than defined in JSR-82.
API that enables the use of Multiple Adapters and Bluetooth Stacks in parallel in the same JVM is BlueCove specific, documentation can be found here.
JSR-82 extension bluecovepsm enables the use of specific PSM channel in L2CAP service. btl2cap://localhost;name=...;bluecovepsm=1007
BlueZ D-Bus API available in package `org.bluez.v3` and `org.bluez.v3` and can be used separately. API-Documentation Java docs.
Unix domain socket API available in package `org.bluecove.socket` and can be used independently from Bluetooth APIs.