-
I have seen the same problem and solved it. See bug 2802458 for an explanation and a patch. If any of the project admins is reading this, perhaps this patch could be merged into the sources? I think the problem is maybe even serious enough for a maintenance release. Avetana is a great, useful project (I'm using it in http://offhand.sf.net) but after 23 months with no release it could use a...
2009-06-07 09:31:43 UTC by zenyatta
-
A few people in the forums have had problems with the fact that Bluez.createService() returns a C pointer, converted into a Java integer, as a handle to the service it has created. There are two problems with this:
1. On 64-bit systems, the pointer cannot be meaningfully converted since it is 64 bits long and a Java int is just 32 bits. This breaks compilation on 64-bit systems.
2. Java...
2009-06-07 09:19:48 UTC by zenyatta
-
Each time I try to build Avetana (once a few months) I waste some time before remembering that BIN_DIR has to be an absolute path - ./install fails when it is a relative one. I am therefore proposing a minor improvement in HOWTOCOMPILE to clarify this.
2009-06-07 08:41:56 UTC by zenyatta
-
Hi,
I had long used Avetana under Kubuntu 8.04 without any problems. When I switched to Kubuntu 8.10 the library would no longer run and recompiling failed: the symbol hci_local_name could not be resolved in BlueZ.cpp. I found out that it needs to be changed to hci_read_local_name - after that, compilation succeeds. I am attaching a patch that I created using 'diff -u' against...
2009-06-07 08:38:35 UTC by zenyatta
-
try making [(jint *)srh], the return type in line 1412 as (long)srh; in 64 bit pointers are 64bit and int are 32bit; jint is an integer, so make it long which is 64bit.
But i have other errors after that... STDC++ reference errors...
2008-01-23 08:08:39 UTC by nobody
-
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: de.avetana.bluetooth.stack.BlueZ.cancelInquiry()V
at de.avetana.bluetooth.stack.BlueZ.cancelInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent.cancelInquiry(DiscoveryAgent.java:265)
code:
discoveryAgent.cancelInquiry(this);
Using Ubuntu 7.10
avetanaBluetooth version 1.3.17.
2007-12-27 17:21:15 UTC by francisdb
-
Works fine on a 32 bits system.
2007-11-27 16:36:14 UTC by nobody
-
On a Ubuntu 7.10 64 bits, with Java 1.6:
make[1]: entrant dans le répertoire « /home/eric/Bluetooth/avetanabt/c »
javah -jni -classpath /home/eric/Bluetooth/avetanabt/binaries/avetanaBT.jar de.avetana.bluetooth.stack.BlueZ
g++ -shared -lbluetooth -I /usr/lib/jvm/java-6-sun//include -I /usr/lib/jvm/java-6-sun//include/linux BlueZ.cpp -o...
2007-11-18 15:03:04 UTC by nobody
-
I've tried to install avantana (downloaded from sourceforge) on a Mac OS X machine but I get a "install libbluetooth" error.
As far as I know libbluetooth is Linux-only, so I guess I've downloaded the wrong version.
Where can I find the Mac OS X version?
I tried to submit the form from the avantana website but the file downloaded is a .JAR...
Thanks for any help...
2007-10-20 18:50:03 UTC by nobody
-
The project page doesn't mention the license:
http://sourceforge.net/projects/avetanabt
So, everyone who wants to know has to download it first.
It's GPL, which means it's useless for me. Thanks for wasting my time. :P.
2007-09-04 23:36:40 UTC by amphi