Well come to the library project of Classiclll
These libraries are the external libs of Processing/Proce55ing
Code: Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: de.avetana.bluetooth.stack.BlueZ.cancelInquiry()V at de.avetana.bluetooth.stack.BlueZ.cancelInquiry(Native Method) at javax.bluetooth.DiscoveryAgent.cancelInquiry(DiscoveryAgent.java:265) at wiiremotej.WiiRemoteDiscoverer.deviceDiscovered(WiiRemoteDiscoverer.java:68) at javax.bluetooth.DiscoveryAgent.deviceDiscovered(DiscoveryAgent.java:284) at de.avetana.bluetooth.stack.BlueZ.hciInquiry(Native Method) at javax.bluetooth.DiscoveryAgent$1.run(DiscoveryAgent.java:208) at edu.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) at java.lang.Thread.run(Thread.java:619)
Code: JNIEXPORT void JNICALL Java_de_avetana_bluetooth_stack_BlueZ_cancelInquiry (JNIEnv *env, jclass obj) { /* Close the specified HCI device */ //printf("Function called: %s, %i\n"__FILE__, __LINE__); //hci_close_dev(dd); return; }
int receiveMTU=672, transmitMTU=672;to
int receiveMTU=-1, transmitMTU=-1;
avetana : I request a config wiimote : Ok set your MTU size on 185 avetana : I am ignorant so i'll use MTU size of 672 wiimote : See Yaa
avetana : I request a config wiimote : Ok set your MTU size on 185 avetana : Ok setting MTU size on 185 wiimote : nice doing business avetana : blabla wiimote : blala etc..etc...
_
A couple of useful tips for others trying this out:
By following these two steps I'm finding this fairly reliable and can now definitely get on with some experimenting