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 

Help -> Error getting device! - Not Supported on bluesole
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
mharkus



Joined: 15 Jan 2008
Posts: 7

Digg It
PostPosted: Thu Jan 24, 2008 3:18 am    Post subject:

Also, take a look at http://code.google.com/p/bluecove/wiki/stacks. It says here L2CAP is not currently supported by Bluecove for Bluesoleil stack. I'm not sure if this protocol is what's being used by the API to open a connection with the wiimote.
Back to top
View user's profile Send private message Yahoo Messenger
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Thu Jan 24, 2008 3:49 pm    Post subject:

That could be the issue, though I thought some people had had success with it. Apparently version 3.2.2.8 is the latest supported version. Perhaps that will work? If not, I'd try going with WIDCOMM.

P.S. The WiiRemote definitely uses L2CAP.
_________________
Cha0s
Back to top
View user's profile Send private message
joey.enfield



Joined: 22 Jan 2008
Posts: 10
Location: Ireland

Digg It
PostPosted: Thu Jan 24, 2008 3:58 pm    Post subject:

Hey, I've kinda got it working anyhow. I've managed to connect to the wii mote using the WIDCOMM stack. I followed the instruction and got the required files to install the WIDCOMM stack on

http://www.dev-toast.com/2007/01/05/uncrippling-bluetooth-in-vista-rtm

Now I have another problem. I am able to connect fine once. Then when I exit the program It seems that the device does not disconnect from the wii mote. The next time I try to run the program I get an error

Quote:

BlueCove version 2.0.3-SNAPSHOT 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 testing.WRLImpl.main(WRLImpl.java:4Cool
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)
... 1 more


When I restart the computer it works fine again for 1 run. I'm guessing that this is a problem with BlueCove not shutting down the connection correctly, but then again my device doesn't seem to be made for Widcomm drivers as I had to go to a bit of trouble to get it working correctly as i showed above...

But at least its kinda working!!!!!!!! Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy

Does anyone know a way around this problem?
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Thu Jan 24, 2008 4:01 pm    Post subject:

Yes. Disconnect the remote by holding down its power button. This is half BlueCove's fault and half WiiRemoteJ's fault. It should be fixed in the next release of WiiRemoteJ.
_________________
Cha0s
Back to top
View user's profile Send private message
joey.enfield



Joined: 22 Jan 2008
Posts: 10
Location: Ireland

Digg It
PostPosted: Thu Jan 24, 2008 4:19 pm    Post subject:

Thats perfect!!!!


Cha0s your a legend!!!!!
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Thu Jan 24, 2008 7:28 pm    Post subject:

I try. Smile

I'll see if I can work on the main components of the next release this weekend (read: I'll try to learn projection theory this weekend).
_________________
Cha0s
Back to top
View user's profile Send private message
Fizi



Joined: 27 Jan 2008
Posts: 4
Location: Australia

Digg It
PostPosted: Sun Jan 27, 2008 10:51 pm    Post subject:

I have the same error as Joey when running bluesoleil.

However, when I run with widcomm, I get:

Code:
java.lang.IllegalStateException: Bluetooth failed to initialise. There is probably a problem with your local stack or API.
...
caused by: javax.bluetooth.BluetoothStateException: Bluetooth stack not detected


When I try to run using winsock, it simply overrides my preference and reverts to bluesoleil.

I only installed anything for bluetooth withing the last 2 days, so everything is up-to-date. I'm running XP.


Last edited by Fizi on Sun Jan 27, 2008 10:53 pm; edited 1 time in total
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
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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