I have tried the Android Scanner SDK version 2.6.22.0 as well as version 2.6.21.0 on Google Pixel 6a.
When trying to connect via Bluetooth LE and configuration mode DCSSDKDefs.DCSSDK_BT_SCANNER_CONFIG.KEEP_CURRENT everything works.
When using configuration mode DCSSDKDefs.DCSSDK_BT_SCANNER_CONFIG.SET_FACTORY_DEFAULTS, no connection can be established.
When using configuration mode DCSSDKDefs.DCSSDK_BT_SCANNER_CONFIG.RESTORE_FACTORY_DEFAULTS, no connection can be established and I often get a crash:
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(java.lang.String)' on a null object reference
at com.zebra.scannercontrol.SDKHandler.bluetoothLEDeviceAppeared(SDKHandler.java:2296)
at com.zebra.scannercontrol.BluetoothLEManager.processScanRecord(BluetoothLEManager.java:453)
at com.zebra.scannercontrol.BluetoothLEManager.access$500(BluetoothLEManager.java:48)
at com.zebra.scannercontrol.BluetoothLEManager$2.onScanResult(BluetoothLEManager.java:262)
at android.bluetooth.le.BluetoothLeScanner$BleScanCallbackWrapper$1.run(BluetoothLeScanner.java:568)
at android.os.Handler.handleCallback(Handler.java:959)
Everything happening on Android 14 only. Android 13 seems to work.
Any ideas how to solve this?
0 Replies