Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4979cb5
FitBike Ride 6 iPlus (2014 iConsole Legacy)
cagnulein Jan 8, 2026
6ab9bc4
Update bluetooth.cpp
cagnulein Jan 9, 2026
6713dfc
Update iconsolebike.cpp
cagnulein Jan 9, 2026
4fa8212
Update iconsolebike.cpp
cagnulein Jan 9, 2026
a4c6bb6
fixing init
cagnulein Jan 12, 2026
cd08787
Merge branch 'master' into FitBike-Ride-6-iPlus-(2014-iConsole-Legacy)
cagnulein Jan 13, 2026
63bb8d5
new init frames added
cagnulein Jan 15, 2026
8bf29eb
fixing watts and speed and distance and kcal
cagnulein Jan 16, 2026
03df6db
Add bike to Peloton resistance conversion function
cagnulein Jan 16, 2026
b62fb9e
Update iconsolebike.cpp
cagnulein Jan 20, 2026
6f50175
watt
cagnulein Jan 20, 2026
5a00caa
Update iconsolebike.cpp
cagnulein Feb 23, 2026
ba82ee9
Merge branch 'master' into FitBike-Ride-6-iPlus-(2014-iConsole-Legacy)
cagnulein Feb 23, 2026
a63ab41
Update iconsolebike.cpp
cagnulein Mar 23, 2026
4af8597
Merge branch 'master' into FitBike-Ride-6-iPlus-(2014-iConsole-Legacy)
cagnulein Apr 1, 2026
fca8f78
Update iconsolebike.cpp
cagnulein Apr 1, 2026
5ee60ba
Merge branch 'master' into FitBike-Ride-6-iPlus-(2014-iConsole-Legacy)
cagnulein Apr 5, 2026
1dc9dc6
power conversion
cagnulein Apr 5, 2026
6649858
Merge branch 'master' into FitBike-Ride-6-iPlus-(2014-iConsole-Legacy)
cagnulein Apr 9, 2026
c8e781f
resistance fixed
cagnulein Apr 9, 2026
533ed67
new func
cagnulein Apr 9, 2026
e1f1cb4
forcing resistance to 1 at startup
cagnulein Apr 21, 2026
b67dd5a
Update iconsolebike.cpp
cagnulein Apr 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions src/devices/bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,10 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
QString ftms_bike = settings.value(QZSettings::ftms_bike, QZSettings::default_ftms_bike).toString();
QString ftms_treadmill = settings.value(QZSettings::ftms_treadmill, QZSettings::default_ftms_treadmill).toString();
QString ftms_elliptical = settings.value(QZSettings::ftms_elliptical, QZSettings::default_ftms_elliptical).toString();
bool saris_trainer = settings.value(QZSettings::saris_trainer, QZSettings::default_saris_trainer).toBool();
bool saris_trainer = settings.value(QZSettings::saris_trainer, QZSettings::default_saris_trainer).toBool();
bool iconsole_elliptical = settings.value(QZSettings::iconsole_elliptical, QZSettings::default_iconsole_elliptical).toBool();
bool iconsole_rower = settings.value(QZSettings::iconsole_rower, QZSettings::default_iconsole_rower).toBool();
bool trx_route_key = settings.value(QZSettings::trx_route_key, QZSettings::default_trx_route_key).toBool();

if (!heartRateBeltFound) {

Expand Down Expand Up @@ -2556,6 +2557,15 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
// SLOT(inclinationChanged(double)));
mcfBike->deviceDiscovered(b);
this->signalBluetoothDeviceConnected(mcfBike);
} else if (b.name().toUpper().startsWith(QStringLiteral("ICONSOLE+")) && !iconsole && trx_route_key) {
this->setLastBluetoothDevice(b);
this->stopDiscovery();
iconsole = new iconsolebike(noWriteResistance, noHeartService, bikeResistanceOffset, bikeResistanceGain);
emit deviceConnected(b);
connect(iconsole, &bluetoothdevice::connectedAndDiscovered, this, &bluetooth::connectedAndDiscovered);
connect(iconsole, &iconsolebike::debug, this, &bluetooth::debug);
iconsole->deviceDiscovered(b);
this->signalBluetoothDeviceConnected(iconsole);
} else if ((b.name().startsWith(QStringLiteral("TRX ROUTE KEY")) ||
b.name().toUpper().startsWith(QStringLiteral("MASTERT40-")) ||
b.name().toUpper().startsWith(QStringLiteral("BH DUALKIT TREAD")) ||
Expand All @@ -2572,7 +2582,7 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
this->signalBluetoothDeviceConnected(toorx);
} else if (((b.name().toUpper().startsWith(QStringLiteral("BH DUALKIT")) && !b.name().toUpper().startsWith(QStringLiteral("BH DUALKIT TREAD"))) ||
b.name().toUpper().startsWith(QStringLiteral("BH-"))) && !iConceptBike && !toorx &&
!iconcept_elliptical && filter) {
!iconcept_elliptical && !iconsole && filter) {
this->setLastBluetoothDevice(b);
this->stopDiscovery();
iConceptBike = new iconceptbike();
Expand All @@ -2584,7 +2594,7 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
iConceptBike->deviceDiscovered(b);
this->signalBluetoothDeviceConnected(iConceptBike);
} else if ((b.name().toUpper().startsWith(QStringLiteral("BH DUALKIT"))) && !iConceptElliptical &&
iconcept_elliptical && filter) {
iconcept_elliptical && !iconsole && filter) {
this->setLastBluetoothDevice(b);
this->stopDiscovery();
iConceptElliptical =
Expand Down Expand Up @@ -3678,6 +3688,11 @@ void bluetooth::restart() {
delete toorx;
toorx = nullptr;
}
if (iconsole) {

delete iconsole;
iconsole = nullptr;
}
if (iConceptBike) {

delete iConceptBike;
Expand Down Expand Up @@ -4139,6 +4154,8 @@ bluetoothdevice *bluetooth::device() {
return stagesBike;
} else if (toorx) {
return toorx;
} else if (iconsole) {
return iconsole;
} else if (iConceptBike) {
return iConceptBike;
} else if (iConceptElliptical) {
Expand Down
2 changes: 2 additions & 0 deletions src/devices/bluetooth.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
#include "templateinfosenderbuilder.h"
#include "technogymbike/technogymbike.h"
#include "devices/toorxtreadmill/toorxtreadmill.h"
#include "devices/iconsolebike/iconsolebike.h"
#include "devices/treadmill.h"
#include "devices/truetreadmill/truetreadmill.h"
#include "devices/trxappgateusbbike/trxappgateusbbike.h"
Expand Down Expand Up @@ -208,6 +209,7 @@ class bluetooth : public QObject, public SignalHandler {
domyosrower *domyosRower = nullptr;
domyoselliptical *domyosElliptical = nullptr;
toorxtreadmill *toorx = nullptr;
iconsolebike *iconsole = nullptr;
iconceptbike *iConceptBike = nullptr;
iconceptelliptical *iConceptElliptical = nullptr;
trxappgateusbtreadmill *trxappgateusb = nullptr;
Expand Down
Loading
Loading