Hi,
I use the Java HID Demo sample to write my own application. When I loop on all the msp430s, doing this :
hMan.connectDevice(0x2047, 0x0301, serialNumber[i], -1); hMan.sendRawData(serialNumber[i], (byte) 's', null); hMan.disconnectDevice();
it loops on the same MSP.
The serial number passed to "connectDevice" is different.
In the jni interface of the "connectDeviceNative" function, it's written : "If the serial is null or if the interface is a negative value, this function will try to connect to the first available matching VID/PID".
So it doesn't seem to behave this way, since I'm passing the serial number as a parameter. If I set the interface number to a positive value, it doesn't want to connect to the msp.
Any ideas ?
Thanks in advance,
Romain Rivoire