Connect scanner in SPP mode without showing barcode

F Faiz Waghoo 2 years 6 months ago
141 1 0

As I understand, pairing a new Zebra Scanner in SPP mode requires scanning the barcode generated by Scanner SDK API and then the scanner scans this Barcode. Is there a way to get a list of all available/discovered Bluetooth scanner devices that can be presented to the user in UI and then user taps on one from the list and we can then initiate a pairing with that specific scanner via the SDK. I could not find any API that provides such a list (without showing any UI). Am I missing something?

Basically, I am working on creating an abstraction layer for various Scanner devices which will be consumed by a host app completely unaware of the underlying scanner make. Most other scanner SDK shows a list and allows for selection from the list for pairing. I do not want to change the flow only for Zebra that user needs to scan barcode for pairing for Zebra and for other select from the list.

Please Register or Login to post a reply

1 Replies

D Darryn Campbell

Hi, I think you might be confusing SPP with SSI.  The workflow you describe (having the scanner scan a barcode generated by the API) is used to pair the scanner as a master device using the Zebra-proprietary SSI profile.  If you configure the scanner to be in the SPP profile, you can connect to it just as you would any other device.  Although it is very old now, I implemented SPP connection to a Zebra ring scanner in my old wedge app, https://github.com/darryncampbell/GenericScanWedge, which you might find useful.  This was 6 years ago but the concept should be the same for any SPP device.

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