Hello!
We are currently looking into getting our device ready to be deployed on the Motorola TC55. And with that we are running into some issues with Barcode scanning.
When we use the JS API to start the Barcode scanning with this code:
Rho.Barcode.take( {}, callback );
We get 2 errors:
- "Error setting barcode property: parameter is not recognised"
- "Failed to enable Scanner"
After some investigation, it seems to be the scanner with the type "Laser" (that is the default) that gives this problem.
Rho.Barcode.getDefault().scannerType; // Returns "Laser"
When we look for the scanner that has a scannerType like "Camera" things seem to work just fine.
Is anyone else also experiencing this problem? Attached is a small test application that has 4 different ways to start the scanner.
Some info about this problem that might be of use:
- It is build using RhoMobile 4.1.
- Android version: 4.1.2
- The Laser scanner works when using the DWDemo application
Does anyone have a way to get the default Laser scanner working on the TC55?
7 Replies
Gues I had the wrong update. After another update AND disableing all the Datawedge profiles, I got the laser scanner to work.
I'm sorry it took so much time to fix this Bart!
~Pietro
Hi Bart,
I've tested your sample app and it works on my TC55 when Datawedge is disabled.
What BSP are you using?
is your a GMS or a non-GMS device?
if is a GMS device, do you have the Enterprise Enabler installed?
you can get these data from the device:
BSP version:
Settings->About phone->Build Number (1.74 is the latest available)
GMS or on GMS:
Do you've the google apps installed (Maps, Gmail, etc)
Enterprise Enabler installed
Settings->About phone->SW components->Enterprise Mode
~Pietro
Hello Pietro,
The information you requested:
BSP Version: 131013-SI-1800EN-01.45-15443J-4.1.2-user
GMS: I cannot find Gmail, Google Maps or the Play store so I dont think this is a GMS version.
Enterprise Enabler: I cannot find anything Enterprise Mode related in this screen, so I think it is not enabled.
Looking at this, I think we need to update the software for this device. Do you have some clear instructions on how to perform this update? I have no idea where to start with it really.
Kind regards,
Bart
Hi,
Here is the software: https://portal.motorolasolutions.com/Support/US-EN/Resolution?solutionI……
Hi Bart
What do you get when you try Barcode.enumerate ?
http://docs.rhomobile.com/en/4.0.0/api/barcode#menumerateSTATIC
Does it list you all scanners you wanted to see?
Thank you.
Visnupriya R
Kutir mobility
Hello Visnupriya,
If you look at the test application you can see we look through all available scanners with that method and we search for the camera scanner. We get 2 scanners:
0) Laser scanner.
1) Camera scanner.
Cheers,
Bart