Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 936 Bytes

Bosch.md

File metadata and controls

33 lines (24 loc) · 936 Bytes

About

Connection with the Bosch measurement devices uses proprietary library provided by Bosch Power Tools that cannot be published freely. For automated builds the support of Bosch devices can be removed.

Patch file

  • Make the project compile:
git apply --ignore-space-change --ignore-whitespace no_bosch_library.patch
  • Update the patch file:
# create branch
git checkout -b fix_patch

# 4 manual steps below
# remove everything in com.astoev.cave.survey.service.bluetooth.device.comm.bosch
# remove references to that classes from BluetoothService
# remove the reference to the library in build.gradle
# commit the above changes

# A) generate new patch in console
git format-patch master --stdout > no_bosch_library.patch

or B) generate new patch in Android studio:

Git -> Patch -> Create Patch from Local Changes