SYMBOL CS4070 Scan SDK

c cornelia GUTU 2 years 11 months ago
12 1 0

Hi all,
 
I have some questions about the sdk of CS4070 scanner.
I follow this guide https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/rfid/scann…
but it seems to be very difficult to integrate the scanner control into my app.
I just want to connect my device to the scanner and scan barcodes.
I succeded to establish the communication between device and scanner using

dcssdkEventCommunicationSessionEstablished

and now I tried to get a EAN 13 barcode using dcssdkEventBarcode
but I get only 10 key instead to have 13 keys.
 
I've tried to use example from scanner control demo but I have a Exception: BluetoothScanner could not be cast to Barcode.
 
Please give me a index.
Did I use the good sdk for the Symbol CS4070 ?
 
Thank you.

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Hi, you might get more luck posting in   as this scanner is part of that group but I will try to help.

It looks like you are using the correct guide, the support site for the scanner is Symbol CS4070 Companion Scanner Support & Downloads | Zebra  and that site links to that guide for Android development.  Although there is no link to the Android SDK(!!) I found it at the support site here: https://www.zebra.com/us/en/support-downloads/software/developer-tools/… .  I notice the SDK has a scanner_control_app.apk inside it, I suggest trying this out to test connection with the scanner, I am not sure which demo app you might be using.

Some other things to check, make sure you are paired with the scanner and the scanner is configured.  There is detailed documentation on this in the product reference guide: https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/barcode-sc… .  For the CS4070, you do not have to install 123Scan2 to configure it, you should be able to just connect via USB and edit the config.ini stored on the scanner.  There are a number of EAN options but I could not see anything that might only return the first 10 digits of an EAN13 barcode. 

CONTACT
Can’t find what you’re looking for?