Skip to content

Commit

Permalink
Merge branch 'master' into Renpho-smart-bike-r-q002-n-(Issue-#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Aug 5, 2024
2 parents a956d18 + 3327b8b commit 7938931
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/rvalerio/maven' }
}

apply plugin: 'com.android.application'
Expand All @@ -28,7 +27,6 @@ def amazon = System.getenv('AMAZON')
println(amazon)

dependencies {
compile 'com.rvalerio:fgchecker:1.1.0'
implementation "androidx.core:core:1.12.0"
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0"
Expand Down
Binary file added src/android/libs/fgchecker-1.1.0.aar
Binary file not shown.
17 changes: 17 additions & 0 deletions src/android/libs/fgchecker-1.1.0.pom
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.rvalerio</groupId>
<artifactId>fgchecker</artifactId>
<version>1.1.0</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
<groupId>com.android.support</groupId>
<artifactId>appcompat-v7</artifactId>
<version>26.0.1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions src/virtualdevices/virtualbike.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ void virtualbike::characteristicChanged(const QLowEnergyCharacteristic &characte
((uint8_t)newValue.at(8)) == 0x02) { // ff0f0204020b070b0202041032020a0068000000
qDebug() << "ifit ans 15 stop request";
iFit_timer = 0;
reply1 = QByteArray::fromHex("fe02090200b40000005802000000000038000000");
reply2 = QByteArray::fromHex("ff09010402050705020210000000000038000000");
reply1 = QByteArray::fromHex("fe0209020205070502021000ffffffffffffffff");
reply2 = QByteArray::fromHex("ff0901040205070502021000ffffffffffffffff");
writeCharacteristic(service, characteristic, reply1);
writeCharacteristic(service, characteristic, reply2);
} else if (newValue.length() > 12 && ((uint8_t)newValue.at(0)) == 0xFF &&
Expand Down

0 comments on commit 7938931

Please sign in to comment.