| View previous topic :: View next topic |
| Author |
Message |
grid
Joined: 21 Dec 2007 Posts: 6
Digg It |
Posted: Fri May 30, 2008 3:58 pm Post subject: WiiRemoteJ.findRemote(); ??? |
|
|
Hello,
I tried to connect my WiiMote many many times but | Code: | | WiiRemoteJ.findRemote(); |
can't find it.
Qutput:
| Code: | | BlueCove version 2.0.1 on bluesoleil |
In BlueSoleil WiiMote is connected. I don't got a glue...
please help
Thanks
grid |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 493
Digg It |
Posted: Fri May 30, 2008 5:22 pm Post subject: |
|
|
#1. Get the latest BlueCove, 2.0.2.
#2. Do NOT connect the remote via BlueSoleil ahead of time. The entire connection process is handled via WiiRemoteJ. Connecting it ahead of time makes it impossible to find (since it is no longer discoverable). _________________ Cha0s |
|
| Back to top |
|
 |
grid
Joined: 21 Dec 2007 Posts: 6
Digg It |
Posted: Fri May 30, 2008 8:26 pm Post subject: |
|
|
Thanks, but It doesn't work at all.
MyCode:
| Code: |
while(true){
try {
WiiRemote mote = WiiRemoteJ.findRemote();
System.out.println(mote);
} catch (IllegalStateException e){
e.printStackTrace();
} catch (InterruptedException e){
e.printStackTrace();
}
}
|
I've got this output:
| Code: | BlueCove version 2.0.2 on bluesoleil
java.io.IOException: WiiRemote failed to connect!
at wiiremotej.WiiRemote.construct(WiiRemote.java:301)
at wiiremotej.WiiRemote.<init>(WiiRemote.java:214)
at wiiremotej.WiiRemoteDiscoverer.getWiiRemote(WiiRemoteDiscoverer.java:94)
at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:208)
at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:186)
at Wiii.<init>(Wiii.java:9)
at Wiii.main(Wiii.java:21)
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:295)
... 6 more
null
... |
And I am not connecting my WiiMote in bluesoleil ahead. Bluesoleil opens automaticly, should I connect when It's opend??? |
|
| Back to top |
|
 |
yundi
Joined: 15 Mar 2008 Posts: 29
Digg It |
Posted: Sat May 31, 2008 4:18 pm Post subject: |
|
|
| Try using widcomm drivers instead of bluesoleil, I had a similar problem and it dissapeared when I installed widcomm. |
|
| Back to top |
|
 |
|