Merge pull request #2615 from MilosKozak/insight-vibration

Insight: Disable vibration on bolus for firmware version 3
This commit is contained in:
Tebbe Ubben 2020-05-03 20:10:37 +02:00 committed by GitHub
commit 692eccd7b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ android {
targetSdkVersion 28 targetSdkVersion 28
multiDexEnabled true multiDexEnabled true
versionCode 1500 versionCode 1500
version "2.6.1.2" version "2.6.1.3"
buildConfigField "String", "VERSION", '"' + version + '"' buildConfigField "String", "VERSION", '"' + version + '"'
buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"' buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"'
buildConfigField "String", "REMOTE", '"' + generateGitRemote() + '"' buildConfigField "String", "REMOTE", '"' + generateGitRemote() + '"'

View file

@ -22,7 +22,7 @@ public class DeliverBolusMessage extends AppLayerMessage {
@Override @Override
protected ByteBuf getData() { protected ByteBuf getData() {
ByteBuf byteBuf = new ByteBuf(22); ByteBuf byteBuf = new ByteBuf(22);
byteBuf.putUInt16LE(805); byteBuf.putUInt16LE(31);
byteBuf.putUInt16LE(BolusTypeIDs.IDS.getID(bolusType)); byteBuf.putUInt16LE(BolusTypeIDs.IDS.getID(bolusType));
byteBuf.putUInt16LE(31); byteBuf.putUInt16LE(31);
byteBuf.putUInt16LE(0); byteBuf.putUInt16LE(0);