Having connection issues between a android 7.0 device and a Sumup card reader (Cheap Bluetooth card terminal that has a SDK), Connection is intermittent and im wondering is BluetoothGatt causing issues in android ?
Kinda stuck here and have reached out to Sumup who provide the SDK but decided to post here anyway
Added some debug output from the android device below
Any help is appreciated!
Thanks
'I/BluetoothLeScanner: startRegisteration: mLeScanClients={com.sumup.merchant.reader.bluetooth.ModernBtSmartScanner$1@3f2b743=android.bluetooth.le.BluetoothLeScanner$BleScanCallbackWrapper@300a1c0}'
'D/BluetoothAdapter: 116905321: getState(). Returning 12'
'D/BluetoothLeScanner: stopScan'
'D/BluetoothAdapter: getLeState() returning 12'
'STATE_ON'
'I/BluetoothLeScanner: startRegisteration: mLeScanClients={com.sumup.merchant.reader.bluetooth.ModernBtSmartScanner$1@3f2b743=android.bluetooth.le.BluetoothLeScanner$BleScanCallbackWrapper@300a1c0} ,callback=com.sumup.merchant.reader.bluetooth.ModernBtSmartScanner$1@3f2b743'
'D/BluetoothGatt: connect() - device: F7:D1:AB:B3:81:73, auto: false'
'D/BluetoothGatt: registerApp()registerApp() - UUID=484a6743-fe92-481c-a2fc-e606d475e21d'
'D/BluetoothGatt: onClientRegistered() - status=0 clientIf=10'
'D/BluetoothGatt: onClientConnectionState() - status=133 clientIf=10 device=F7:D1:AB:B3:81:73'
'W/SumUp: (SourceFile:112)@BtSmart-Receiver | BluetoothAdapter not initialized'
'E/SumUp: (SourceFile:153)@main | onTransportError() CardReaderError{Name = TRANSPORT_ERROR mErrorCode=3}'
question from:https://stackoverflow.com/questions/65944822/android-studio-java-bluetooth-gatt-connection-issue