Note
*
Once a specific device address is connected with a program
* another program can't get access to it.
*
* @return
*
* Bin 0000, Dec 0 : No devices was found
* Bin 0001, Dec 1 : Card address 0 was found.
* Bin 0010, Dec 2 : Card address 1 was found.
* Bin 0100, Dec 4 : Card address 2 was found.
* Bin 1000, Dec 8 : Card address 3 was found.
* Example : return value 9 = devices with address 0 and 3 are connected.
*
* @throws JK8055Exception
*/
public synchronized int SearchDevices()
throws JK8055Exception
{
int retval = CSearchDevices();
if( retval == K8055_ERROR ) {
throw new JK8055Exception( "SearchDevices failed" );
}
return retval;
}
private native String CVersion();
/**
* Return the version number of the libk8055 library used.
*
* @return a string like "0.3"
*/
public synchronized String Version() {
return CVersion();
}
}