Hi Chris,
Doubleklick on WiimoteLogger.jar and nothing happens what can I do?
try starting the app on the command line with java -jar WiimoteLogger.jar. That should print an error message which hopefully makes the problem easier to understand.
Uwe
Hello Uwe…
An error message is funny… Thousends :D
http://www.imagebanana.com/view/7a67kkgw/jufo.png
Thanks Chris
Hi Chris,
it seems like you’re using the Toshiba Bluetooth stack, which is apparently not supported by BlueCove, the Bluetooth library used in my app. You need to use the WIDCOMM stack on Windows in combination with my program; please see this thread for more details.
Uwe
Hello Uwe,
thaks for that information, but unfortunately I didn’t found a download link for WIDCOMM. (Also on the last post of your linked thread)
Can you give me the direct link?
Thanks Chris
Hi Chris,
I can’t give you a direct link to download the WIDCOMM stack, I’m not even sure if it’s free to download. According to Wikipedia:
Widcomm was the first Bluetooth stack for the Windows operating system. The stack was initially developed by a company named Widcomm Inc., which was acquired by Broadcom Corporation in April 2004. Broadcom continues to license the stack for inclusion with many Bluetooth-powered end-user devices.
So maybe you need a licensed Bluetooth stick to (legally) use the WIDCOMM stack…
Uwe
Hello Uwe… what do you think, can I use BlueSoleil with a Toshiba Bluetootstick?
I test it tomorrow and then I write you again.
Chris
Hi Chris,
I’m almost certain that anything except WIDCOMM won’t work. Here’s why:
L2CAP support available only on Windows WIDCOMM Stack, Linux BlueZ and Mac OS X Stack.
— http://code.google.com/p/bluecove/wiki/Documentation
My app uses L2CAP over BlueCove…
Uwe
I so badly want it to work… but it just won’t launch on OS X. I’ve tried all the command line variants listed in previous comments, but still no go. :(
Hi Pete,
have you tried starting it with java -d32 -jar WiimoteLogger.jar
Very sorry for the late reply, I’m currently traveling…
I have it working on my install of Ubuntu, except that my log files are always empty. It shows no errors. Any suggestions?
Hi Steve,
maybe this is a permission problem (see previous comment)? Try starting the app as root.
Sorry for the late reply.
Hi Uwe, I was trying to play with your WiimoteLogger and gave the command java -jar WiimoteLogger.jar under windows 7 32 bit.
However, though the program runs (I mean I can see the application window), I always get the following run-time error:
Jan 31, 2012 12:59:34 PM wiiremotej.WiiDeviceDiscoverer getDevice
SEVERE: Error getting device!
java.io.IOException: WiiRemote failed to connect!
at wiiremotej.WiiRemote.construct(WiiRemote.java:321)
at wiiremotej.WiiRemote.(WiiRemote.java:223)
at wiiremotej.WiiDeviceDiscoverer.getDevice(WiiDeviceDiscoverer.java:121
at wiiremotej.WiiRemoteJ.findDeviceInternal(WiiRemoteJ.java:342)
at wiiremotej.WiiRemoteJ.access$100(WiiRemoteJ.java:24)
at wiiremotej.WiiRemoteJ$1.run(WiiRemoteJ.java:426)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.intel.bluetooth.NotSupportedIOException: Not Supported on winsock
at com.intel.bluetooth.BluetoothStackMicrosoft.l2OpenClientConnection(Bl
at com.intel.bluetooth.BluetoothL2CAPClientConnection.(BluetoothL2
at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnec
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.
at javax.microedition.io.Connector.open(Connector.java:97)
at wiiremotej.WiiRemote.construct(WiiRemote.java:313)
... 6 more
BlueCove stack shutdown completed
My machine is Acer ravelmate 6492, with WIDCOMM Bluetooth stack!
Looking for your reply.
Regards Maks
Hi Maks,
try starting the app with java -Dbluecove.stack=widcomm -jar WiimoteLogger.jar
to force using the WIDCOMM stack.
Hi Uwe, Now, there are other problems. First I guess, the program - WiimoteLogger -differentiate between RVL-CNT-01 and RVL-CNT-01-TR wii remote model. Though both of them are Wii motion plus, but my guess RVL-CNT-01-TR is a later production. It has SYNC button interface visible from outside. Whereas in the older production i.e. in RVL-CNT-01, SYNC button is inside the remote cover which is only visible when you open the batter cover. From my experience with WiimoteLogger, it seems it is vulnerable when trying to connect with RVL-CNT-01-TR type - sometimes it is successful and but most of the times not! Whereas with the RVL-CNT-01 model it seems to be working fine!
I have also tried to play with multiple remote. If both RVL-CNT-01 and RVL-CNT-01-TR remote are paired with your pc/laptop, the program will never accept/find the RVL-CNT-01-TR! But if there is multiple wii RVL-CNT-01 remote is paired with your pc/laptop, WiimoteLogger is able to connect with all of them (almost always). However, there is another problem I have experienced with WiimoteLogger - although it can connect with multiple wii RVL-CNT-01 remote, when it writes the captured data into a file, it only writes data from the second remote(I have played with 2 remote). I have tried this several times and found that the file always contains data from the second remote (wii id 2).
I will be eagerly waiting to hear from you. Any suggestion to handle these issues will be highly appreciated.
Regards Maks
I get the following error when I try to run it on osx lion, any help much appreciated
Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: javax/bluetooth/BluetoothStateException
DarwiinRemote and DarwiinRemoteLives don’t work under OS X 10.9. I thought I’d try your app even though I’d really like a live graph. Your app immediately quits with the following error.
10/20/14 17:35:26.533 WiimoteLogger[73780]: dlopen(/private/var/folders/8b/v2r1lw2122q97w4xqjn420000000gp/T/bluecove_hornelen_0/libbluecove.jnilib, 1): no suitable image found. Did find:
/private/var/folders/8b/v2r1lw2122q97w4xqjn420000000gp/T/bluecove_hornelen_0/libbluecove.jnilib: no matching architecture in universal wrapper
Hi Uwe, I am currently working on a project of wiimote whiteboard and I am not able to connect my wiimote to the PC. I am using Eclipse IDE to run the java program under windows 7 64-bit. My machine is Dell Latitude, with Microsoft Bluetooth stack! Though the program runs (I mean I can see the application window), I always get the run-time error saying that Winsock is not supported