[fix]
[写超时后也重新搜索写入]
This commit is contained in:
yangyakun
2024-11-27 18:40:36 +08:00
parent 9303d64b34
commit 0039876866

View File

@@ -142,7 +142,7 @@ class OchBluetoothGattCallback(device: BluetoothDevice) : BluetoothGattCallback(
if(waitSendData.isEmpty()){
RxUtils.disposeSubscribe(timeoutCLose)
timeoutCLose = RxUtils.createSubscribeOnOwnThread(10_000) {
closeConn(true)
closeAndDestory(true)
}
}
}else{