File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1982,7 +1982,6 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
19821982 (b.name ().toUpper ().startsWith (" ROBX" )) ||
19831983 (b.name ().toUpper ().startsWith (" ORLAUF_ARES" )) ||
19841984 (b.name ().toUpper ().startsWith (" SPEEDMAGPRO" )) ||
1985- (b.name ().toUpper ().startsWith (" XCX-" )) ||
19861985 (b.name ().toUpper ().startsWith (" SMARTBIKE-" )) ||
19871986 (b.name ().toUpper ().startsWith (" D500V2" )) ||
19881987 (b.name ().toUpper ().startsWith (" FBIKE-HEAVY-PRO" )) ||
@@ -2479,6 +2478,7 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
24792478 sportsTechRower->deviceDiscovered (b);
24802479 this ->signalBluetoothDeviceConnected (sportsTechRower);
24812480 } else if ((b.name ().toUpper ().startsWith (QStringLiteral (" CARDIOFIT" )) ||
2481+ b.name ().toUpper ().startsWith (QStringLiteral (" XCX-" )) ||
24822482 ((b.name ().toUpper ().startsWith (QStringLiteral (" HT" )) && b.name ().length () == 10 ) &&
24832483 ftms_bike.contains (QZSettings::default_ftms_bike)) ||
24842484 (b.name ().toUpper ().contains (QStringLiteral (" CARE" )) &&
Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ void DeviceTestDataIndex::Initialize() {
11601160 // Sports Plus Bike
11611161 RegisterNewDeviceTestData (DeviceIndex::SportsPlusBike)
11621162 ->expectDevice <sportsplusbike>()
1163- ->acceptDeviceName ( " CARDIOFIT" , DeviceNameComparison::StartsWithIgnoreCase);
1163+ ->acceptDeviceNames ({ " CARDIOFIT" , " XCX- " } , DeviceNameComparison::StartsWithIgnoreCase);
11641164
11651165 // Sports Plus Rower
11661166 RegisterNewDeviceTestData (DeviceIndex::SportsPlusRower)
You can’t perform that action at this time.
0 commit comments