Dupe of Brendan’s problem with same configuration (MB & a Remote). Here’s the java stack trace:
java.io.IOException: Error sending data!
at wiiremotej.WiiRemote.sendCommand(WiiRemote.java:502)
at wiiremotej.WiiRemote.requestStatus(WiiRemote.java:809)
at org.uweschmidt.wiimote.whiteboard.WiimoteDataHandler$1.run(WiimoteDataHandler.java:98)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.IOException: Connection closed
at com.intel.bluetooth.BluetoothStackOSX.l2Send(Native Method)
at com.intel.bluetooth.BluetoothL2CAPConnection.send(BluetoothL2CAPConnection.java:113)
at wiiremotej.WiiRemote.sendCommand(WiiRemote.java:498)
... 3 more
java.io.IOException: Error sending data!
at wiiremotej.WiiRemote.sendCommand(WiiRemote.java:502)
at wiiremotej.WiiRemote.requestStatus(WiiRemote.java:809)
at org.uweschmidt.wiimote.whiteboard.WiimoteDataHandler$1.run(WiimoteDataHandler.java:98)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.IOException: Connection closed
at com.intel.bluetooth.BluetoothStackOSX.l2Send(Native Method)
at com.intel.bluetooth.BluetoothL2CAPConnection.send(BluetoothL2CAPConnection.java:113)
at wiiremotej.WiiRemote.sendCommand(WiiRemote.java:498)
... 3 more
This happens consistently 60 seconds after the wiimote connects. Does the code do a status check on the wiimote then?
More info: the previous release did not have this problem. Also, when run with BlueCove debug enabled, nothing appears abnormal.