Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcssdkEventScannerAppeared not firing when usb scanner attached Android 14 #18

Open
mehtahardikr opened this issue Jul 19, 2024 · 11 comments

Comments

@mehtahardikr
Copy link

After updating scanner sdk to latest one 2.6.22.0 dcssdkEventScannerAppeared stopped firing.

device connection mode is. : DCSSDK_OPMODE_SNAPI

When you factory reset device and then try to connect to this mode its not firing that dcssdkEventScannerAppeared

`sdkHandler = SDKHandler(this@MainActivity, false)
    sdkHandler!!.dcssdkSetDelegate(this@MainActivity)
    sdkHandler!!.dcssdkSetOperationalMode(DCSSDKDefs.DCSSDK_MODE.DCSSDK_OPMODE_SNAPI)`

Can you hlep with that.

Android OS : Android 14
Device Samsung X200 tablet.

@Riadzebra
Copy link

SDK 2.6.22.0 is supposed to fix this issue but not posted yet .
Could you advise how did you get 2.6.22.0 SDK ?

@mehtahardikr
Copy link
Author

mehtahardikr commented Jul 26, 2024 via email

@Riadzebra
Copy link

Could you outline the steps you are using to reproduce the problem .
I have done a test here with no issues . Did you make sure to set the scanner to SNAPI after the factory reset ?

@mehtahardikr
Copy link
Author

mehtahardikr commented Jul 26, 2024 via email

@Riadzebra
Copy link

you can not communicate with scanner if the scanner is not set to SNAPI
using a USB scanner:
Configure its USB host mode to SNAPI.
Connect it to the Android device.
The scanner appears in the Available Device List.

you can refer to setup process using the scanner control demo app part of the SDK

https://techdocs.zebra.com/dcs/scanners/sdk-android/sample-apps/

@mehtahardikr
Copy link
Author

mehtahardikr commented Jul 26, 2024 via email

@Riadzebra
Copy link

Riadzebra commented Jul 26, 2024

all our scanner will folow the same process and setting the scanner to snapi is requirement that would be always be needed . please refer to the link i shared earlier and to our samples (The SNAPI barcode is part of the steps)
Please see below for your convinence

image

@mehtahardikr
Copy link
Author

mehtahardikr commented Jul 26, 2024 via email

@Riadzebra
Copy link

the scanner by default its set to USB HID keyboard which is one way protocol . to communicate with wired scanner using SDK you need to use SNAPI protocol for USB scanner . in case of BT scanner you need to set it to BT SSI .

This is described in our sdk sample and the documentation . I have shared earlier link below

https://techdocs.zebra.com/dcs/scanners/sdk-android/sample-apps/

You can refer to following statements

image

image

addtionally from the user guide for your scanner you have the following

https://www.zebra.com/content/dam/support-dam/en/documentation/unrestricted/guide/product/ds9308-prg-en.pdf

page 239 and 240 , you have

image

@Riadzebra
Copy link

Did you run the testing ?

@mehtahardikr
Copy link
Author

mehtahardikr commented Aug 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants