Skip to content

Commit

Permalink
2024 Spirit XT485 Treadmill not communicating correctly with QZ app[…
Browse files Browse the repository at this point in the history
…BUG] (Issue #2323)
  • Loading branch information
cagnulein committed May 7, 2024
1 parent 3f0a3fd commit 8dc3bce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/devices/bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,7 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
(b.name().toUpper().startsWith("SCHWINN 810")) ||
(b.name().toUpper().startsWith(QStringLiteral("NOBLEPRO CONNECT")) && deviceHasService(b, QBluetoothUuid((quint16)0x1826))) || // FTMS
(b.name().toUpper().startsWith(QStringLiteral("TT8")) && deviceHasService(b, QBluetoothUuid((quint16)0x1826))) ||
(b.name().toUpper().startsWith(QStringLiteral("XT485")) && deviceHasService(b, QBluetoothUuid((quint16)0x1826))) ||
b.name().toUpper().startsWith(QStringLiteral("MOBVOI TM")) || // FTMS
b.name().toUpper().startsWith(QStringLiteral("TUNTURI T60-")) || // FTMS
b.name().toUpper().startsWith(QStringLiteral("KETTLER TREADMILL")) || // FTMS
Expand Down Expand Up @@ -1933,7 +1934,7 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
iConceptElliptical->deviceDiscovered(b);
this->signalBluetoothDeviceConnected(iConceptElliptical);
} else if ((b.name().toUpper().startsWith(QStringLiteral("XT385")) ||
b.name().toUpper().startsWith(QStringLiteral("XT485")) ||
(b.name().toUpper().startsWith(QStringLiteral("XT485")) && !deviceHasService(b, QBluetoothUuid((quint16)0x1826))) ||
b.name().toUpper().startsWith(QStringLiteral("XT800")) ||
b.name().toUpper().startsWith(QStringLiteral("XT900"))) &&
!spiritTreadmill && filter) {
Expand Down

0 comments on commit 8dc3bce

Please sign in to comment.