-
Notifications
You must be signed in to change notification settings - Fork 1
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
Disabling SocketCam C820 still calls didNotifyArrivalForDevice #13
Comments
Hi @chbeer, ok I'll look into it. In the meantime you can filter out the SocketCam device that arrives with
Best, |
Hi, It only happens on the latest 1.8.34 |
When we call the |
Hi @yliu342 the version 1.8.51 of our Swift Package on our private git repository also fixes this issue of having SocketCam device in your list. |
I'm using the latest 1.8.53 there is a new entry you need to add to Also the C820 is still showing if there are no other socket scanner is connect. If there is a connected socket scanner then C820 is not showing. |
Hi @yliu342 If you're using the 1.8.53, it means that you got the CaptureSDK on our private repository. Indeed, it has been removed from the Readme. It will be reinserted in the next release. Here's the part:
So as of the 1.8.53, CaptureSDK enables by default SocketCam so if you don't have a physical scanner, you still can scan a barcode out of the box. Can you share the code of your |
Hi @cyrille-socket we don't do anything special in I also tried to set before calling
And the result is always |
Also since your company moved to the private repo in future how should we get support or open issues such like this? |
|
You can write to our developers support email: |
As of version 1.9.74.0, we're still notified of the C820 arriving, even though it was not explicitly enabled. I had updated the SDK, and I did not understand why my code was always notified that a scanner was arriving, even though it was not turned on. It took me too long to understand that this was not my scanner (S700), but the C820. |
Hi @Ceroce , the device arrival of SocketCam C820 is normal as it is enabled by default in our CaptureSDK. If you don't use camera scanning, you can do the following: if deviceInfo.deviceType == .socketCamC820 || deviceInfo.deviceType == .socketCamC860 {
// do something or don't do something
} or disable SocketCam with our let captureHelper = CaptureHelper.sharedInstance
captureHelper.setSocketCamStatus(.disable, withCompletionHandler: { (setResult) in
if setResult == SKTCaptureErrors.E_NOERROR {
print("SocketCam disabled returned \(setResult.rawValue)")
}
}) |
I disabled the SocketCam C820 as described here:
https://docs.socketmobile.com/capture/ios/en/latest/socketCam.html#enabling-socketcam
I just call it with
.disable
, but I getE_INVALIDHANDLE
, then the SocketCam still reported withdidNotifyArrivalForDevice
The text was updated successfully, but these errors were encountered: