Is there a chance that this might work with the [current] Wii Remotes? I had to hack the WiiRemoteJ code to recognize the device string. But even after that, it simply hangs after a couple of lines:-(
The log when pressing the sync button on the back:
---------------------------------------------------------------------
INFO 21:50:14 Calibration Event: SCREEN_CHANGED
FINE 21:50:36 WiiRemoteJ: Found Nintendo RVL-CNT-01-TR (CCFB65610A34)
FINE 21:50:36 WiiRemoteJ: Nintendo RVL-CNT-01-TR is a Wii Remote.
INFO 21:50:36 WiiRemoteJ: btl2cap://CCFB65610A34
FINER 21:50:37 WiiRemoteJ: Initial connection complete.
FINER 21:50:37 WiiRemoteJ: Calibrating accelerometer...
FINEST 21:50:37 WiiRemoteJ: Data write finished.
FINEST 21:50:37 WiiRemoteJ: Data write finished.
FINEST 21:50:37 WiiRemoteJ: Data write finished.
--------- Nothing more -------------------------------
When pressing the 1 & 2 buttons the log lists:
-----------------------------------------------------------
INFO 21:55:58 Calibration Event: SCREEN_CHANGED
FINE 21:56:19 WiiRemoteJ: Found Nintendo RVL-CNT-01-TR (CCFB65610A34)
FINE 21:56:19 WiiRemoteJ: Nintendo RVL-CNT-01-TR is a Wii Remote.
INFO 21:56:20 WiiRemoteJ: btl2cap://CCFB65610A34
FINER 21:56:20 WiiRemoteJ: Initial connection complete.
FINER 21:56:20 WiiRemoteJ: Calibrating accelerometer...
----------------------------------------------------
and then the connection is lost:-(
----------------------------------------------------
Feb 08, 2015 9:57:26 PM wiiremotej.WiiRemote$1 run
WARNING: Error, unexpected IO error.
java.io.IOException: Peer closed connection
at com.intel.bluetooth.BluetoothStackBlueZ.l2Receive(Native Method)
at com.intel.bluetooth.BluetoothL2CAPConnection.receive(BluetoothL2CAPConnection.java:115)
at wiiremotej.WiiRemote$1.run(WiiRemote.java:337)
at java.lang.Thread.run(Thread.java:744)
----------------------------------------------------
Any idea?