|
|
@@ -224,7 +224,7 @@ class BleManager(
|
|
|
|
|
|
override fun onCharacteristicChanged(gatt: BluetoothGatt?, characteristic: BluetoothGattCharacteristic?) {
|
|
|
super.onCharacteristicChanged(gatt, characteristic)
|
|
|
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) return
|
|
|
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) return
|
|
|
LogUtil.w(TAG, "gattCallback <--- ${characteristic?.value?.byteArrayToHexString(" ")}")
|
|
|
val data = characteristic?.value ?: byteArrayOf()
|
|
|
var key = ""
|