javax.bluetooth.BluetoothStateException: BluetoothStack not detected

2,202 views
Skip to first unread message

magnas

unread,
Apr 11, 2008, 9:53:46 AM4/11/08
to bluecove-users
Hi
I'm using netBeans to test a blueTooth server using bluecove.

Bluetooth stack of winXP is used but I'm getting
the :javax.bluetooth.BluetoothStateException: BluetoothStack not
detected exception

I've tried adding a system command in netBeans through
Properties->Run->VM options: -Dbluecove.stack=winsock but no luck.

and also tried System.setProperty("bluecove.stack", "winsock");

output:
Exception in thread "main" javax.bluetooth.BluetoothStateException:
BluetoothStack not detected
at
com.intel.bluetooth.BluetoothStackMicrosoft.initializationStatus(Native
Method)
at
com.intel.bluetooth.BluetoothStackMicrosoft.initialize(BluetoothStackMicrosoft.java:
97)
at
com.intel.bluetooth.BlueCoveImpl.setBluetoothStack(BlueCoveImpl.java:
460)
at
com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:340)
at com.intel.bluetooth.BlueCoveImpl.access
$100(BlueCoveImpl.java:64)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:
502)
at java.security.AccessController.doPrivileged(Native Method)
at
com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.java:
500)
at
com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:
489)
at javax.bluetooth.LocalDevice.<init>(LocalDevice.java:64)
at
javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:
71)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:
86)
at Client.main(Client.java:45)



Any suggestions
Thanks in advance

Vlad Skarzhevskyy

unread,
Apr 11, 2008, 10:27:39 AM4/11/08
to bluecov...@googlegroups.com
Do you have windows XP stack running fine when running other applications?
Do you see your adapter in "Device Manager"
http://www.bluecove.org/bluecove-examples/bluetooth-stack.html

magnas

unread,
Apr 11, 2008, 10:41:47 AM4/11/08
to bluecove-users
OK, well, sorry about what i'm going to say but the usb dongle wasn't
connected on my laptop......:)
usb is at the back , thought it was connected..............

works fine now.........

thanks and sorry for the trouble
Reply all
Reply to author
Forward
0 new messages