BluetoothStateException:BluetoothStack not detected

709 views
Skip to first unread message

Budkudyba

unread,
Jan 31, 2009, 8:11:39 PM1/31/09
to bluecove-users
hi all,
I am starting with the RemoteDeviceDiscovery code example. I'm kinda
new to java, but when i compile with netbeans i get this list. I've
looked and tried some remedies regarding detecting the bluetooth
stack.

Exception in thread "main" javax.bluetooth.BluetoothStateException:
BluetoothStack not detected
at com.intel.bluetooth.BlueCoveImpl.detectStack
(BlueCoveImpl.java:476)
at com.intel.bluetooth.BlueCoveImpl.access$500
(BlueCoveImpl.java:65)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:
1020)
at java.security.AccessController.doPrivileged(Native Method)
at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged
(BlueCoveImpl.java:1018)
at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack
(BlueCoveImpl.java:1011)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance
(LocalDevice.java:75)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:
95)
at blue.RemoteDeviceDiscovery.main(RemoteDeviceDiscovery.java:
48)

I am using windows 7 beta 7000. I can see the device and can pair with
my wiimote using the app that came with my iogear bluetooth (gbu421).
It uses the broadcom/widcomm stack.

I've also tried the Bluecove tester and got the same results.

19:19:15 Stated app
19:19:15 OS:Windows Vista|6.1|x86
19:19:15 Java:Sun Microsystems Inc. 1.6.0_11
19:19:20 e.BluetoothStack not detected
19:19:20 e.start error BluetoothStateException:BluetoothStack not
detected

I've also run the Remote discovery with XP and everything works like a
charm.

Thanks in advance for any help or ideas.

Vlad Skarzhevskyy

unread,
Feb 1, 2009, 12:04:36 AM2/1/09
to bluecov...@googlegroups.com
Enable debug and see the error messages.
Are you using BlueCove version  2.1?
--
Vlad

Budkudyba

unread,
Feb 2, 2009, 4:10:59 PM2/2/09
to bluecove-users
Thanks for the prompt response.
yes, I am using 2.1.
I enabled debug and got this...

14:45:16 Stated app
14:45:16 OS:Windows Vista|6.1|x86
14:45:16 Java:Sun Microsystems Inc. 1.6.0_11
14:45:31 Java 1.4+ detected: 1.6.0_11; Java HotSpot(TM) Client VM; Sun
Microsystems Inc.
14:45:31 BlueCove Debug enabled
14:45:35 Use stack ClassLoader
14:45:35 Library loaded from C:\Users\Bud\AppData\Local\Temp
\bluecove_Bud_0\intelbth.dll
14:45:35 nativeDebugCallback ON
14:45:35 bind error [10050] A socket operation encountered a dead
network.
14:45:35 BluetoothStack detected 0
14:45:35 e.BluetoothStack not detected
14:45:35 e.start error BluetoothStateException:BluetoothStack not
detected
14:45:35 bind error [10050] A socket operation encountered a dead
network.
14:45:35 BluetoothStack detected 0
14:45:35 e.BluetoothStack not detected

After looking up 10050, I figured it might be the windows Firewall
(and defender), but when disabled there was no change.
I have a feeling this is a Win 7 beta 7000 problem(because of it
detecting and running with Xp), but let me know if you still have any
suggestions or need more info.
My widcomm driver is 5.1.0.4500

Thanks

Vlad Skarzhevskyy

unread,
Feb 2, 2009, 5:40:10 PM2/2/09
to bluecov...@googlegroups.com
I was thinking that on Vista widcomm required driver starting from version 6.

I don't see in the log attempt to load widcomm interface dll: blucove.dll

Try adding -Dbluecove.stack=widcomm

This will try to find: wbtapi.dll  on your system.
The wbtapi.dll comes with widcomm stack.


--
Vlad
Reply all
Reply to author
Forward
0 new messages