有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

Android Studio Java蓝牙Gatt连接问题

安卓 7.0设备和Summap读卡器(带有SDK的廉价蓝牙卡终端)之间存在连接问题,连接是断断续续的,我想知道BluetoothGatt是否会导致安卓出现问题

有点困在这里,已经接触到提供SDK的Summup,但还是决定在这里发布

下面添加了一些来自安卓设备的调试输出

感谢您的帮助

谢谢

'I/BluetoothLeScanner: startRegisteration: mLeScanClients={com.sumup.merchant.reader.bluetooth.ModernBtSmartScanner$1@3f2b743=安卓.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=安卓.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}'

共 (0) 个答案