My favorites | Sign in
Logo
                
Details: Show all Hide all

Last 7 days

  • Jan 02, 2010
    issue 94 (retrieveDevices of DiscovereyAgent always returns null) commented on by evoid.de   -   How is this supposed to help me? I think you did not understand what my problem is. I don't want to perform an inquiry for new devices, I just want to get a list of all the devices that are already paired with my system. Or do you want to say that I must perform an inquiry first anyway?
    How is this supposed to help me? I think you did not understand what my problem is. I don't want to perform an inquiry for new devices, I just want to get a list of all the devices that are already paired with my system. Or do you want to say that I must perform an inquiry first anyway?
  • Jan 02, 2010
    issue 94 (retrieveDevices of DiscovereyAgent always returns null) commented on by kanishka3001   -   import java.io.IOException; import java.util.Vector; import javax.bluetooth.DeviceClass; import javax.bluetooth.DiscoveryAgent; import javax.bluetooth.DiscoveryListener; import javax.bluetooth.LocalDevice; import javax.bluetooth.RemoteDevice; import javax.bluetooth.ServiceRecord; public class NewClass { private LocalDevice local = null; private DiscoveryAgent agent = null; public static void main(String[] args) { try { new NewClass().find(); } catch (Exception ex) { ex.printStackTrace(); } } public void find() throws Exception { local = LocalDevice.getLocalDevice(); agent = local.getDiscoveryAgent(); System.out.println("searching for devices..."); DeviceDiscoverer discoverer = new DeviceDiscoverer(); agent.startInquiry(DiscoveryAgent.GIAC, discoverer); Thread.sleep(40000); } } class DeviceDiscoverer implements DiscoveryListener { public static Vector devices = new Vector(); private RemoteDevice[] rDevices = null; int y = 0; public void deviceDiscovered(RemoteDevice remote, DeviceClass dClass) { try { devices.addElement(remote); System.out.println(remote.getFriendlyName(true)); } catch (IOException ex) { } } public void inquiryCompleted(int descType) { String message = ""; switch (descType) { case DiscoveryListener.INQUIRY_COMPLETED: message = "INQUIRY_COMPLETED"; break; case DiscoveryListener.INQUIRY_TERMINATED: message = "INQUIRY_TERMINATED"; break; case DiscoveryListener.INQUIRY_ERROR: message = "INQUIRY_ERROR"; break; } rDevices = new RemoteDevice[devices.size()]; for (int i = 0; i < devices.size(); i++) { rDevices[i] = (RemoteDevice) devices.elementAt(i); try { System.out.println(rDevices[i].getFriendlyName(true)); } catch (IOException ex) { } } } public void servicesDiscovered(int transId, ServiceRecord[] services) { } public void serviceSearchCompleted(int transId, int respCode) { } }
    import java.io.IOException; import java.util.Vector; import javax.bluetooth.DeviceClass; import javax.bluetooth.DiscoveryAgent; import javax.bluetooth.DiscoveryListener; import javax.bluetooth.LocalDevice; import javax.bluetooth.RemoteDevice; import javax.bluetooth.ServiceRecord; public class NewClass { private LocalDevice local = null; private DiscoveryAgent agent = null; public static void main(String[] args) { try { new NewClass().find(); } catch (Exception ex) { ex.printStackTrace(); } } public void find() throws Exception { local = LocalDevice.getLocalDevice(); agent = local.getDiscoveryAgent(); System.out.println("searching for devices..."); DeviceDiscoverer discoverer = new DeviceDiscoverer(); agent.startInquiry(DiscoveryAgent.GIAC, discoverer); Thread.sleep(40000); } } class DeviceDiscoverer implements DiscoveryListener { public static Vector devices = new Vector(); private RemoteDevice[] rDevices = null; int y = 0; public void deviceDiscovered(RemoteDevice remote, DeviceClass dClass) { try { devices.addElement(remote); System.out.println(remote.getFriendlyName(true)); } catch (IOException ex) { } } public void inquiryCompleted(int descType) { String message = ""; switch (descType) { case DiscoveryListener.INQUIRY_COMPLETED: message = "INQUIRY_COMPLETED"; break; case DiscoveryListener.INQUIRY_TERMINATED: message = "INQUIRY_TERMINATED"; break; case DiscoveryListener.INQUIRY_ERROR: message = "INQUIRY_ERROR"; break; } rDevices = new RemoteDevice[devices.size()]; for (int i = 0; i < devices.size(); i++) { rDevices[i] = (RemoteDevice) devices.elementAt(i); try { System.out.println(rDevices[i].getFriendlyName(true)); } catch (IOException ex) { } } } public void servicesDiscovered(int transId, ServiceRecord[] services) { } public void serviceSearchCompleted(int transId, int respCode) { } }
  • Jan 01, 2010
    issue 94 (retrieveDevices of DiscovereyAgent always returns null) reported by evoid.de   -   To reproduce the problem, use exactly the following code on Ubuntu Linux 9.10 while having at least one bluetooth device paired with the system the code is running on: public class Test { public static void main( String[] args ) throws IOException { RemoteDevices[] devices = LocalDevice.getLocalDevice().getDiscoveryAgent().retrieveDevices( DiscoveryAgent.PREKNOWN ); System.our.println( devices ); } } The expected output will be a list that contains your paired devices. But what I get is always 'null', no metter whether the paired devices are running (have bluetooth turned on) or not. I'm using the latest BlueCove release, namely version 2.1.0, including the bluecove-gpl module. I don't know where to look up the build number this tool is requesting me for. I'm not sure but I think it's all 32 bit here. Thanks in advance
    To reproduce the problem, use exactly the following code on Ubuntu Linux 9.10 while having at least one bluetooth device paired with the system the code is running on: public class Test { public static void main( String[] args ) throws IOException { RemoteDevices[] devices = LocalDevice.getLocalDevice().getDiscoveryAgent().retrieveDevices( DiscoveryAgent.PREKNOWN ); System.our.println( devices ); } } The expected output will be a list that contains your paired devices. But what I get is always 'null', no metter whether the paired devices are running (have bluetooth turned on) or not. I'm using the latest BlueCove release, namely version 2.1.0, including the bluecove-gpl module. I don't know where to look up the build number this tool is requesting me for. I'm not sure but I think it's all 32 bit here. Thanks in advance
  • Dec 30, 2009
    issue 59 (BlueZ v4 Unable to retrieve the local discovery mode.) commented on by raydaco...@ray.system.nom.br   -   I'm having this problem when running the example: # http://snapshot.bluecove.org/bluecove/apidocs/overview-summary.html OBEXPutClient I'm using Ubunbtu 9 04 BlueCove version 2.1.0 on bluez Dispositivo local: 09792088F800 Dispositivo local: raydacosta-desktop-0 raydacosta-desktop-0 - 09792088F800 Iniciando servidor... java.lang.RuntimeException: Unable to retrieve the local discovery mode. at com.intel.bluetooth.BluetoothStackBlueZ.nativeGetLocalDeviceDiscoverable(Native Method) at com.intel.bluetooth.BluetoothStackBlueZ.getLocalDeviceDiscoverable(BluetoothStackBlueZ.java:273) at com.intel.bluetooth.BluetoothStackBlueZ.setLocalDeviceDiscoverable(BluetoothStackBlueZ.java:287) at javax.bluetooth.LocalDevice.setDiscoverable(LocalDevice.java:206) at com.raysystem.guibalanca.Servidor.run(Servidor.java:32) at java.lang.Thread.run(Thread.java:619) BlueCove stack shutdown completed CONSTRUÍDO COM SUCESSO (tempo total: 16 segundos)
    I'm having this problem when running the example: # http://snapshot.bluecove.org/bluecove/apidocs/overview-summary.html OBEXPutClient I'm using Ubunbtu 9 04 BlueCove version 2.1.0 on bluez Dispositivo local: 09792088F800 Dispositivo local: raydacosta-desktop-0 raydacosta-desktop-0 - 09792088F800 Iniciando servidor... java.lang.RuntimeException: Unable to retrieve the local discovery mode. at com.intel.bluetooth.BluetoothStackBlueZ.nativeGetLocalDeviceDiscoverable(Native Method) at com.intel.bluetooth.BluetoothStackBlueZ.getLocalDeviceDiscoverable(BluetoothStackBlueZ.java:273) at com.intel.bluetooth.BluetoothStackBlueZ.setLocalDeviceDiscoverable(BluetoothStackBlueZ.java:287) at javax.bluetooth.LocalDevice.setDiscoverable(LocalDevice.java:206) at com.raysystem.guibalanca.Servidor.run(Servidor.java:32) at java.lang.Thread.run(Thread.java:619) BlueCove stack shutdown completed CONSTRUÍDO COM SUCESSO (tempo total: 16 segundos)
  • Dec 30, 2009
    issue 59 (BlueZ v4 Unable to retrieve the local discovery mode.) commented on by raydaco...@ray.system.nom.br   -   I'm having this problem when running the example: # http://snapshot.bluecove.org/bluecove/apidocs/overview-summary.html OBEXPutClient BlueCove version 2.1.0 on bluez Dispositivo local: 09792088F800 Dispositivo local: raydacosta-desktop-0 raydacosta-desktop-0 - 09792088F800 Iniciando servidor... java.lang.RuntimeException: Unable to retrieve the local discovery mode. at com.intel.bluetooth.BluetoothStackBlueZ.nativeGetLocalDeviceDiscoverable(Native Method) at com.intel.bluetooth.BluetoothStackBlueZ.getLocalDeviceDiscoverable(BluetoothStackBlueZ.java:273) at com.intel.bluetooth.BluetoothStackBlueZ.setLocalDeviceDiscoverable(BluetoothStackBlueZ.java:287) at javax.bluetooth.LocalDevice.setDiscoverable(LocalDevice.java:206) at com.raysystem.guibalanca.Servidor.run(Servidor.java:32) at java.lang.Thread.run(Thread.java:619) BlueCove stack shutdown completed CONSTRUÍDO COM SUCESSO (tempo total: 16 segundos)
    I'm having this problem when running the example: # http://snapshot.bluecove.org/bluecove/apidocs/overview-summary.html OBEXPutClient BlueCove version 2.1.0 on bluez Dispositivo local: 09792088F800 Dispositivo local: raydacosta-desktop-0 raydacosta-desktop-0 - 09792088F800 Iniciando servidor... java.lang.RuntimeException: Unable to retrieve the local discovery mode. at com.intel.bluetooth.BluetoothStackBlueZ.nativeGetLocalDeviceDiscoverable(Native Method) at com.intel.bluetooth.BluetoothStackBlueZ.getLocalDeviceDiscoverable(BluetoothStackBlueZ.java:273) at com.intel.bluetooth.BluetoothStackBlueZ.setLocalDeviceDiscoverable(BluetoothStackBlueZ.java:287) at javax.bluetooth.LocalDevice.setDiscoverable(LocalDevice.java:206) at com.raysystem.guibalanca.Servidor.run(Servidor.java:32) at java.lang.Thread.run(Thread.java:619) BlueCove stack shutdown completed CONSTRUÍDO COM SUCESSO (tempo total: 16 segundos)
  • Dec 30, 2009
    issue 59 (BlueZ v4 Unable to retrieve the local discovery mode.) commented on by raydaco...@ray.system.nom.br   -   Exception in thread "Thread-9" java.lang.RuntimeException: Unable to retrieve the local discovery mode. at com.intel.bluetooth.BluetoothStackBlueZ.nativeGetLocalDeviceDiscoverable(Native Method) at com.intel.bluetooth.BluetoothStackBlueZ.getLocalDeviceDiscoverable(BluetoothStackBlueZ.java:289) at com.intel.bluetooth.BluetoothStackBlueZ.setLocalDeviceDiscoverable(BluetoothStackBlueZ.java:303) at javax.bluetooth.LocalDevice.setDiscoverable(LocalDevice.java:206) at exmple.bluetoothpcimage.demo.PCServerOBEX.run(PCServerOBEX.java:320) at java.lang.Thread.run(Thread.java:619) BlueCove stack shutdown completed
    Exception in thread "Thread-9" java.lang.RuntimeException: Unable to retrieve the local discovery mode. at com.intel.bluetooth.BluetoothStackBlueZ.nativeGetLocalDeviceDiscoverable(Native Method) at com.intel.bluetooth.BluetoothStackBlueZ.getLocalDeviceDiscoverable(BluetoothStackBlueZ.java:289) at com.intel.bluetooth.BluetoothStackBlueZ.setLocalDeviceDiscoverable(BluetoothStackBlueZ.java:303) at javax.bluetooth.LocalDevice.setDiscoverable(LocalDevice.java:206) at exmple.bluetoothpcimage.demo.PCServerOBEX.run(PCServerOBEX.java:320) at java.lang.Thread.run(Thread.java:619) BlueCove stack shutdown completed

Last 30 days

  • Dec 14, 2009
    issue 35 (BlueCove does not work with Mac OS 10.5.x, Java 1.6.0 - 64 B...) commented on by m...@j0t.it   -   With snow leopard the BT stack should be 64-bit native. Is there any way to get bluecove working with 1.6 64bit on 10.6? @christophercyll: how did you get it to compile?
    With snow leopard the BT stack should be 64-bit native. Is there any way to get bluecove working with 1.6 64bit on 10.6? @christophercyll: how did you get it to compile?
  • Dec 07, 2009
    issue 35 (BlueCove does not work with Mac OS 10.5.x, Java 1.6.0 - 64 B...) commented on by antony.stubbs   -   FYI in eclipse you can get 1.6 to run in 32bit mode by passing the argument -d32 as a "VM arguments" under the run profile settings. - that is run target specific of course :)
    FYI in eclipse you can get 1.6 to run in 32bit mode by passing the argument -d32 as a "VM arguments" under the run profile settings. - that is run target specific of course :)

Older

  • Dec 01, 2009
    issue 82 (Problem to send file from PC to mobile device (Sony Ericsson...) commented on by greg.tammi   -   My understanding is that btgoep doesn't work in BlueCove (according to a code comment in an example on the Nokia forums). Using the avetana stack instead of BlueCove amkes my application function as expected.
    My understanding is that btgoep doesn't work in BlueCove (according to a code comment in an example on the Nokia forums). Using the avetana stack instead of BlueCove amkes my application function as expected.
  • Nov 30, 2009
    WindowsMobile (bluecove on Windows Mobile) Wiki page commented on by joachim.ritter   -   Hi. Does this stack run on Windows Mobile 6.0, 6.1 and 6.5 devices as well?
    Hi. Does this stack run on Windows Mobile 6.0, 6.1 and 6.5 devices as well?
  • Nov 09, 2009
    issue 93 (Cannot create an empty name header as specified by the IrOBE...) reported by who.reads.these   -   What steps will reproduce the problem? 1. Try to send an empty name header (e.g. headerSet.setHeader(HeaderSet.NAME, "");) What is the expected output? A name header with length 3 (IrOBEX v1.2 section 2.2.2) -- "An empty Name header is defined as a Name header of length 3 (one byte opcode + two byte length)." What do you see instead? A name header with length 5 and a trailing null character.
    What steps will reproduce the problem? 1. Try to send an empty name header (e.g. headerSet.setHeader(HeaderSet.NAME, "");) What is the expected output? A name header with length 3 (IrOBEX v1.2 section 2.2.2) -- "An empty Name header is defined as a Name header of length 3 (one byte opcode + two byte length)." What do you see instead? A name header with length 5 and a trailing null character.
  • Nov 04, 2009
    issue 92 (Exception on using RemoteDeviceHelper.getRSSI();) reported by Hinna.Khalid   -   What steps will reproduce the problem? 1. System.out.println("RSSI"+ RemoteDeviceHelper.readRSSI(device)); 2. LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + deviceAddress) /// returns null What is the expected output? What do you see instead? int to represent the RSSI value instead exceptio appears com.intel.bluetooth.NotSupportedIOException: Not Supported on winsock at com.intel.bluetooth.RemoteDeviceHelper.readRSSI(RemoteDeviceHelper.java:570 ) at com.substanceofcode.bluetooth.BluetoothBrowser.deviceDiscovered(BluetoothBr owser.java:47) at com.intel.bluetooth.BluetoothStackMicrosoft$3.runDeviceInquiry(BluetoothSta ckMicrosoft.java:423) at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:103) 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? windowsXP jvm 1.6.0_03 BlueCovev 2.1.1 snapshot Please provide any additional information below. Please use "Attach a file" when uploading stack traces or other big files! does .getRSSI works on windows platform?
    What steps will reproduce the problem? 1. System.out.println("RSSI"+ RemoteDeviceHelper.readRSSI(device)); 2. LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + deviceAddress) /// returns null What is the expected output? What do you see instead? int to represent the RSSI value instead exceptio appears com.intel.bluetooth.NotSupportedIOException: Not Supported on winsock at com.intel.bluetooth.RemoteDeviceHelper.readRSSI(RemoteDeviceHelper.java:570 ) at com.substanceofcode.bluetooth.BluetoothBrowser.deviceDiscovered(BluetoothBr owser.java:47) at com.intel.bluetooth.BluetoothStackMicrosoft$3.runDeviceInquiry(BluetoothSta ckMicrosoft.java:423) at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:103) 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? windowsXP jvm 1.6.0_03 BlueCovev 2.1.1 snapshot Please provide any additional information below. Please use "Attach a file" when uploading stack traces or other big files! does .getRSSI works on windows platform?
  • Oct 27, 2009
    issue 88 (Compile errors under XCode 3.2.1 and OS X 10.6.1) commented on by m.anthony.aiello   -   I was able to get the code to compile by surrounding the offending cases (in the switch statement that starts on line 53 of OSXStackTest) with { }. The problem raised by the compiler, "crosses initialization of XXX", is that "there is a declaration of an object [...] without scope." (See http://www.karakas- online.de/forum/viewtopic.php?t=4194) Only three such cases exist; gcc generates a lot of duplicate and related errors. Note that with this change, and once the build settings for XCode have been correctly adjusted, the maven build at the top level of the project succeeds (including most of the tests). The only errors I got were related to missing support libraries maven couldn't download.
    I was able to get the code to compile by surrounding the offending cases (in the switch statement that starts on line 53 of OSXStackTest) with { }. The problem raised by the compiler, "crosses initialization of XXX", is that "there is a declaration of an object [...] without scope." (See http://www.karakas- online.de/forum/viewtopic.php?t=4194) Only three such cases exist; gcc generates a lot of duplicate and related errors. Note that with this change, and once the build settings for XCode have been correctly adjusted, the maven build at the top level of the project succeeds (including most of the tests). The only errors I got were related to missing support libraries maven couldn't download.
  • Oct 27, 2009
    issue 86 (macosx snow-leopard gcc-4.2 mvn install failures due to C++ ...) commented on by skarzhevskyy   -   You need to have Xcode installed on Mac to compile bluecove. I have used use Xcode 3.0. I have used xcodebuild command to build the project. I don't know if gcc is later used by Xcode or not. .mm files are Objective-C and contain some C++ code as well.
    You need to have Xcode installed on Mac to compile bluecove. I have used use Xcode 3.0. I have used xcodebuild command to build the project. I don't know if gcc is later used by Xcode or not. .mm files are Objective-C and contain some C++ code as well.
  • Oct 27, 2009
    issue 88 (Compile errors under XCode 3.2.1 and OS X 10.6.1) commented on by m.anthony.aiello   -   I get 38 compile errors and 286 warnings building 2.1.1 build 60 as described ablove.
    I get 38 compile errors and 286 warnings building 2.1.1 build 60 as described ablove.
  • Oct 27, 2009
    issue 86 (macosx snow-leopard gcc-4.2 mvn install failures due to C++ ...) commented on by m.anthony.aiello   -   I don't understand what's meant by comment 1. I ran maven in the top level of 2.1.1 build 60 and got similar errors. I also tried to run the build script in bluecove directly and got the same errors. So what exactly are we supposed to do to work around this problem? And why doesn't the maven build process do the right thing on Snow Leopard?
    I don't understand what's meant by comment 1. I ran maven in the top level of 2.1.1 build 60 and got similar errors. I also tried to run the build script in bluecove directly and got the same errors. So what exactly are we supposed to do to work around this problem? And why doesn't the maven build process do the right thing on Snow Leopard?
  • Oct 24, 2009
    issue 48 (Crash with BlueSoleil) commented on by riahi.maher   -   I have the same problem, running BlueCove under XP SP2 and JDK 1.6.0 with BlueSoleil Please Help
    I have the same problem, running BlueCove under XP SP2 and JDK 1.6.0 with BlueSoleil Please Help
  • Oct 20, 2009
    issue 91 (serviceSearchCompleted always has response 3 (SERVICE_SEARCH...) reported by thomas.p...@gmx.de   -   JavaVM: $ java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) bluecove version: tested with: - bluecove and bluecove-gpl 2.1.0 - bluecove and bluecove-gpl 2.1.1 SNAPSHOT 60 - bluecove and bluecove-gpl 2.1.1 from svn revision 3020 linux distribution: ubuntu 9.04 and 9.10(beta) x86_64 (64-bit) Inquiry devices work as expected, but search services is never successful. Response code is always 3 (SERVICE_SEARCH_ERROR). However, no problem with hcitool or sdptool with the same setup/computer on the same device, hence bluez stack problem is unlikely.
    JavaVM: $ java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) bluecove version: tested with: - bluecove and bluecove-gpl 2.1.0 - bluecove and bluecove-gpl 2.1.1 SNAPSHOT 60 - bluecove and bluecove-gpl 2.1.1 from svn revision 3020 linux distribution: ubuntu 9.04 and 9.10(beta) x86_64 (64-bit) Inquiry devices work as expected, but search services is never successful. Response code is always 3 (SERVICE_SEARCH_ERROR). However, no problem with hcitool or sdptool with the same setup/computer on the same device, hence bluez stack problem is unlikely.
  • Oct 16, 2009
    issue 90 (Connection close) reported by cokemaul   -   What steps will reproduce the problem? 1. Plug 2 bluetooth dongles. 1. Setup a connection: Connector.open(string); 2. Wait for incoming request: streamConnNotifier.acceptAndOpen(); 3. Close the connection in other thread: streamConnNotifier.close(); What is the expected output? Connection closes successfully What do you see instead? Can not unregister SDP record. Invalid argument; Devices can no longer be accessed through gnome-bluetooth gui tool. Devices are still visible in hcitool When the application is lanched the second an following times it shows: Can not open SDP session. [111] Connection refused System DATA Bluecove version: 2.1.1-SNAPSHOT.60 OS: Ubuntu 9.04 Stack: BlueZ 4.34 JVM: OpenJDK6 32 bits Please provide any additional information below. Same code works fine in dbus distribution (same snapshot version). Same code works fine in WinXP winsock distribution (version 2.1.0).
    What steps will reproduce the problem? 1. Plug 2 bluetooth dongles. 1. Setup a connection: Connector.open(string); 2. Wait for incoming request: streamConnNotifier.acceptAndOpen(); 3. Close the connection in other thread: streamConnNotifier.close(); What is the expected output? Connection closes successfully What do you see instead? Can not unregister SDP record. Invalid argument; Devices can no longer be accessed through gnome-bluetooth gui tool. Devices are still visible in hcitool When the application is lanched the second an following times it shows: Can not open SDP session. [111] Connection refused System DATA Bluecove version: 2.1.1-SNAPSHOT.60 OS: Ubuntu 9.04 Stack: BlueZ 4.34 JVM: OpenJDK6 32 bits Please provide any additional information below. Same code works fine in dbus distribution (same snapshot version). Same code works fine in WinXP winsock distribution (version 2.1.0).
  • Oct 16, 2009
    issue 89 (Several devices in BlueZ D-Bus) reported by cokemaul   -   What steps will reproduce the problem? 1. Try to load 2 devices in BlueZ D-Bus using separate threads. 2. Check LocalDevice to see what mac is loaded. What is the expected output? Two different devices are loaded in each thread. What do you see instead? The same device is loaded in each thread (hci1 in my case) System DATA Bluecove version: 2.1.1-SNAPSHOT.60 OS: Ubuntu 9.04 Stack: BlueZ 4.34 JVM: OpenJDK6 32 bits Please provide any additional information below. Same code works fine in non dbus distribution (same snapshot version). This is why I'm reporting it as bug.
    What steps will reproduce the problem? 1. Try to load 2 devices in BlueZ D-Bus using separate threads. 2. Check LocalDevice to see what mac is loaded. What is the expected output? Two different devices are loaded in each thread. What do you see instead? The same device is loaded in each thread (hci1 in my case) System DATA Bluecove version: 2.1.1-SNAPSHOT.60 OS: Ubuntu 9.04 Stack: BlueZ 4.34 JVM: OpenJDK6 32 bits Please provide any additional information below. Same code works fine in non dbus distribution (same snapshot version). This is why I'm reporting it as bug.
  • Oct 13, 2009
    issue 88 (Compile errors under XCode 3.2.1 and OS X 10.6.1) reported by Herb.Jel...@gmail.com   -   What steps will reproduce the problem? 1. Run XCode 3.2.1 (64-bit) 2. Open bluecove-2.1.0/src/main/c/intelbth/bluecove.xcodeproj 3. Build > Clean; Set target to 10.6 | Debug | i386; Build > Build What is the expected output? What do you see instead? Expect a successful compile with zero errors and a resulting .jnilib file. Instead, the compile results in 38 compile errors and 280 warnings. Similar results when I set target to 10.5 | Debug | i386. What BlueCove version are you using (include build number for SNAPSHOT)? Bluecove 2.1.0 release. On what operating system and jvm? Is this 64-bit or 32-bit OS and jvm? OS X 10.6.1, 64-bit OS. The JVM isn't involved in these errors, but for the sake of completeness it's java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) - See attached build log. Thanks.
    What steps will reproduce the problem? 1. Run XCode 3.2.1 (64-bit) 2. Open bluecove-2.1.0/src/main/c/intelbth/bluecove.xcodeproj 3. Build > Clean; Set target to 10.6 | Debug | i386; Build > Build What is the expected output? What do you see instead? Expect a successful compile with zero errors and a resulting .jnilib file. Instead, the compile results in 38 compile errors and 280 warnings. Similar results when I set target to 10.5 | Debug | i386. What BlueCove version are you using (include build number for SNAPSHOT)? Bluecove 2.1.0 release. On what operating system and jvm? Is this 64-bit or 32-bit OS and jvm? OS X 10.6.1, 64-bit OS. The JVM isn't involved in these errors, but for the sake of completeness it's java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) - See attached build log. Thanks.
  • Oct 03, 2009
    issue 87 (Can not read RSSI with Widcomm, failing to get connection in...) commented on by abc6587   -   Correction. On version 2.1.0, LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + btDevice.getBluetoothAddress()); does not throw an exception, but returns -1, always.
    Correction. On version 2.1.0, LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + btDevice.getBluetoothAddress()); does not throw an exception, but returns -1, always.
  • Oct 03, 2009
    issue 87 (Can not read RSSI with Widcomm, failing to get connection in...) reported by abc6587   -   What steps will reproduce the problem? 1. Discover a 220Plantronics headset with Widcomm (though I expect the problem to be more broad than that). 2. Try either LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + btDevice.getBluetoothAddress()); or (under 2.1.1 shapshot) int i = RemoteDeviceHelper.readRSSI(btDevice); What is the expected output? What do you see instead? Expected an int. Instead, throws an IOException: 00:24:41.353 will throw exception java/io/IOException(Fail to get connection info) common.cpp:166 java.io.IOException: Fail to get connection info at com.intel.bluetooth.BluetoothStackWIDCOMM.getRemoteDeviceRSSI(Native Method) at com.intel.bluetooth.BluetoothStackWIDCOMM.readRemoteDeviceRSSI(BluetoothStackWIDCOMM.java:316) at com.intel.bluetooth.RemoteDeviceHelper.readRSSI(RemoteDeviceHelper.java:568) at my.bluetooth.MyRemoteDeviceDiscovery$1.deviceDiscovered(MyRemoteDeviceDiscovery.java:43) at com.intel.bluetooth.BluetoothStackWIDCOMM$1.deviceDiscoveredCallback(BluetoothStackWIDCOMM.java:437) at com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiryImpl(Native Method) at com.intel.bluetooth.BluetoothStackWIDCOMM.access$000(BluetoothStackWIDCOMM.java:43) at com.intel.bluetooth.BluetoothStackWIDCOMM$1.runDeviceInquiry(BluetoothStackWIDCOMM.java:376) at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:103) What BlueCove version are you using (include build number for SNAPSHOT)? Both 2.1.0 and 2.1.1 snapshot. On what operating system and jvm? Is this 64-bit or 32-bit OS and jvm? 1.6.0_16; Java HotSpot(TM) Client VM; Sun Microsystems Inc. Vista 32 bit Please provide any additional information below. Am running a RemoteDeviceDiscovery.java from your examples, with the two lines above added to deviceDiscovered().
    What steps will reproduce the problem? 1. Discover a 220Plantronics headset with Widcomm (though I expect the problem to be more broad than that). 2. Try either LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + btDevice.getBluetoothAddress()); or (under 2.1.1 shapshot) int i = RemoteDeviceHelper.readRSSI(btDevice); What is the expected output? What do you see instead? Expected an int. Instead, throws an IOException: 00:24:41.353 will throw exception java/io/IOException(Fail to get connection info) common.cpp:166 java.io.IOException: Fail to get connection info at com.intel.bluetooth.BluetoothStackWIDCOMM.getRemoteDeviceRSSI(Native Method) at com.intel.bluetooth.BluetoothStackWIDCOMM.readRemoteDeviceRSSI(BluetoothStackWIDCOMM.java:316) at com.intel.bluetooth.RemoteDeviceHelper.readRSSI(RemoteDeviceHelper.java:568) at my.bluetooth.MyRemoteDeviceDiscovery$1.deviceDiscovered(MyRemoteDeviceDiscovery.java:43) at com.intel.bluetooth.BluetoothStackWIDCOMM$1.deviceDiscoveredCallback(BluetoothStackWIDCOMM.java:437) at com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiryImpl(Native Method) at com.intel.bluetooth.BluetoothStackWIDCOMM.access$000(BluetoothStackWIDCOMM.java:43) at com.intel.bluetooth.BluetoothStackWIDCOMM$1.runDeviceInquiry(BluetoothStackWIDCOMM.java:376) at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:103) What BlueCove version are you using (include build number for SNAPSHOT)? Both 2.1.0 and 2.1.1 snapshot. On what operating system and jvm? Is this 64-bit or 32-bit OS and jvm? 1.6.0_16; Java HotSpot(TM) Client VM; Sun Microsystems Inc. Vista 32 bit Please provide any additional information below. Am running a RemoteDeviceDiscovery.java from your examples, with the two lines above added to deviceDiscovered().
  • Sep 28, 2009
    issue 80 (StreamConnectionNotifier.acceptAndOpen does not release bloc...) commented on by esaias.pech   -   Same issue, the instruction blocks everything.
    Same issue, the instruction blocks everything.
  • Sep 28, 2009
    issue 86 (macosx snow-leopard gcc-4.2 mvn install failures due to C++ ...) Status changed by skarzhevskyy   -   Objective-C and Xcode used to create application on Mac
    Status: WontFix
    Objective-C and Xcode used to create application on Mac
    Status: WontFix
  • Sep 28, 2009
    issue 86 (macosx snow-leopard gcc-4.2 mvn install failures due to C++ ...) reported by northrup.james   -   What steps will reproduce the problem? 1. follow instructions as root 2. fix permissions on shell scripts, if any needed 3. mvn install What is the output? What do you see? [INFO] [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In function 'void -[OSXStackDiscovery deviceInquiryUpdatingDeviceNamesStarted:devicesRemaining:](OSXStackDiscovery*, objc_selector*, IOBluetoothDeviceInquiry*, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:197: warning: conflicting types for '- (void)deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry *)sender devicesRemaining:(int)devicesRemaining' [INFO] /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOBluetooth.framework/Header s/objc/IOBluetoothDeviceInquiry.h:234: warning: previous declaration of '- (void)deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry *)sender devicesRemaining:(uint32_t)devicesRemaining' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In function 'void -[OSXStackDiscovery deviceInquiryDeviceNameUpdated:device:devicesRemaining:](OSXStackDiscovery*, objc_selector*, IOBluetoothDeviceInquiry*, IOBluetoothDevice*, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:204: warning: conflicting types for '- (void)deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry *)sender device:(IOBluetoothDevice *)device devicesRemaining:(int)devicesRemaining' [INFO] /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOBluetooth.framework/Header s/objc/IOBluetoothDeviceInquiry.h:244: warning: previous declaration of '- (void)deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry *)sender device:(IOBluetoothDevice *)device devicesRemaining:(uint32_t)devicesRemaining' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In function 'void -[OSXStackDiscovery deviceInquiryComplete:error:aborted:](OSXStackDiscovery*, objc_selector*, IOBluetoothDeviceInquiry*, IOReturn, bool)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:219: warning: conflicting types for '-(void)deviceInquiryComplete:(IOBluetoothDeviceInquiry *)sender error:(IOReturn)error aborted:(bool)aborted' [INFO] /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOBluetooth.framework/Header s/objc/IOBluetoothDeviceInquiry.h:256: warning: previous declaration of '- (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry *)sender error:(IOReturn)error aborted:(BOOL)aborted' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In constructor 'DeviceInquiryStart::DeviceInquiryStart(int, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:276: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In constructor 'DeviceInquiryRelease::DeviceInquiryRelease()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:345: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In constructor 'GetRemoteDeviceFriendlyName::GetRemoteDeviceFriendlyName()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:472: warning: deprecated conversion from string constant to 'char*' [INFO] CompileC build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackSDPQuery.o OSXStackSDPQuery.mm normal i386 objective-c++ com.apple.compilers.gcc.4_2 [INFO] cd /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth [INFO] setenv LANG en_US.US-ASCII [INFO] /Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable - isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility-inlines-hidden -mmacosx-version- min=10.5 -I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/bluecove.hmap - F/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release - I/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release/include - I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Headers - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources/i386 - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources -c /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm -o /Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackSDPQuery.o [INFO] [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm: In constructor 'StackSDPQueryStart::StackSDPQueryStart()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:55: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm: In constructor 'GetAttributeDataElement::GetAttributeDataElement()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:191: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm: In member function 'bool SDPOutputStream::writeElement(OpaqueIOBluetoothObjectRef*)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:356: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:358: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:388: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:415: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:417: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:443: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:446: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] CompileC build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackTest.o OSXStackTest.mm normal i386 objective-c++ com.apple.compilers.gcc.4_2 [INFO] cd /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth [INFO] setenv LANG en_US.US-ASCII [INFO] /Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable - isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility-inlines-hidden -mmacosx-version- min=10.5 -I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/bluecove.hmap - F/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release - I/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release/include - I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Headers - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources/i386 - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources -c /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm -o /Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackTest.o [INFO] [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm: In function 'OpaqueIOBluetoothObjectRef* createTestDataElementSimple(jint, jlong, jbyte*, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:147: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:145: error: crosses initialization of 'IOBluetoothSDPDataElement* ds' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:163: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:151: error: crosses initialization of 'NSString* newStrValue' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:145: error: crosses initialization of 'IOBluetoothSDPDataElement* ds' 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? : java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) Please provide any additional information below. Please use "Attach a file" when uploading stack traces or other big files! this should be an easy one.
    What steps will reproduce the problem? 1. follow instructions as root 2. fix permissions on shell scripts, if any needed 3. mvn install What is the output? What do you see? [INFO] [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In function 'void -[OSXStackDiscovery deviceInquiryUpdatingDeviceNamesStarted:devicesRemaining:](OSXStackDiscovery*, objc_selector*, IOBluetoothDeviceInquiry*, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:197: warning: conflicting types for '- (void)deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry *)sender devicesRemaining:(int)devicesRemaining' [INFO] /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOBluetooth.framework/Header s/objc/IOBluetoothDeviceInquiry.h:234: warning: previous declaration of '- (void)deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry *)sender devicesRemaining:(uint32_t)devicesRemaining' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In function 'void -[OSXStackDiscovery deviceInquiryDeviceNameUpdated:device:devicesRemaining:](OSXStackDiscovery*, objc_selector*, IOBluetoothDeviceInquiry*, IOBluetoothDevice*, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:204: warning: conflicting types for '- (void)deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry *)sender device:(IOBluetoothDevice *)device devicesRemaining:(int)devicesRemaining' [INFO] /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOBluetooth.framework/Header s/objc/IOBluetoothDeviceInquiry.h:244: warning: previous declaration of '- (void)deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry *)sender device:(IOBluetoothDevice *)device devicesRemaining:(uint32_t)devicesRemaining' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In function 'void -[OSXStackDiscovery deviceInquiryComplete:error:aborted:](OSXStackDiscovery*, objc_selector*, IOBluetoothDeviceInquiry*, IOReturn, bool)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:219: warning: conflicting types for '-(void)deviceInquiryComplete:(IOBluetoothDeviceInquiry *)sender error:(IOReturn)error aborted:(bool)aborted' [INFO] /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOBluetooth.framework/Header s/objc/IOBluetoothDeviceInquiry.h:256: warning: previous declaration of '- (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry *)sender error:(IOReturn)error aborted:(BOOL)aborted' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In constructor 'DeviceInquiryStart::DeviceInquiryStart(int, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:276: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In constructor 'DeviceInquiryRelease::DeviceInquiryRelease()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:345: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm: In constructor 'GetRemoteDeviceFriendlyName::GetRemoteDeviceFriendlyName()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackDiscovery.mm:472: warning: deprecated conversion from string constant to 'char*' [INFO] CompileC build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackSDPQuery.o OSXStackSDPQuery.mm normal i386 objective-c++ com.apple.compilers.gcc.4_2 [INFO] cd /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth [INFO] setenv LANG en_US.US-ASCII [INFO] /Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable - isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility-inlines-hidden -mmacosx-version- min=10.5 -I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/bluecove.hmap - F/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release - I/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release/include - I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Headers - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources/i386 - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources -c /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm -o /Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackSDPQuery.o [INFO] [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm: In constructor 'StackSDPQueryStart::StackSDPQueryStart()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:55: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm: In constructor 'GetAttributeDataElement::GetAttributeDataElement()': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:191: warning: deprecated conversion from string constant to 'char*' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm: In member function 'bool SDPOutputStream::writeElement(OpaqueIOBluetoothObjectRef*)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:356: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:358: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:388: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:415: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:417: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:443: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:446: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackSDPQuery.mm:348: error: crosses initialization of 'const __CFNumber* bNumber' [INFO] CompileC build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackTest.o OSXStackTest.mm normal i386 objective-c++ com.apple.compilers.gcc.4_2 [INFO] cd /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth [INFO] setenv LANG en_US.US-ASCII [INFO] /Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable - isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility-inlines-hidden -mmacosx-version- min=10.5 -I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/bluecove.hmap - F/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release - I/Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/build/Release/include - I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Headers - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources/i386 - I/Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/DerivedSources -c /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm -o /Users/jim/incoming/bluecove- 2.1.0/src/main/c/intelbth/build/bluecove.build/Release/bluecove.build/Objects- normal/i386/OSXStackTest.o [INFO] [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm: In function 'OpaqueIOBluetoothObjectRef* createTestDataElementSimple(jint, jlong, jbyte*, int)': [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:147: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:145: error: crosses initialization of 'IOBluetoothSDPDataElement* ds' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:163: error: jump to case label [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:151: error: crosses initialization of 'NSString* newStrValue' [INFO] /Users/jim/incoming/bluecove-2.1.0/src/main/c/intelbth/OSXStackTest.mm:145: error: crosses initialization of 'IOBluetoothSDPDataElement* ds' 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? : java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) Please provide any additional information below. Please use "Attach a file" when uploading stack traces or other big files! this should be an easy one.
  • Sep 23, 2009
    issue 85 (2 adapters) reported by rmoreno83   -   Hello there... I'm trying to run the following code: BlueCoveImpl.useThreadLocalBluetoothStack(); BlueCoveImpl.setConfigProperty("bluecove.deviceID", "0"); final Object id1 = BlueCoveImpl.getThreadBluetoothStackID(); ... do some work with stack 1 Thread t1 = new Thread() { public void run() { BlueCoveImpl.setThreadBluetoothStackID(id1); agent = LocalDevice.getLocalDevice().getDiscoveryAgent(); agent.startInquiry(...); ..... } }; t1.start(); Thread t2 = new Thread() { public void run() { BlueCoveImpl.setConfigProperty("bluecove.deviceID", "1"); agent = LocalDevice.getLocalDevice().getDiscoveryAgent(); agent.startInquiry(...); ..... } } t2.start(); The first time I run it, both adapters work in parallel using the threads. As soon a the inquiry is completed I use t1.start(); and t2.start(); The first Thread works fine, but the second thread doesn't, the exception is : javax.bluetooth.BluetoothStateException: LocalDevice 1 alredy in use The first adapter (using the t1 thread) continues working in a infinite loop. Any ideas? Regards.
    Hello there... I'm trying to run the following code: BlueCoveImpl.useThreadLocalBluetoothStack(); BlueCoveImpl.setConfigProperty("bluecove.deviceID", "0"); final Object id1 = BlueCoveImpl.getThreadBluetoothStackID(); ... do some work with stack 1 Thread t1 = new Thread() { public void run() { BlueCoveImpl.setThreadBluetoothStackID(id1); agent = LocalDevice.getLocalDevice().getDiscoveryAgent(); agent.startInquiry(...); ..... } }; t1.start(); Thread t2 = new Thread() { public void run() { BlueCoveImpl.setConfigProperty("bluecove.deviceID", "1"); agent = LocalDevice.getLocalDevice().getDiscoveryAgent(); agent.startInquiry(...); ..... } } t2.start(); The first time I run it, both adapters work in parallel using the threads. As soon a the inquiry is completed I use t1.start(); and t2.start(); The first Thread works fine, but the second thread doesn't, the exception is : javax.bluetooth.BluetoothStateException: LocalDevice 1 alredy in use The first adapter (using the t1 thread) continues working in a infinite loop. Any ideas? Regards.
  • Sep 17, 2009
    issue 28 (Long waiting for finding the first BT device) commented on by dandaur   -   # `bluecove.inquiry.duration` Device Inquiry time in seconds defaults to 11 seconds. MS Stack and OS X only. have you considered implementing this in linux? thanks
    # `bluecove.inquiry.duration` Device Inquiry time in seconds defaults to 11 seconds. MS Stack and OS X only. have you considered implementing this in linux? thanks
  • Sep 14, 2009
    r3026 (Build 2.1.1-SNAPSHOT.60) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.60
    Build 2.1.1-SNAPSHOT.60
  • Sep 14, 2009
    r3025 (Build 2.1.1-SNAPSHOT.59) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.59
    Build 2.1.1-SNAPSHOT.59
  • Sep 14, 2009
    r3024 (Longer sleep in test) committed by skarzhevskyy   -   Longer sleep in test
    Longer sleep in test
  • Sep 14, 2009
    r3023 (Build 2.1.1-SNAPSHOT.58) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.58
    Build 2.1.1-SNAPSHOT.58
  • Sep 14, 2009
    r3022 (Build 2.1.1-SNAPSHOT.57) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.57
    Build 2.1.1-SNAPSHOT.57
  • Sep 14, 2009
    r3021 (Build 2.1.1-SNAPSHOT.56) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.56
    Build 2.1.1-SNAPSHOT.56
  • Sep 14, 2009
    r3020 (Fixed flag native.build.skip) committed by skarzhevskyy   -   Fixed flag native.build.skip
    Fixed flag native.build.skip
  • Sep 14, 2009
    r3020 (Fixed flag native.build.skip) committed by skarzhevskyy   -   Fixed flag native.build.skip
    Fixed flag native.build.skip
  • Sep 14, 2009
    r3019 (Build 2.1.1-SNAPSHOT.55) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.55
    Build 2.1.1-SNAPSHOT.55
  • Sep 14, 2009
    r3018 (build-master native.build.skip=true correction to unless in ...) committed by skarzhevskyy   -   build-master native.build.skip=true correction to unless in native build
    build-master native.build.skip=true correction to unless in native build
  • Sep 14, 2009
    r3017 (Correction to test synchronization) committed by skarzhevskyy   -   Correction to test synchronization
    Correction to test synchronization
  • Sep 14, 2009
    r3017 (Correction to test synchronization) committed by skarzhevskyy   -   Correction to test synchronization
    Correction to test synchronization
  • Sep 14, 2009
    r3016 (build-master native.build.skip=true) committed by skarzhevskyy   -   build-master native.build.skip=true
    build-master native.build.skip=true
  • Sep 13, 2009
    r3015 (Build 2.1.1-SNAPSHOT.54) committed by skarzhevskyy   -   Build 2.1.1-SNAPSHOT.54
    Build 2.1.1-SNAPSHOT.54
  • Sep 13, 2009
    r3014 (adding VM for inux64 build) committed by skarzhevskyy   -   adding VM for inux64 build
    adding VM for inux64 build
  • Sep 13, 2009
    r3013 (adding VM for inux64 build) committed by skarzhevskyy   -   adding VM for inux64 build
    adding VM for inux64 build
  • Sep 13, 2009
    r3012 (adding VM for inux64 build) committed by skarzhevskyy   -   adding VM for inux64 build
    adding VM for inux64 build
  • Sep 10, 2009
    issue 83 (When using BluieCove 2.1.0 with l2cap i get an error: IOExce...) Status changed by skarzhevskyy   -   L2CAP not supported on Microsoft Stack. Only on WIDCOMM See http://code.google.com/p/bluecove/wiki/stacks
    Status: WontFix
    L2CAP not supported on Microsoft Stack. Only on WIDCOMM See http://code.google.com/p/bluecove/wiki/stacks
    Status: WontFix
  • Sep 10, 2009
    issue 82 (Problem to send file from PC to mobile device (Sony Ericsson...) Status changed by skarzhevskyy   -   BlueSoleiol v6 not supported
    Status: WontFix
    BlueSoleiol v6 not supported
    Status: WontFix
  • Sep 10, 2009
    issue 82 (Problem to send file from PC to mobile device (Sony Ericsson...) commented on by opus2...@hotmail.com   -   The same for me. It looks like the connection is established, but doesn't get out of clientSession.connect() call. It freezes there. Tested in several mobiles.
    The same for me. It looks like the connection is established, but doesn't get out of clientSession.connect() call. It freezes there. Tested in several mobiles.
  • Aug 20, 2009
    issue 84 ("Native Library bluecove not available" error message while ...) commented on by royalibrahim   -   On debugging I am getting PrivilegedActionException on this AccessController.doPrivileged(new PrivilegedExceptionAction() function. What is the reason for this exception?
    On debugging I am getting PrivilegedActionException on this AccessController.doPrivileged(new PrivilegedExceptionAction() function. What is the reason for this exception?
  • Aug 20, 2009
    issue 84 ("Native Library bluecove not available" error message while ...) reported by royalibrahim   -   What steps will reproduce the problem? 1. Trying to sending file using bluecove from my java application in Eclipse 3.5 IDE 2. having bluecove-2.1.0.jar and bluecove-gpl-2.1.0.jar, libbluecove.so in the Eclipse build path 3. What is the expected output? What do you see instead? expected output: "BlueCove version 2.1.0 on bluez" what I see here: Native library bluecove 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? BlueCove 2.1.0 Ubuntu 9.04, 32 bit JRE 1.6.0_14 Eclipse 3.5 version Please provide any additional information below. I have set the following: PATH --> includes JAVA_HOME, shared library path of libbluetooth.so, libbluecove.so CLASSPATH --> where the bluecove-2.1.0.jar and bluecove-gpl-2.1.0.jar files are available, I kept it in the eclipse/plugins folder LD_LIBRARY_PATH --> /usr/lib bluez-utils 4.12-0ubuntu5 I could send any file from bluecove example standalone applications, but not through Eclipse. Please guide me Please use "Attach a file" when uploading stack traces or other big files!
    What steps will reproduce the problem? 1. Trying to sending file using bluecove from my java application in Eclipse 3.5 IDE 2. having bluecove-2.1.0.jar and bluecove-gpl-2.1.0.jar, libbluecove.so in the Eclipse build path 3. What is the expected output? What do you see instead? expected output: "BlueCove version 2.1.0 on bluez" what I see here: Native library bluecove 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? BlueCove 2.1.0 Ubuntu 9.04, 32 bit JRE 1.6.0_14 Eclipse 3.5 version Please provide any additional information below. I have set the following: PATH --> includes JAVA_HOME, shared library path of libbluetooth.so, libbluecove.so CLASSPATH --> where the bluecove-2.1.0.jar and bluecove-gpl-2.1.0.jar files are available, I kept it in the eclipse/plugins folder LD_LIBRARY_PATH --> /usr/lib bluez-utils 4.12-0ubuntu5 I could send any file from bluecove example standalone applications, but not through Eclipse. Please guide me Please use "Attach a file" when uploading stack traces or other big files!
 
Hosted by Google Code