Hello,
I've done this program:
private static BarcodeReader barcodeReader;
barcodeReader = new BarcodeReader();
barcodeReader.reserveDevice(14000);
BarcodeType type = BarcodeType.Code128;
BarcodeTypes types = new BarcodeTypes();
types.add(type);
barcodeReader.setScanTypes(types);
barcodeReader.startScan();
barcodeReader.waitForBarcode(10000);
Barcodes barcodes = barcodeReader.getBarcodes();
Iterator iterator = barcodes.iterator();
while (iterator.hasNext()) {
Barcode barcode = (Barcode) iterator.next();
//Get the value of current barcode
String value = barcode.getValue();
System.out.println(" Scanned value : " + value);
}
barcodeReader.releaseDevice();
But my barcode doesn't work. The red light doesn't appear (same with the BarCodeDemoJava) and I have a return value 0128. If I use an oser barcode type I have a timeout.
When I press the barcode physical button it's the same. I've done an update of the SDK (2.0.1) and now the barcode doesn't shine...
Can you give me some helps please.
Thanks
Ludo
I 've find the problem
The 2.0.1 SDK version is not compatible with the Motion C5. With the 2.0 SDK version it works


