WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WiiRemoteJ + Windows XP + BlueCove error

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
pauspling



Joined: 20 May 2008
Posts: 2

Digg It
PostPosted: 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
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: 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
View user's profile Send private message
pauspling



Joined: 20 May 2008
Posts: 2

Digg It
PostPosted: 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
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: 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
View user's profile Send private message
probchild



Joined: 07 Apr 2008
Posts: 1

Digg It
PostPosted: 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 Smile

Chaos: thanks for a great library !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group