bquanhuang / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

BlueCove doesn't work with Bluez v 4.x #53

Closed GoogleCodeExporter closed 8 years ago

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

Everything with the stack.

What is the expected output? What do you see instead?

When I try to use it, I have this exception:
javax.bluetooth.BluetoothStateException: BlueCove
com.intel.bluetooth.BluetoothStackBlueZ not available.

What BlueCove version are you using (include build number for SNAPSHOT)? On
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?

I just installed the new Ubuntu 8.10. With it, I have the new Bluez stack
4.12. Apparently it isn't totaly compatible with the 3 version. it is why I
installed "BlueZ 3.x compatibility binaries" too. Despite this package, I
still can't use BlueCove.

What BlueCove version are you using (include build number for SNAPSHOT)? On
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?

I'm usigne BlueCove 2.03.99 jar with the GPL version for Linux.
I have Java 1.6.0_10 32 bits.

Please provide any additional information below.

I was using BlueCove 2.03 with Ubuntu 8.04 and Bluez 3.x and it worked
fine. If a package for compatibility is provided, I can deduce that the
stack has changed. So I think BlueCove don't support the new stack. 

Original issue reported on code.google.com by nocia....@gmail.com on 13 Nov 2008 at 12:21

GoogleCodeExporter commented 8 years ago
You need to compile current BlueCove code on your system for it to work on 
BlueZ v4!
We fixed the compilation but need to work on binary compatibility. 
The build on build server still is for BlueZ v3 only

Also see discussions in developers group. We need a help fixing this last 
problem.

Original comment by skarzhev...@gmail.com on 14 Nov 2008 at 9:55

GoogleCodeExporter commented 8 years ago
Yes, I should have tried to compile before asking you... 
It's perfectly working :-)

Thank you for your help and for this excellent project.

Original comment by nocia....@gmail.com on 15 Nov 2008 at 6:29

GoogleCodeExporter commented 8 years ago
Build server is changed to produce compatible library:

ldd libbluecove.so
    libbluetooth.so => /usr/lib/libbluetooth.so

Original comment by skarzhev...@gmail.com on 22 Dec 2008 at 8:17

GoogleCodeExporter commented 8 years ago

Original comment by skarzhev...@gmail.com on 26 Dec 2008 at 3:48

GoogleCodeExporter commented 8 years ago
I used to have the same problems. After searching for solutions, I found that 
someone
recommended to recompile the source codes. This was very difficult. I found 
that this
was more easy and worked well (for me). Just do this:

udo ln -s /usr/lib/libbluetooth.so /usr/lib/libbluetooth.so.2

This is done in order to  make a symbolic link so Bluecove works with bluez 4. 

Original comment by kurdthon...@gmail.com on 14 Aug 2009 at 9:27

GoogleCodeExporter commented 8 years ago
You should install the bluetooth development library to have this symbolic link 
created.
refer to http://www.bluecove.org/bluecove-gpl/index.html

Original comment by minasho...@gmail.com on 14 Aug 2009 at 11:17