Abort Bluetooth Connection

N Navin Prabhakar 2 years 8 months ago
4 0 0

Hello,
Is there a way to programmatically reduce the no. of attempts made by the SDK handler to connect to the scanner.
This is to prevent the SDK from overwhelming the android device when the scanner's power bank goes down or for some reason , the device is totally out of range.
"
getBluetoothService() called with no BluetoothManagerCallback
Unable to connect() socket
java.io.IOException: read failed, socket might closed or timeout, read ret: -1"

It appears from the Logcat trace that the SDK handler is calling the service at least three times before aborting the same.
This actually leads to the app becoming unusable during these times.
Using the latest version of Android SDK V2.6.4.0 with DS 3678 SR scanner

Thanks

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