| View previous topic :: View next topic |
| Author |
Message |
liblio
Joined: 14 Jan 2008 Posts: 6
Digg It |
Posted: Mon Feb 04, 2008 12:40 pm Post subject: |
|
|
Yeeeeesssssssssssssssss !!!
After so many unsucessful tries I've managed to make it working !
How ?
In fact I bought a new bluetooth usb key... so simple uh... and it works fine, with bluecove and widcomm.
For info, for me it works well with :
. XP SP1
. Java JDK 1.6.0_02
. WiiRemoteJ 1.2
. Bluecove 2.0.2
. Widcomm 5.1.0.1700
. Broadcom 2045 Bluetooth 2.0 USB device
Many thanks to everyone in this forum.
A particular thank to you Cha0s, for your help and your wonderful WiiRemoteJ !!
*** Liblio *** |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 470
Digg It |
Posted: Mon Feb 04, 2008 2:16 pm Post subject: |
|
|
You're welcome.  _________________ Cha0s |
|
| Back to top |
|
 |
ujs
Joined: 20 Feb 2008 Posts: 6
Digg It |
Posted: Mon Feb 25, 2008 4:51 pm Post subject: |
|
|
| Quote: | | Failed to assign PSM 0x11 |
I had the same problem. Using a newer version of WIDCOMM solved the problem for me.
Background:
Wii Remote follows the Bluetooth Human Interface Device (HID) standard
HID uses PSM 0x11 and 0x13 (PSM = Protocol & Service Multiplexer, like a channel or port)
WiiRemoteJ directly connects to PSM 11 and 13 via L2CAP
JSR-82 (Java Bluetooth API specification) only allows connections to PSMs in the range from 0x1001 to 0xFFFF.
BlueCove 2.0.2 (and probably other JSR-082 implementations) allow it anyway
Some older stacks (e.g WIDCOMM 1.4.X) don't Uwe |
|
| Back to top |
|
 |
knobbe
Joined: 05 May 2008 Posts: 2
Digg It |
Posted: Mon May 05, 2008 12:02 pm Post subject: wiimote connection problems on Vista laptop |
|
|
Hi,
I have similar problems trying to connect to my Wiimote on a Vista laptop (Dell). I'm using BlueCove 2.0.2, WiiRemoteJ 1.3 and (apparently) Winsock. I tried with and without the suggest
-Dbluecove.stack.first=widcomm, but the results are the same. Here is what I get.
[code]C:\Projects\Wiimote>java -Dbluecove.stack.first=widcomm test
BlueCove version 2.0.2 on winsock
5-mei-2008 13:54:51 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FINE: Found Nintendo RVL-CNT-01 (001E3538F058)
5-mei-2008 13:54:51 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FINE: Nintendo RVL-CNT-01 is a WiiRemote.
5-mei-2008 13:54:52 wiiremotej.WiiRemote construct
INFO: btl2cap://001E3538F058
5-mei-2008 13:54:52 wiiremotej.WiiRemoteDiscoverer getWiiRemote
SEVERE: Error getting device!
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 test.main(test.java:65)
Caused by: com.intel.bluetooth.NotSupportedIOException: Not Supported on winsock[/code]
Any help much appreciated! |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 470
Digg It |
Posted: Mon May 05, 2008 8:42 pm Post subject: |
|
|
You can't use winsock (the built-in stack). You must use either WIDCOMM or BlueSoleil for your Bluetooth stack. This means that you will need to download and install a WIDCOMM driver for your Bluetooth dongle (it's specific to your particular Bluetooth) or download and install BlueSoleil (then the command will be different, though, so I suggest you get a WIDCOMM driver if possible). _________________ Cha0s |
|
| Back to top |
|
 |
knobbe
Joined: 05 May 2008 Posts: 2
Digg It |
Posted: Fri May 09, 2008 4:37 pm Post subject: |
|
|
Hi Cha0s and others,
thanks for pointing out what the problem is. I must say the solution is not quite clear to me. I bought another USB dongle, but have no idea how to get a Widcomm driver for it. It says its' a XXODD on the outside, but I guess it's really a Cambridge Silicon Radio. It also seems like it uses a Toshiba driver. I could find an appropriate Widcomm driver. I got some driver from the web but that didn't work (of course). Now I have bluesoleil installed (trial license), and your software says it's using bluesoleil, so that's good. But unfortunately I still get the same exception (just replace "winsock" with "bluesoleil"). Should I be using a recent version of bluesoleil to make this work? Mine is a bit older.
Thanks. |
|
| Back to top |
|
 |
ujs
Joined: 20 Feb 2008 Posts: 6
Digg It |
|
| Back to top |
|
 |
|