| View previous topic :: View next topic |
| Author |
Message |
pauspling
Joined: 20 May 2008 Posts: 2
Digg It |
Posted: Tue May 20, 2008 11:46 pm Post subject: WiiRemoteJ + Windows XP + BlueCove error |
|
|
Hi, I am newbie to wiimote programming and thus, I have no idea why I get the following error message when I try to connect to the wiimote:
| Quote: | BlueCove version 2.0.2 on widcomm
java.lang.IllegalStateException: Bluetooth failed to initialize. There is probably a problem with your local Bluetooth stack or API.
at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:57)
at wiitest.Tester.<init>(Tester.java:21)
at wiitest.TestRunner.main(TestRunner.java:7)
Caused by: javax.bluetooth.BluetoothStateException: Bluetooth Device is not ready
at com.intel.bluetooth.BluetoothStackWIDCOMM.getLocalDeviceBluetoothAddress(Native Method)
at javax.bluetooth.LocalDevice.<init>(LocalDevice.java:66)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:71)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:86)
at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:49)
... 2 more
BlueCove stack shutdown completed
|
I am running WiiRemoteJ and BlueCove on a Windows Machine with a D-link 120 adapter. Anyone? |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 493
Digg It |
Posted: Wed May 21, 2008 4:35 am Post subject: |
|
|
Try the WIDCOMM stack. People seem to get better results with it. _________________ Cha0s |
|
| Back to top |
|
 |
pauspling
Joined: 20 May 2008 Posts: 2
Digg It |
Posted: Wed May 21, 2008 2:43 pm Post subject: widcomm |
|
|
But the error message says:
| Quote: | | BlueCove version 2.0.2 on widcomm |
Doesn't that mean I am running on widcomm rather than bluesoleil that I thought I was? |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 493
Digg It |
Posted: Wed May 21, 2008 2:59 pm Post subject: |
|
|
Hrmm.... I see. I've never seen that "not ready" before. I'm not sure what to say about that... Try unplugging and replugging in the bluetooth dongle before trying to run the program. _________________ Cha0s |
|
| Back to top |
|
 |
probchild
Joined: 07 Apr 2008 Posts: 1
Digg It |
Posted: Thu May 22, 2008 9:13 am Post subject: |
|
|
I'm a newbie too and had the same problem using D-link 122 adapter with the Widcomm stack.
It worked the first time after rebooting, but after that I got the same exception.
It seems that when terminating my application from Eclipse it doesn't release the bluetooth connection, no "BlueCove stack shutdown completed ", so I can't reconnect. But when closing my JFrame properly with the JFrame.EXIT_ON_CLOSE set it does release it and everything works.
Hope this can be of any help.. still figuring this whole thing out here
Chaos: thanks for a great library ! |
|
| Back to top |
|
 |
|