Commit cc6faecf by Lee Jaebin

#37103 中心温度測定時の強制終了される問題対応

parent 618e40eb
...@@ -332,8 +332,10 @@ public class BleManagerUtil { ...@@ -332,8 +332,10 @@ public class BleManagerUtil {
// ②「接続可能範囲から外れた切断」は、内部処理でmBluetoothGatt.disconnect()処理が実施される。 // ②「接続可能範囲から外れた切断」は、内部処理でmBluetoothGatt.disconnect()処理が実施される。
// 切断時のコールバックでmBluetoothGatt.connect()を呼んでおくと、接続可能範囲に入ったら自動接続する。 // 切断時のコールバックでmBluetoothGatt.connect()を呼んでおくと、接続可能範囲に入ったら自動接続する。
mBluetoothGatt.disconnect(); mBluetoothGatt.disconnect();
mBluetoothGatt.close(); // mBluetoothGatt.close();
mBluetoothGatt = null;
mBluetoothGatt = null;
runOnUiThread( new Runnable() { runOnUiThread( new Runnable() {
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment