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 

Cannot connect to WiiMote: Not Supported on winsock
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Mon Jan 14, 2008 8:15 pm    Post subject:

I think you'll find more details in the error log that was cited in that message.
P.S. Do you have JRE 1.5.0? You need 1.5.0 or later to use WiiRemoteJ.
_________________
Cha0s
Back to top
View user's profile Send private message
mg



Joined: 08 Jan 2008
Posts: 4

Digg It
PostPosted: Mon Jan 14, 2008 9:17 pm    Post subject:

Using the latest jwiiremote version I now get:
(vista sp1, bluesoleil, bluecove)


Code:

BlueCove version 2.0.2 on bluesoleil
14.01.2008 22:12:37 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FEIN: Nintendo RVL-CNT-01...
14.01.2008 22:12:37 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FEIN:  is a WiiRemote!
14.01.2008 22:12:38 wiiremotej.WiiRemote construct
INFO: btl2cap://00191D73BF94
14.01.2008 22:12:38 wiiremotej.WiiRemoteDiscoverer getWiiRemote
SCHWERWIEGEND: Error getting device!
java.io.IOException: WiiRemote failed to connect!
   at wiiremotej.WiiRemote.construct(WiiRemote.java:287)
   at wiiremotej.WiiRemote.<init>(WiiRemote.java:211)
   at wiiremotej.WiiRemoteDiscoverer.getWiiRemote(WiiRemoteDiscoverer.java:86)
   at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:226)
   at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:186)
   at WRLImpl.main(WRLImpl.java:135)
Caused by: com.intel.bluetooth.NotSupportedIOException: Not Supported on bluesoleil
   at com.intel.bluetooth.BluetoothStackBlueSoleil.l2OpenClientConnection(BluetoothStackBlueSoleil.java:380)
   at com.intel.bluetooth.BluetoothL2CAPClientConnection.<init>(BluetoothL2CAPClientConnection.java:32)
   at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnector.java:397)
   at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.java:506)
   at javax.microedition.io.Connector.open(Connector.java:95)
   at wiiremotej.WiiRemote.construct(WiiRemote.java:281)
   ... 5 more
java.lang.NullPointerException
   at WRLImpl.main(WRLImpl.java:136)
Back to top
View user's profile Send private message
liblio



Joined: 14 Jan 2008
Posts: 6

Digg It
PostPosted: Tue Jan 15, 2008 1:46 am    Post subject:

Yes I tried to have a look in the errorlog file generated with avetana, but it deals only with registers, stack states, threads, process, dlls, etc., in fact particularly a lot of hexadecimal data I can't interpret, unfortunatly.

But it's not the real problem, the real is that with, now,
WiiRemoteJ1.2
bluecove 2.0.2
bluesoleil
JDK 1.6.0_02
XP SP1
I have the same error than mg (thanks ! I feel less alone Wink )

In fact, to be precise, when I init the wiiimote for discovering in WiiRemoteJ, bluesoleil also automaticaly find it in its "bluetooth places" (bluesoleil in windows traybar, where we can choose to "Connect" the device, or "Delete", etc). And I get the following error :

Code:
BlueCove version 2.0.2 on bluesoleil
14 janv. 2008 17:29:51 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FIN: Nintendo RVL-CNT-01...
14 janv. 2008 17:29:51 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FIN:  is a WiiRemote!
14 janv. 2008 17:29:52 wiiremotej.WiiRemote construct
INFO: btl2cap://00191DA81566
14 janv. 2008 17:29:52 wiiremotej.WiiRemoteDiscoverer getWiiRemote
GRAVE: Error getting device!
java.io.IOException: WiiRemote failed to connect!
   at wiiremotej.WiiRemote.construct(WiiRemote.java:287)
   at wiiremotej.WiiRemote.<init>(WiiRemote.java:211)
   at wiiremotej.WiiRemoteDiscoverer.getWiiRemote(WiiRemoteDiscoverer.java:86)
   at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:226)
   at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:186)
   at WRLImpl.main(WRLImpl.java:135)
Caused by: com.intel.bluetooth.NotSupportedIOException: Not Supported on bluesoleil
   at com.intel.bluetooth.BluetoothStackBlueSoleil.l2OpenClientConnection(BluetoothStackBlueSoleil.java:380)
   at com.intel.bluetooth.BluetoothL2CAPClientConnection.<init>(BluetoothL2CAPClientConnection.java:32)
   at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnector.java:397)
   at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.java:506)
   at javax.microedition.io.Connector.open(Connector.java:95)
   at wiiremotej.WiiRemote.construct(WiiRemote.java:281)
   ... 5 more
java.lang.NullPointerException
   at WRLImpl.main(WRLImpl.java:136)


I decided to try without launching bluesoleil tray, and some bluesoleil services. But in all that cases the wiimote cannot be discovered at all.

I also tried to detect, than connect, wiimote directly in "bluesoleil places", and it works for windows apps (can use with GlovePIE for example).

Last thing : I launch WRLImpl from JDK 1.6.0_02 but I have many JDKs installed (it never interfered before, since I change classpath etc each time according to needs, but... do you think this could create problems ?)
Back to top
View user's profile Send private message
liblio



Joined: 14 Jan 2008
Posts: 6

Digg It
PostPosted: Fri Jan 18, 2008 7:48 pm    Post subject:

Did you find a solution mg, does it work for you now ?

I tried again all combinations (avetana/widcomm, avetana/bluesoleil, bluecove/widcomm, bluecove/bluesoleil), each with differents inits of the wiimote (before launching java, after, previously connecting in windows stack, not connecting at all, after computer rebooting, with/without all bluetooth services, etc), but it never works. For the significants cases it's always the same two errors (one particular for avetana, the other for bluecove, see messages above in this page for dumps).

Neverthless I have a new idea : the USB key I use is an old bluetooth key. It worked well few years ago in a project involving java and a bluetooth phone (with the avetana library, bought at this occasion), but maybe I need a more recent device...
Cha0s, do you think the problem with WiiRemoteJ could be the need of a bluetooth2.0 USB key ?

Liblio

"Ooow it would be so great... if only I could use this f...abulous wiiimote !!"
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Sat Jan 19, 2008 1:59 am    Post subject:

I'm not sure. Try the latest BlueCove and WiiRemoteJ and see if that works.
_________________
Cha0s
Back to top
View user's profile Send private message
plieger



Joined: 07 Jan 2008
Posts: 7

Digg It
PostPosted: Sat Jan 19, 2008 9:26 am    Post subject:

Perhaps my post on http://www.wiili.org/forum/problem-with-bluecove--bluesoleil-t3162-s7.html?sid=4226d63bafef2288b5d1526cab961d59#17052 helps?
Back to top
View user's profile Send private message
liblio



Joined: 14 Jan 2008
Posts: 6

Digg It
PostPosted: Sun Jan 20, 2008 1:35 am    Post subject:

In fact, I use Bluesoleil 5.0.5.178 and WiiRemoteJ 1.2,
both latest I think.
Should I try Bluesoleil 2.3 instead ?

plieger : When I use widcomm, I install the drivers included in the cd provided with my BT USB Key, so I think (I hope) they're compatible (and my key is not listed on the page you mentionned), but I will try with the latest installer from widcomm website (will re-install drivers from cd and try an update with this installer).
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  Next
Page 2 of 3

 
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