 -import com.astoev.cave.survey.service.bluetooth.device.comm.bosch.glm.BoschPLR30CBluetoothDevice;
 -import com.astoev.cave.survey.service.bluetooth.device.comm.bosch.glm.BoschPLR40CBluetoothDevice;
 -import com.astoev.cave.survey.service.bluetooth.device.comm.bosch.glm.BoschPLR50CBluetoothDevice;
+ import com.astoev.cave.survey.service.bluetooth.device.comm.distox.DistoXv1BluetoothDevice;
+ import com.astoev.cave.survey.service.bluetooth.device.comm.distox.DistoXv2BluetoothDevice;
  import com.astoev.cave.survey.service.bluetooth.lecommands.AbstractBluetoothCommand;
- import com.astoev.cave.survey.service.bluetooth.lecommands.EnableNotificationCommand;
- import com.astoev.cave.survey.service.bluetooth.lecommands.PullCharacteristicCommand;
-@@ -94,11 +89,6 @@ public class BluetoothService {
-         SUPPORTED_BLUETOOTH_COM_DEVICES.add(new LaserAceBluetoothDevice());
+@@ -100,11 +95,6 @@ public class BluetoothService {
          SUPPORTED_BLUETOOTH_COM_DEVICES.add(new TruPulse360BluetoothDevice());
-         SUPPORTED_BLUETOOTH_COM_DEVICES.add(new DistoXBluetoothDevice());
+         SUPPORTED_BLUETOOTH_COM_DEVICES.add(new DistoXv1BluetoothDevice());
+         SUPPORTED_BLUETOOTH_COM_DEVICES.add(new DistoXv2BluetoothDevice());
 -        SUPPORTED_BLUETOOTH_COM_DEVICES.add(new BoschGLM50CBluetoothDevice());
 -        SUPPORTED_BLUETOOTH_COM_DEVICES.add(new BoschGLM100CBluetoothDevice());
 -        SUPPORTED_BLUETOOTH_COM_DEVICES.add(new BoschPLR30CBluetoothDevice());

From 7fff67280ff05116e7a08dde61c705548c83e816 Mon Sep 17 00:00:00 2001
From: lz1asl <alexander.stoev@gmail.com>
Date: Tue, 2 Jun 2020 23:03:25 +0300
Subject: [PATCH] update bosch patch

---
 build.gradle                                  |   3 -

 delete mode 100644 src/main/java/com/astoev/cave/survey/service/bluetooth/device/comm/bosch/glm/GLMBluetoothConnectionWrapper.java

diff --git a/build.gradle b/build.gradle
index e324f43..49847b8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,9 +24,6 @@ dependencies {
     implementation 'com.j256.ormlite:ormlite-android:4.48'
     implementation 'org.apache.poi:poi:3.15'

-    // Bosch internal protocol
-    implementation files('../CaveSurveyBoschGLM/binary/CaveSurveyBoschGLM.jar')
-
