Compare commits

...

1911 Commits

Author SHA1 Message Date
Roberto Viola
afa4606ae7 build 779 2024-04-03 05:15:45 +02:00
Roberto Viola
dc75b39dab it's working also on ios12 2024-04-03 05:14:50 +02:00
Roberto Viola
ff1a220971 build succeed 2024-04-02 14:40:15 +02:00
Roberto Viola
ff32af5b94 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-04-02 12:02:35 +02:00
Roberto Viola
641b93ecac Classes Without Metrics are Not Showing Class Title in QZ #2258 2024-04-02 12:01:34 +02:00
Roberto Viola
386d6b9fb0 Update project.pbxproj 2024-04-02 11:46:38 +02:00
Roberto Viola
1811fe23e6 Schwinn 590e Elliptical #2165 2024-04-02 11:03:50 +02:00
Roberto Viola
8fc91f8957 Auto-Resistance not working with Nordictrack GX4.5 bike #2233 2024-04-02 09:40:48 +02:00
Roberto Viola
f3c82a5d85 Incline control device support request Sole TT8 #2249 2024-04-02 08:35:37 +02:00
Roberto Viola
a82515f85a Elevation Gain Offset Setting #2260 2024-03-31 05:51:45 +02:00
Roberto Viola
ffd44bcf69 Elevation gain increas also with inclination set to zero or to a negative value #2259 2024-03-31 05:44:14 +02:00
Roberto Viola
69245499fd 2023 Sole E35 compatibility (Discussion #2195) 2024-03-27 17:13:03 +01:00
Roberto Viola
7bb585652d Opensslv3 for Windows (#2193)
* try

* Revert "try"

This reverts commit 94e0922c6f.

* let's go back to 1.1.1

* fixed?
2024-03-27 16:56:16 +01:00
Roberto Viola
717337ecc5 2.16.50 2024-03-27 15:57:36 +01:00
Roberto Viola
de755345df Classes Without Metrics are Not Showing Class Title in QZ #2258 2024-03-27 15:56:30 +01:00
Roberto Viola
f29ee9b8b0 Classes Without Metrics are Not Showing Class Title in QZ #2258 2024-03-27 15:19:27 +01:00
Roberto Viola
f7fd7385f3 Update project.pbxproj 2024-03-27 12:17:59 +01:00
Roberto Viola
c774e53c5f 2023 Sole E35 compatibility (Discussion #2195) 2024-03-27 12:17:14 +01:00
Roberto Viola
1a3aca47d3 Update project.pbxproj 2024-03-27 12:00:52 +01:00
Roberto Viola
43178057fd 2023 Sole E35 compatibility (Discussion #2195) 2024-03-27 11:59:37 +01:00
Roberto Viola
dbb6b32b03 My interest is the creation of personalized workouts for threadmill and smart bike and use QZ app standalone #2242 2024-03-27 11:04:28 +01:00
Roberto Viola
a561219f29 2023 Sole E35 compatibility (Discussion #2195) 2024-03-26 14:48:25 +01:00
Roberto Viola
ca0398c7d5 Noble Pro connecting but no data and insta pauses #2246 2024-03-26 13:52:13 +01:00
Roberto Viola
0af749c9f2 Update project.pbxproj 2024-03-26 09:23:13 +01:00
Roberto Viola
d2d661c7fd 2023 Sole E35 compatibility (Discussion #2195) 2024-03-26 09:20:27 +01:00
Roberto Viola
241e34c79e Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-26 08:22:59 +01:00
Roberto Viola
c6225db6a4 2023 Sole E35 compatibility (Discussion #2195) 2024-03-26 08:22:45 +01:00
Roberto Viola
4f855f3d60 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-26 08:10:54 +01:00
Roberto Viola
a55ccb4a97 2023 Sole E35 compatibility (Discussion #2195) 2024-03-26 08:10:17 +01:00
Roberto Viola
06eccc33f4 cagnulein / qdomyos-zwift Type / to search Code Issues 212 Pull requests 57 Discussions Actions Projects 1 Wiki Security Insights Settings 2023 Sole E35 compatibility #2195 Unanswered realericmc asked this question in Q&A 2023 Sole E35 compatibility #2195 2024-03-25 09:24:42 +01:00
Roberto Viola
f080bff4cd Incline control device support request Sole TT8 #2249 2024-03-25 09:21:17 +01:00
Roberto Viola
ecc06675dc Onesprint.io bike #2254 2024-03-25 09:13:51 +01:00
Roberto Viola
d5758cf0ed fixing android build 2024-03-25 09:00:33 +01:00
Roberto Viola
d3ebdf252e Update project.pbxproj 2024-03-23 07:59:20 +01:00
Roberto Viola
81840bd831 2023 Sole E35 compatibility (Discussion #2195) 2024-03-22 15:58:17 +01:00
Roberto Viola
1210ec5232 2.16.49 2024-03-22 09:28:07 +01:00
Roberto Viola
cc4a3a6623 Update project.pbxproj 2024-03-22 09:26:09 +01:00
Roberto Viola
bc3ec3b39f Add Profiles Shortcut or Widget (Issue #2210) (#2217)
* test it

* adding android side

* Update Shortcuts.java

* Update Shortcuts.java

* Update Shortcuts.java

* Update ios_app_delegate.mm

* ios run the action event after the main.cpp

* Update main.cpp

* action added on android

* it works on android!

* fixing ios build

* limit to 5 shortcuts max to android

* maybe is it working now on iOS?

* working on ios too!

* removing extension from the quick actions label

* Update project.pbxproj

* ios 12 handled

* Update project.pbxproj

* Update project.pbxproj

* Update project.pbxproj
2024-03-22 09:23:38 +01:00
Roberto Viola
2c7c82bbde 2023 Sole E35 compatibility (Discussion #2195) 2024-03-22 09:08:18 +01:00
Roberto Viola
f18e12e1a7 2023 Sole E35 compatibility #2195 2024-03-21 17:24:08 +01:00
Roberto Viola
0952d2b8ba 2023 Sole E35 compatibility #2195 2024-03-21 15:06:32 +01:00
Roberto Viola
69e2ed26e2 Decline from the gui does not go beyond -1 and metrics become garbled (Issue #2240) 2024-03-19 14:17:59 +01:00
Roberto Viola
dea1450452 Update wahookickrsnapbike.cpp 2024-03-19 13:19:58 +01:00
Roberto Viola
7accf7f184 Incline not working bor Wahoo Kickr Bike v1 #2224 2024-03-19 12:24:09 +01:00
Roberto Viola
d099e58de0 Update project.pbxproj 2024-03-18 16:07:34 +01:00
Roberto Viola
0d735c4192 Incline not working bor Wahoo Kickr Bike v1 #2224 2024-03-18 15:44:59 +01:00
Roberto Viola
03e60d96e7 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-18 14:52:50 +01:00
Roberto Viola
5bfa0bba16 speed not controlled JTX Sprint-5 #2223 2024-03-18 11:22:55 +01:00
Roberto Viola
ed983a0657 Update project.pbxproj 2024-03-18 10:34:26 +01:00
Roberto Viola
8b6a4b3565 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-18 10:29:34 +01:00
Roberto Viola
6d4572a745 PID function a little pushy (#427) 2024-03-18 10:28:31 +01:00
Roberto Viola
711afe4b08 PID function a little pushy (#427) 2024-03-18 10:23:52 +01:00
Roberto Viola
da43761133 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-18 09:56:00 +01:00
Roberto Viola
977acde7d1 Update PrivacyInfo.xcprivacy 2024-03-18 09:55:43 +01:00
Roberto Viola
1405f3c2c3 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-18 09:54:57 +01:00
Roberto Viola
fb36f7d68d Update PrivacyInfo.xcprivacy 2024-03-18 09:54:35 +01:00
Roberto Viola
381fbf5767 Update project.pbxproj 2024-03-18 09:28:52 +01:00
Roberto Viola
e4003ebd81 Incline not working bor Wahoo Kickr Bike v1 #2224 2024-03-18 08:58:27 +01:00
Roberto Viola
377bd2b667 Incline not working bor Wahoo Kickr Bike v1 #2224 2024-03-18 08:56:47 +01:00
Roberto Viola
c47df1fe49 speed not controlled JTX Sprint-5 #2223 2024-03-18 08:14:02 +01:00
Roberto Viola
15cc111dda speed not controlled JTX Sprint-5 (Issue #2223) 2024-03-16 16:20:12 +01:00
Roberto Viola
0af6aee343 Kcal same as bike even when "Disable KCal from Equipment" is enabled and can't control resistance with resistance tile. (Issue #2232) 2024-03-15 22:00:40 +01:00
Roberto Viola
69006d4d18 privacy iOS 2024-03-15 15:57:40 +01:00
Roberto Viola
1cd4c801f7 Create PrivacyInfo.xcprivacy 2024-03-15 15:56:55 +01:00
Roberto Viola
3c4f850127 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-15 15:49:02 +01:00
Roberto Viola
9a5b3d279d adding privacy info 2024-03-15 15:48:43 +01:00
Roberto Viola
70e82d3aaf Yesoul V1 Bike #2229 2024-03-15 14:16:49 +01:00
Roberto Viola
f48392082f Revert "Incline not working bor Wahoo Kickr Bike v1 #2224"
This reverts commit cf0ea0f84f.
2024-03-15 14:13:23 +01:00
Roberto Viola
df8f409403 Revert "new info api requirement from Apple"
This reverts commit cf9321d144.
2024-03-15 14:13:11 +01:00
Roberto Viola
cb4f20c25e Update project.pbxproj 2024-03-15 10:55:34 +01:00
Roberto Viola
cf9321d144 new info api requirement from Apple 2024-03-15 10:42:31 +01:00
Roberto Viola
89c1439049 Update project.pbxproj 2024-03-15 10:12:16 +01:00
Roberto Viola
cf0ea0f84f Incline not working bor Wahoo Kickr Bike v1 #2224 2024-03-15 09:36:21 +01:00
Roberto Viola
6f211c441c fixing hr zones 2024-03-13 15:31:58 +01:00
Roberto Viola
0a804c9d6d Update bluetoothdevice.cpp 2024-03-13 14:30:35 +01:00
Roberto Viola
062623580a fixing heart rate zones 2024-03-13 14:15:40 +01:00
Roberto Viola
5560c920ec fixing heart zone in email 2024-03-13 12:28:41 +01:00
Roberto Viola
ec1c504083 adding heart zones in the email 2024-03-13 12:18:45 +01:00
Roberto Viola
27ce527fd6 domyostreadmill: inclination delay filter added 2024-03-13 10:45:26 +01:00
Roberto Viola
fdc1dc7b9a Heart rate vanishes when treadmill starts using Rhythm 24 (Issue #2214) 2024-03-13 08:59:35 +01:00
Roberto Viola
1c76b898e4 Update project.pbxproj 2024-03-13 08:21:53 +01:00
Roberto Viola
b2014df95b Echelon Stride-8s #2216 2024-03-13 08:18:59 +01:00
Roberto Viola
a250ada61e QZ incorrectly reporting huge distance on bike and not recording details on Apple health (Issue #2213) 2024-03-12 20:06:56 +01:00
Roberto Viola
dd6c8ca20c fix speed on spirittreadmill 2024-03-12 12:53:20 +01:00
Roberto Viola
d8e489f64d BXT216 Bowflex Pause have no effect on Zwift.[BUG] (Issue #2203) 2024-03-12 08:31:07 +01:00
Roberto Viola
741fd4367d Request: Add Support for Proform Carbon TL (Issue #2208) (#2209)
* done

* pro-form proshox2 #2078
2024-03-12 08:26:47 +01:00
Roberto Viola
fd2e7ef994 Update project.pbxproj 2024-03-11 14:39:23 +01:00
Roberto Viola
a142968feb Update settings.qml 2024-03-11 14:34:55 +01:00
Roberto Viola
4fd06f91b0 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-03-11 14:33:06 +01:00
Roberto Viola
e27133fb3a inclinaison and résistance unfonctional #2198 2024-03-11 14:32:40 +01:00
Roberto Viola
9df1c4fdba Update project.pbxproj 2024-03-11 11:35:36 +01:00
Roberto Viola
39391c3200 NoblePro E10i #2205 2024-03-11 09:20:33 +01:00
Roberto Viola
70367b8365 fixing speed on trxappgateusbtreadmilll 2024-03-11 09:03:03 +01:00
Roberto Viola
8e30bde019 Treadmill focus fitness 9i #2191 2024-03-08 14:12:56 +01:00
Roberto Viola
cb717ff213 Update project.pbxproj 2024-03-08 11:29:46 +01:00
Roberto Viola
d723bf054d proformwifibike: inclination show the real value instead the gear modified one
very useful with GPX
2024-03-08 11:25:15 +01:00
Roberto Viola
491e900ec3 Dynamic Erg Table (#2175)
* first raw implementation

* Update fakebike.cpp

* Update fakebike.cpp

* Update fakebike.h

* Update fakebike.h

* Update fakebike.h

* Update fakebike.cpp

* Update project.pbxproj

* Update ergtable.h

* #2175 test for ergTable (#2179)

* fixing nan and inf

* playing with setting in order to write them in a standard way

* Update ergtabletestsuite.h

* Update ergtabletestsuite.cpp

* Update ergtable.h

* Update ergtabletestsuite.cpp

* fixing edge cases

* Update ergtable.h

* fixing test cases

* typo

* clearing table when watt gain is changed

* adding resistance time

* removing debug

---------

Co-authored-by: David Mason <29954900+drmason789@users.noreply.github.com>
2024-03-07 14:12:21 +01:00
Roberto Viola
64247cff21 Schwinn 810 treadmill (Issue #2194) 2024-03-06 18:21:05 +01:00
Roberto Viola
38cf417927 Schwinn 810 #2190 2024-03-06 06:05:58 +01:00
Roberto Viola
fcb05aba9f QZ App will connect to but not report data for Nautilus E618 Elliptical (Issue #2188) 2024-03-05 19:12:24 +01:00
Roberto Viola
9142d8c54d Yesoul v1 FMTS bike #2186 2024-03-05 09:39:49 +01:00
Roberto Viola
8e7a8d14ab Yesoul G1M Plus #2185 2024-03-05 06:23:11 +01:00
Roberto Viola
ca44612565 Update project.pbxproj 2024-03-04 21:23:07 +01:00
Roberto Viola
2a40356d4a No data from sensors and avatar won’t move in Zwift (even when data showed on first try) (Issue #2178) 2024-03-04 20:15:58 +01:00
Roberto Viola
315b750647 Update project.pbxproj 2024-03-04 18:51:16 +01:00
Roberto Viola
80ba54294d No data from sensors and avatar won’t move in Zwift (even when data showed on first try) (Issue #2178) 2024-03-04 14:07:35 +01:00
Roberto Viola
a0218d8d70 Sole F89 (Issue #2172) 2024-03-04 09:53:00 +01:00
Roberto Viola
8d150111aa Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025) 2024-03-04 09:44:05 +01:00
Roberto Viola
964e49ddb5 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025) 2024-03-04 09:42:12 +01:00
Roberto Viola
5f4dd1a1b4 fixing noblepro issue 2024-03-03 16:47:42 +01:00
Roberto Viola
b027179dd8 Update project.pbxproj 2024-03-02 17:41:02 +01:00
Roberto Viola
5d859024a1 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025 2024-03-02 17:39:40 +01:00
Roberto Viola
99c02259dc Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025) 2024-03-02 14:19:33 +01:00
Roberto Viola
7048471601 Not really a bug but I don’t understand what was happening, #2170 2024-03-02 14:16:15 +01:00
Roberto Viola
9cb1e7a190 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025) 2024-03-02 08:54:23 +01:00
Roberto Viola
e1c1ac441a Sole F89 #2172 2024-03-02 08:00:18 +01:00
Roberto Viola
0e621aafd5 3G Cardio RB #2173 2024-03-02 07:57:36 +01:00
Roberto Viola
079d406c73 MyWhoosh Compatibility 2024-03-02 07:56:24 +01:00
Roberto Viola
9f9ab5c8ca Schwinn 590 Elliptical #2165 2024-03-01 12:46:14 +01:00
Roberto Viola
a9be8055f2 Proform 2000 Pro -3% incline (Issue #2092) 2024-03-01 08:46:59 +01:00
Roberto Viola
65f49c5c52 Proform 2000 Pro -3% incline #2092 2024-02-29 22:29:34 +01:00
Roberto Viola
a429c82f4c Domyos Incline Run resets to 0% incline above 15% on the treadmill (Issue #2169) 2024-02-29 21:29:05 +01:00
Roberto Viola
3288caacb2 Update project.pbxproj 2024-02-29 15:44:57 +01:00
Roberto Viola
f4850ff67d ProForm TDF 1.0 Not Showing Tiles #2167 2024-02-29 15:40:09 +01:00
Roberto Viola
f644edff24 Pasyou S70 bike can connect but no data given. #2168 2024-02-29 13:50:23 +01:00
Roberto Viola
6db6221238 Update ypooellipticaltestdata.h 2024-02-29 13:46:19 +01:00
Roberto Viola
db823bd5f4 NoblePro Cadence Data (Issue #2073) 2024-02-29 10:45:29 +01:00
Roberto Viola
04e2d213da Does not control NordicTrack T6.5S #2008 2024-02-29 07:46:36 +01:00
Roberto Viola
64eae75549 Update project.pbxproj 2024-02-28 21:30:58 +01:00
Roberto Viola
8118040619 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-28 21:28:56 +01:00
Roberto Viola
c92f546141 domyostreadmill incline run goes to 20% 2024-02-28 21:21:31 +01:00
Roberto Viola
ddf9bfbef3 Update project.pbxproj 2024-02-28 16:12:16 +01:00
Roberto Viola
8d451a4e87 Schwinn 590 Elliptical #2165 2024-02-28 16:09:55 +01:00
Roberto Viola
c8c4597eb7 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) wo…… …… …… …… … …n't connect correctly #2025 2024-02-28 15:28:27 +01:00
Roberto Viola
90a364a8c0 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) wo…… …… …… … …n't connect correctly #2025 2024-02-28 14:35:29 +01:00
Roberto Viola
22d5bbacbc Tacx Neo flywheel spins up when freewheeling in a low virtual gear (Issue #2157) 2024-02-28 10:32:03 +01:00
Roberto Viola
231e01fba8 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) wo…… …… … …n't connect correctly #2025 2024-02-28 10:28:34 +01:00
David Mason
8095fd2314 #2162 updated test documentation to enhance instructions for DeviceDiscoveryInfo (#2163) 2024-02-28 06:39:41 +01:00
Roberto Viola
8c796531f6 Update trxappgateusbellipticaltestdata.h 2024-02-27 17:09:55 +01:00
Roberto Viola
ad28a9e2a5 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) wo…… … …n't connect correctly #2025 (6d7fa3b) 2024-02-27 16:54:13 +01:00
Roberto Viola
2bcf5f229a Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) wo… …n't connect correctly #2025 (6d7fa3b) 2024-02-27 16:41:10 +01:00
Roberto Viola
c53b6e3dab Update trxappgateusbellipticaltestdata.h 2024-02-27 16:32:39 +01:00
Roberto Viola
471e331641 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly #2025 (6d7fa3b) 2024-02-27 16:26:00 +01:00
Roberto Viola
a95d630731 Update project.pbxproj 2024-02-27 15:17:25 +01:00
Roberto Viola
eea38d4ecf Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-27 15:01:21 +01:00
Roberto Viola
3f7238243f Two Concurrent Peloton Workouts: QZ replaces workout name even if second… … user chooses "No" to follow the resistance. #2158 2024-02-27 15:00:53 +01:00
Roberto Viola
a92bfc211b Update project.pbxproj 2024-02-27 14:51:46 +01:00
Roberto Viola
a27047156d Two Concurrent Peloton Workouts: QZ replaces workout name even if second user chooses "No" to follow the resistance. #2158 2024-02-27 14:50:18 +01:00
Roberto Viola
1391930a00 Update project.pbxproj 2024-02-27 12:12:57 +01:00
Roberto Viola
6c59f3ee30 Two Concurrent Peloton Workouts: QZ replaces workout name even if second user chooses "No" to follow the resistance. (Issue #2158) 2024-02-27 10:51:40 +01:00
Roberto Viola
eeb3a9ce6f JLL T550 #2161 2024-02-26 18:14:52 +01:00
Roberto Viola
d1352ae3dd Update trxappgateusbellipticaltestdata.h 2024-02-26 17:49:15 +01:00
Roberto Viola
053725a577 target zone vs ftp zone #2138 2024-02-26 17:25:46 +01:00
Roberto Viola
726a2341c0 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly #2025 2024-02-26 16:59:13 +01:00
Roberto Viola
6d7fa3b67e Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly #2025 2024-02-26 16:52:22 +01:00
Roberto Viola
4883202703 Update project.pbxproj 2024-02-26 12:16:55 +01:00
Roberto Viola
6953f96e59 Update project.pbxproj 2024-02-26 11:51:23 +01:00
Roberto Viola
9910234b44 Focus Fitness 9 ijet Treadmill #2160 2024-02-26 11:46:19 +01:00
Roberto Viola
3746d89069 Focus Fitness 9 ijet Treadmill #2160 2024-02-26 11:33:21 +01:00
Roberto Viola
f2a52e932f Focus Fitness 9 ijet Treadmill #2160 2024-02-26 11:07:14 +01:00
Roberto Viola
17fb96dab8 Focus Fitness 9 ijet Treadmill #2160 2024-02-26 10:29:37 +01:00
Roberto Viola
e9467724bc Horizon Paragon X #637 2024-02-26 09:56:34 +01:00
Roberto Viola
56b5e759a6 target zone vs ftp zone (Discussion #2138) 2024-02-26 09:45:34 +01:00
Roberto Viola
f59eb258f1 ProForm Gen 1 Connection Issue (Issue #1825) 2024-02-26 09:20:40 +01:00
Roberto Viola
0565a5cf60 2.16.46 2024-02-26 08:39:18 +01:00
Roberto Viola
102e1d6b78 Delay in Virtual Gears with Tacx Neo 1 (Issue #2153) 2024-02-25 20:54:27 +01:00
Roberto Viola
7170e28f75 Qz and Smart Spin #2142 2024-02-24 17:29:27 +01:00
Roberto Viola
3f0441304c Update project.pbxproj 2024-02-24 14:57:22 +01:00
Roberto Viola
e76cb14d59 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-24 14:56:41 +01:00
Roberto Viola
339a4279e1 Update homeform.cpp 2024-02-23 18:20:28 +01:00
Roberto Viola
02d9b74001 Update project.pbxproj 2024-02-23 14:37:42 +01:00
Roberto Viola
a587936f91 Pid HR for Erg Bikes 2024-02-23 10:50:15 +01:00
Roberto Viola
a84ad5da45 NoblePro Cadence Data (Issue #2073) 2024-02-23 10:05:01 +01:00
Roberto Viola
959b6db9d0 [Issues with TDF4 and connectivityBUG] #2114
https://github.com/cagnulein/qdomyos-zwift/issues/2114#issuecomment-1958022579
2024-02-22 13:01:05 +01:00
Roberto Viola
4b289c57f8 Titan Life s80 Pro bike #2147 2024-02-21 11:36:54 +01:00
Roberto Viola
43f1bda372 Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly #2025
https://github.com/cagnulein/qdomyos-zwift/issues/2025#issuecomment-1956212492
2024-02-21 11:17:55 +01:00
Roberto Viola
8ee1046c1d Update project.pbxproj 2024-02-20 11:04:08 +01:00
Roberto Viola
60084c7981 QZ with Windows 11 Pro (Issue #2087) 2024-02-20 10:30:06 +01:00
Roberto Viola
f23614d793 Zwift Play #1984 2024-02-20 09:30:22 +01:00
Roberto Viola
e60c8c2d16 Removing encryption from android zwift play since it’s useless
For now
2024-02-19 23:30:17 +01:00
Roberto Viola
e3134a6bd9 Update nautilusbike.cpp 2024-02-19 21:40:48 +01:00
Roberto Viola
c42d38d8cc power table nautilus u626 #2118 2024-02-19 10:48:46 +01:00
Roberto Viola
f487634923 Does not control NordicTrack T6.5S #2008 2024-02-19 09:32:17 +01:00
Roberto Viola
b5bda493cc target zone vs ftp zone (Discussion #2138) 2024-02-19 09:18:42 +01:00
Roberto Viola
8925d6acf7 Galaxy 4 HR not showing in QZ tile #2140 2024-02-19 08:29:01 +01:00
David Mason
df88e7e9d6 2127 test project updates - support for multiple QBluetoothDeviceInfo configuration criteria (#2134)
* #2127 additional tests to cater for bluetooth services that should and shout not be present

* #2127 permanently remove KICKR CORE from FTMSBike2TestData, as it is now handled by FTMSBike4TestData with the BT service criteria too

* #2127 initial support for multiple bluetooth device info configs in tests not quite working properly

* #2172 fixed some test data

* #2127 touch-ups

* #2127 added a guide to writing device detection tests

* #2127 updated test data for Stages bike detection

* #2127 alterations due to proof reading

* #2127 added TACX SATORI to stagesbike detection test to make consistent with documentation

* #2127 change as a result of proof reading
2024-02-17 19:26:59 +01:00
Roberto Viola
408ee351bb version 2.16.44 2024-02-17 18:17:47 +01:00
Roberto Viola
2834f6c5d8 Horizon Paragon X #637 2024-02-16 16:12:17 +01:00
Roberto Viola
629aa73f24 Nordictrack C2150: QZ app speed jumping wildly (top speed 24.5mph!) and distance not showing accurately in Peloton app #2033 2024-02-16 08:25:08 +01:00
Roberto Viola
a5016a66da Revert "different speed offsets depending on the incline of the treadmill (Discussion #2121)"
This reverts commit 44a2229e5c.
2024-02-16 08:11:10 +01:00
Roberto Viola
bd54646fe9 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-16 07:52:47 +01:00
Roberto Viola
f6df2a7bf3 No response to QZ input on x22i treadmill (Issue #85)
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/85#issuecomment-1947724040
2024-02-16 07:52:43 +01:00
Roberto Viola
c32430c12f NoblePro Cadence Data (Issue #2073) 2024-02-15 14:16:51 +01:00
Roberto Viola
bee144a359 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-15 11:44:20 +01:00
Roberto Viola
dd8fdcd796 Add ability for *new* profile with defaults (Issue #2129) 2024-02-15 11:44:04 +01:00
Roberto Viola
e45c5e9c13 Update project.pbxproj 2024-02-15 10:40:30 +01:00
Roberto Viola
0523fde5bc Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-15 09:09:50 +01:00
Roberto Viola
db43605f7a adding stepcount from Apple Watch #173 2024-02-15 08:52:09 +01:00
Roberto Viola
ed6553c190 zwift erg tile added 2024-02-15 08:51:49 +01:00
Roberto Viola
b84526ccea Reebok SL8.0 Bike - all tiles read zero (Issue #2124) 2024-02-15 08:27:42 +01:00
Roberto Viola
acd9637c8e Zwift Play (Issue #1984) 2024-02-15 08:04:34 +01:00
Roberto Viola
1235bf7bac proformwifibike reconnecting
Sometimes a proformwifibike it keeps the websocket open without sending anydata. In this way i'm forcing a reconnection
2024-02-15 07:52:17 +01:00
Roberto Viola
44a2229e5c different speed offsets depending on the incline of the treadmill (Discussion #2121)
https://github.com/cagnulein/qdomyos-zwift/discussions/2121#discussioncomment-8467762
2024-02-14 17:32:52 +01:00
Roberto Viola
7d6f1d31a8 Update project.pbxproj 2024-02-14 15:51:35 +01:00
Roberto Viola
af608d38c8 fixing crash on wahookickrsnapbike 2024-02-14 15:49:35 +01:00
Roberto Viola
5b6c231fd1 Nordictrack X14i - incline off #79
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/79#issuecomment-1943727390
2024-02-14 14:23:25 +01:00
Roberto Viola
80b09419bd Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-14 10:33:52 +01:00
Roberto Viola
aefc83140a Disable icons in floating window #2125 2024-02-14 10:33:47 +01:00
David Mason
4c5045315c #2127 additional tests to cater for bluetooth services that are part of the identification (#2128) 2024-02-14 00:54:58 +01:00
Roberto Viola
c803d7253e KICKR CORE with only power characteristic handled
f184b2b545 (commitcomment-138579511)
2024-02-13 16:19:17 +01:00
Roberto Viola
b17990e378 Update project.pbxproj 2024-02-13 15:53:42 +01:00
Roberto Viola
f184b2b545 KICKR CORE with only power characteristic handled 2024-02-13 15:53:12 +01:00
Roberto Viola
5aaed653e9 Reebok SL8.0 Bike - all tiles read zero (Issue #2124) 2024-02-13 15:06:36 +01:00
Roberto Viola
69fb207aa2 Nordictrack X14i - incline off #79
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/79#issuecomment-1939091416
2024-02-13 14:17:18 +01:00
Roberto Viola
01d5a6d3ba version 2.16.43 2024-02-13 14:06:04 +01:00
Roberto Viola
ba742c5049 Update project.pbxproj 2024-02-13 11:24:33 +01:00
Roberto Viola
4e35e889f8 added gears mod to wahookickrsnapbike in realtime even when zwift is not connected 2024-02-13 11:23:48 +01:00
Roberto Viola
29926b7457 Display step cadence on main app #1242 2024-02-13 11:15:51 +01:00
Roberto Viola
ccd2b1399d Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-13 10:23:44 +01:00
Roberto Viola
32a2831066 Update project.pbxproj 2024-02-13 10:17:40 +01:00
Roberto Viola
aa5f48c33b Revert "Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025)"
This reverts commit f79939be2c.
2024-02-12 22:50:08 +01:00
Roberto Viola
3f15f37f70 adding stepcount from Apple Watch #173 2024-02-12 11:47:18 +01:00
Roberto Viola
f79939be2c Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025) 2024-02-12 09:24:50 +01:00
Roberto Viola
a1983e39f6 zwift api poll setting added 2024-02-12 09:08:31 +01:00
Roberto Viola
e50091bd26 Nordictrack X14i - incline off (Issue #79)
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/79#issuecomment-1937014912
2024-02-12 08:57:53 +01:00
Roberto Viola
3e9132e0d5 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-12 08:24:57 +01:00
Roberto Viola
ad678787bb Enerfit SPX 9500 #2022 2024-02-12 08:24:52 +01:00
Roberto Viola
4526324dc0 Zwift Play #1984 2024-02-12 03:00:35 +01:00
Roberto Viola
e13f8510ba Zwift Play #1984 2024-02-12 02:58:07 +01:00
Roberto Viola
1e9b6a4372 Update project.pbxproj 2024-02-12 02:56:22 +01:00
Roberto Viola
2ab490e520 Zwift Play #1984 2024-02-12 02:54:06 +01:00
Roberto Viola
4a288cb144 NordicTrack Elite 4000 [BUG] (Issue #2113) 2024-02-12 02:47:16 +01:00
Roberto Viola
4aee609476 Domyos Challenge Bike (TC-0421) crashes app #2120 2024-02-12 02:15:57 +01:00
Roberto Viola
104e11e5b8 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-11 11:48:18 +01:00
David Mason
df06a63678 #2116 test data inheritance (#2117) 2024-02-11 07:39:56 +01:00
Roberto Viola
414df68353 Update project.pbxproj 2024-02-10 09:14:07 +01:00
Roberto Viola
5ccc8cf77e no data coming through from Woodway 4Front #2095 2024-02-10 09:10:57 +01:00
Roberto Viola
bf2d9e95cb improving PID HR for small increment 2024-02-09 11:14:21 +01:00
Roberto Viola
4f0ffaae32 Manual control of Echelon Row resistance #2028 2024-02-09 08:06:31 +01:00
Roberto Viola
12e27084be Code organisation (Issue #2102) 2024-02-09 08:04:29 +01:00
Roberto Viola
c02935f4b1 No data from toorx BRX-300 (Issue #2111) 2024-02-08 17:32:34 +01:00
Roberto Viola
5969c0f37f Support for Pro-Form Cycle Trainer 300 ci #1892 2024-02-08 11:50:37 +01:00
Roberto Viola
11a1ffdf32 Xcode files reorganization (#2109)
* #2102 reorganisation of file system

* #2102 align with master

* #2102 updated xcode project

* xcode builds!

---------

Co-authored-by: David Mason <drmason999@gmail.com>
2024-02-08 09:15:33 +01:00
Roberto Viola
be8408e4c7 improving PID HR for small increment 2024-02-08 08:06:24 +01:00
Roberto Viola
018ea9f080 Zwift Play #1984 2024-02-08 06:43:17 +01:00
Roberto Viola
c3b1ae9dcd Issues creating new rower profile (Issue #2104) 2024-02-08 06:22:40 +01:00
Roberto Viola
a32645bb15 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-08 06:20:28 +01:00
Roberto Viola
bd9f5ea765 odometer on proformwifibike based on power 2024-02-08 06:20:17 +01:00
acgourley
8d025a91b2 Update README.md (#2108)
Adding BitGym as a supported target.
2024-02-08 06:18:29 +01:00
Roberto Viola
006663b2f1 fixing freeride tag on live chart 2024-02-08 06:15:26 +01:00
Roberto Viola
28761764a4 odometer on proformwifibike based on power 2024-02-08 06:10:21 +01:00
Roberto Viola
b5c47f5aa6 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-08 06:07:24 +01:00
Roberto Viola
2f0806df7b zwift play #1984 2024-02-07 17:03:44 +01:00
Roberto Viola
6e5ffdccb0 zwift play #1984 2024-02-07 16:51:24 +01:00
Roberto Viola
5864e81e57 zwift play #1984 2024-02-07 16:37:51 +01:00
Roberto Viola
fc9fb178a2 Update project.pbxproj 2024-02-07 15:49:27 +01:00
Roberto Viola
56fe2c8fcc zwift play #1984 2024-02-07 10:07:19 +01:00
Roberto Viola
145a919f22 Inaccurate Data from Bowflex BXT216 (Issue #2096) 2024-02-07 10:06:46 +01:00
Roberto Viola
b47d62c2ca Revert "Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift"
This reverts commit 092e318b55, reversing
changes made to 3168a84fd6.
2024-02-07 09:49:57 +01:00
Roberto Viola
092e318b55 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-07 09:07:16 +01:00
David Mason
35f5065cb2 #2102 reorganisation of file system (#2103)
* #2102 reorganisation of file system

* #2102 align with master

---------

Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2024-02-07 09:01:43 +01:00
Roberto Viola
6ac55ee7e3 Inaccurate Data from Bowflex BXT216 (Issue #2096) 2024-02-07 08:36:06 +01:00
Roberto Viola
6461d68954 zwift play #1984 2024-02-06 21:45:12 +01:00
Roberto Viola
3168a84fd6 Update project.pbxproj 2024-02-06 15:09:18 +01:00
Roberto Viola
587bd6469d Zwift Play #1984 2024-02-06 14:49:08 +01:00
Roberto Viola
a2f6f45aa6 NoblePro Cadence Data #2073 2024-02-06 11:21:05 +01:00
Roberto Viola
bfc301a8b9 Update project.pbxproj 2024-02-06 10:18:10 +01:00
Roberto Viola
0774a9e5c5 no data coming through from Woodway 4Front #2095 2024-02-06 10:08:53 +01:00
Roberto Viola
5b9a1d5135 zwift click sends data without encryption!
https://github.com/ajchellew/zwiftplay/pull/3#issuecomment-1929003146
2024-02-06 09:38:16 +01:00
Roberto Viola
c96b591360 Support for Pro-Form Cycle Trainer 300 ci #1892 2024-02-05 12:12:25 +01:00
Roberto Viola
67a2151b68 Adding support for - HOP-SPORT HS-090H iConsole+ (Issue #2082) 2024-02-05 11:27:05 +01:00
Roberto Viola
b565cef516 Update project.pbxproj 2024-02-04 20:25:26 +01:00
Roberto Viola
020d732725 Update project.pbxproj 2024-02-04 20:22:40 +01:00
Roberto Viola
1677b03113 no data coming through from Woodway 4Front (Issue #2095) 2024-02-04 19:51:22 +01:00
Roberto Viola
a831add2d5 Revert "no data coming through from Woodway 4Front (Issue #2095)"
This reverts commit cdd3f53244.
2024-02-04 19:49:16 +01:00
Roberto Viola
038e597177 2.16.41 on android 2024-02-04 18:38:10 +01:00
Roberto Viola
17ab93720f Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-04 18:37:15 +01:00
Roberto Viola
34f28b4b79 Zwift click only on android (#2089)
* files added

* Update build.gradle

* Update build.gradle

* Update build.gradle

* builds with the library, let's try to use it now!

* builds

* builds but crash at the buildHandshakeStart

* fixinig crash

* dependencies added!

* it works!

* adding zwiftplay submodule

* fixing build on CI

* fixing CI

* Update qzsettings.h

* Update qzsettings.cpp

* Update settings.qml

* Update settings.qml

* Update bike.h

* Update project.pbxproj

* adding the setting

* Update qdomyos-zwift.pro
2024-02-04 18:36:45 +01:00
Roberto Viola
fa0e981174 Update project.pbxproj 2024-02-04 18:17:48 +01:00
Roberto Viola
67de90b88e Inaccurate Data from Bowflex BXT216 (Issue #2096) 2024-02-04 18:00:22 +01:00
Roberto Viola
cdd3f53244 no data coming through from Woodway 4Front (Issue #2095) 2024-02-04 17:56:25 +01:00
Roberto Viola
438c1a5021 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-02-03 07:57:05 +01:00
Roberto Viola
ba074414b0 Proform 2000 Pro -3% incline #2092 2024-02-03 07:57:01 +01:00
Roberto Viola
bc1b2d4d19 Support for Proform 705 CST (Issue #2090) 2024-02-02 14:19:36 +01:00
Roberto Viola
202d018521 POWER AND CADENCE NORDICTRAK S22I CHART (Issue #2060) 2024-02-02 11:09:20 +01:00
Roberto Viola
b5bb557210 Update project.pbxproj 2024-02-01 15:25:12 +01:00
Roberto Viola
3937c9593e iOS Crash on 12.* #2083 2024-02-01 09:19:56 +01:00
Roberto Viola
531ce52643 Zwift Treadmill Auto Workout doesn't work correctly, speed was set way to low on treadmill #2042
https://github.com/cagnulein/qdomyos-zwift/issues/2042#issuecomment-1919436743
2024-02-01 08:36:40 +01:00
Roberto Viola
9eb282ec23 Can’t get proper data from Zero Runner ZR8000 #2030 2024-01-31 15:58:19 +01:00
Roberto Viola
3753c33581 NoblePro Cadence Data #2073 2024-01-31 09:57:44 +01:00
Roberto Viola
6859b8663f Support for Pro-Form Cycle Trainer 300 ci #1892 2024-01-31 09:42:48 +01:00
Roberto Viola
e1a5c2a7ea Nautilus T628 No Incline (Issue #2046) 2024-01-31 09:22:54 +01:00
Roberto Viola
23d702ddd4 Floating window does not show Peleton row targets (Issue #2026) 2024-01-31 09:16:26 +01:00
Roberto Viola
ac0440edaf CitySports treadmill #2076 2024-01-30 18:46:43 +01:00
Roberto Viola
0ed7413254 Floating window does not show Peleton row targets (Issue #2026) 2024-01-30 12:13:48 +01:00
Roberto Viola
9a2d51a7fd Connection hanging and HR not working #2055 2024-01-30 10:03:58 +01:00
Roberto Viola
bdc64ac13f fixing crash with zwift api 2024-01-29 19:10:10 +01:00
Roberto Viola
a4a6924f7a 2.16.38 crashes using an Echelon EX 7S bike and Zwift #2069 2024-01-29 18:53:51 +01:00
Roberto Viola
02ac7fc4c8 Christopheit Race Bike 4 #2068 2024-01-29 17:12:10 +01:00
Roberto Viola
1bd47aa02c Toorx Power Compact S: inclination or speed control works, but not both [BUG] (Issue #2067) 2024-01-29 13:49:50 +01:00
Roberto Viola
974d57d595 replaced switch for nordictrack treadmills with a combobox 2024-01-29 12:37:40 +01:00
Roberto Viola
4a8b37919c NordicTrack T8.5S App Tiles Don't Update, Speed/Incline Not Controlled (… …Issue #2023) 2024-01-28 21:11:12 +01:00
Roberto Viola
3780cf7727 NordicTrack T8.5S App Tiles Don't Update, Speed/Incline Not Controlled (Issue #2023) 2024-01-28 20:58:28 +01:00
Roberto Viola
3ca52a76e9 Update nordictrackifitadbtreadmill.h 2024-01-28 20:57:20 +01:00
Roberto Viola
625c73556a Capital sports evo track #2062 2024-01-28 13:36:53 +01:00
Roberto Viola
b022207787 NordicTrack T8.5S App Tiles Don't Update, Speed/Incline Not Controlled #2023 2024-01-28 08:51:21 +01:00
Roberto Viola
4275bb18a0 Floating window does not show Peleton row targets #2026 2024-01-27 08:36:52 +01:00
Roberto Viola
432413526f Floating window does not show Peleton row targets #2026 2024-01-27 08:29:01 +01:00
Roberto Viola
976fb849c7 Update project.pbxproj 2024-01-27 07:38:23 +01:00
Roberto Viola
6f861e54c2 Bowflex IC Bike SE #2058 2024-01-27 07:28:22 +01:00
Roberto Viola
1d85e90b15 Bowflex Treadmill 7 #2057 2024-01-27 07:21:18 +01:00
Roberto Viola
6340c7cf82 Connection hanging and HR not working #2055 2024-01-27 07:19:35 +01:00
Roberto Viola
dd2160344e Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-01-27 07:19:25 +01:00
Roberto Viola
abf33019ee added slider to the left side bar 2024-01-26 16:43:09 +01:00
Roberto Viola
5f3e1bfd7f Floating window does not show Peleton row targets (Issue #2026) 2024-01-26 16:41:45 +01:00
Roberto Viola
28c6e035d9 Floating window does not show Peleton row targets #2026 2024-01-26 16:09:17 +01:00
Roberto Viola
84c351e55c Tacx Satori Smart #2044 2024-01-26 12:20:51 +01:00
Roberto Viola
b2ab7e1328 Domyos Treadmill T900A buttons #2019 2024-01-25 08:39:37 +01:00
Roberto Viola
d48ce08102 Power Profile for Sportstech ESX600 (Issue #2039) 2024-01-25 08:34:36 +01:00
Roberto Viola
7bfb76a415 Nautilus T628 Issue #2043 2024-01-24 17:57:28 +01:00
Roberto Viola
432e82cc84 Floating window does not show Peleton row targets #2026 2024-01-24 17:49:58 +01:00
Roberto Viola
2c0f32c4c5 KingSmith Walkingpad A1 Pro #2041 2024-01-24 17:04:17 +01:00
Roberto Viola
b6fa09702c Sportstech F37 cant Connect #2040 2024-01-24 15:13:49 +01:00
Roberto Viola
fac68e0fce Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-01-24 14:50:58 +01:00
Roberto Viola
896d91a3ba ProForm 505 CST Treadmill - Speed and Incline Control #2032 2024-01-24 14:45:23 +01:00
Roberto Viola
cf3151465a Power Profile for Sportstech ESX600 #2039 2024-01-24 08:55:10 +01:00
Roberto Viola
23d450e52b Update fitshowtreadmill.cpp 2024-01-24 08:43:12 +01:00
Roberto Viola
eda7e72d04 fixing heart from apple watch or garmin or android wear to m3i and fitshow treadmill 2024-01-24 08:33:04 +01:00
Roberto Viola
fb4eec9e10 Update homeform.cpp 2024-01-23 16:13:34 +01:00
Roberto Viola
4090cd71eb Manual control of Echelon Row resistance (Issue #2028) 2024-01-23 16:00:43 +01:00
Roberto Viola
616f3e1976 Update project.pbxproj 2024-01-23 15:36:28 +01:00
Roberto Viola
fd6acc3626 Enerfit SPX 9500 #2022 2024-01-23 14:57:37 +01:00
Roberto Viola
52b0d0c5a1 Floating window does not show Peleton row targets #2026 2024-01-23 11:25:12 +01:00
Roberto Viola
2f61a1addc MERACH CC bike #2035 2024-01-23 10:28:08 +01:00
Roberto Viola
280fa8c0f4 That the treadmill always has a minimum slope #1960 2024-01-23 10:10:49 +01:00
Roberto Viola
83af28ea25 Stacked Tread Classes Have Negative Distance #2018 2024-01-23 08:29:32 +01:00
Roberto Viola
7a3bf4a78e Elliptical trainer "FAL-SPORTS0195" (Brand and model: Maxxus CX 5.1) won't connect correctly (Issue #2025) 2024-01-22 20:42:01 +01:00
Roberto Viola
54cb9c3ef7 Domyos Treadmill T900A buttons #2019 2024-01-22 17:19:06 +01:00
Roberto Viola
a96f497633 Not recording a run to Apple Fitness or Health #2027 2024-01-21 22:36:33 +01:00
Roberto Viola
dc07457631 fixing 65535 kcal for domyosbike 2024-01-21 20:37:05 +01:00
Roberto Viola
30008c7f9b version 2.16.37 2024-01-21 16:06:53 +01:00
Roberto Viola
3c557067d7 Update solef80treadmill.cpp 2024-01-21 14:47:37 +01:00
Roberto Viola
0fae320cf5 XTerra TRX7.5 Treadmill (Issue #2009) 2024-01-21 14:36:41 +01:00
Roberto Viola
fca9e879f2 Treadmill is connected, but no speed or incline is transmitted #2012 2024-01-20 09:16:17 +01:00
Roberto Viola
a0493cac89 Treadmill is connected, but no speed or incline is transmitted #2012 2024-01-20 09:12:12 +01:00
Roberto Viola
6096b09f9c Domyos Treadmill T900A buttons #2019 2024-01-20 08:18:58 +01:00
Roberto Viola
d1734b96af XTerra TRX7.5 Treadmill (Issue #2009) 2024-01-20 07:55:40 +01:00
Roberto Viola
a98772f2fd Domyos EL-0557 elliptical - resistance does not change (Issue #2011) 2024-01-20 00:50:26 +01:00
Roberto Viola
9bebef29cc Stacked Tread Classes Have Negative Distance #2018 2024-01-20 00:39:08 +01:00
Roberto Viola
869bc0d720 Domyos run 500 (TC-0421) crashes app #2017 2024-01-19 23:48:47 +01:00
Roberto Viola
4bc20961b4 KSports Fitshow / FTMS Bike won't connect #2016 2024-01-19 23:23:21 +01:00
Roberto Viola
f9fe046f54 watts no longer being above 0 in iOS 2.16.30 beta horizon treadmill (Issue #1997) 2024-01-19 14:01:00 +01:00
Roberto Viola
92bffc42fa Echelon Row Sport Freezes #1875 2024-01-19 10:36:28 +01:00
Roberto Viola
d2256f563a Revert "XTerra TRX7.5 Treadmill #2009"
This reverts commit a5129f6a3a.
2024-01-18 16:39:22 +01:00
Roberto Viola
0cff162fcc Update qdomyos-zwift.iss 2024-01-18 16:13:58 +01:00
Roberto Viola
2c73351f94 Update project.pbxproj 2024-01-18 15:35:17 +01:00
Roberto Viola
a5129f6a3a XTerra TRX7.5 Treadmill #2009 2024-01-18 15:32:35 +01:00
Roberto Viola
ff9c7f746a Row Bootcamp Distance in Strava Higher than Rowed (Issue #2006) 2024-01-18 11:38:08 +01:00
Roberto Viola
cfd8fa3eeb Update horizontreadmill.cpp #2005 2024-01-17 21:37:20 +01:00
Roberto Viola
952052ecca Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-01-17 16:50:39 +01:00
Roberto Viola
bf4597f863 Allow for a negative incline on treadmill that supports it when integrating with zwift (Issue #2005) 2024-01-17 16:16:05 +01:00
Roberto Viola
d973d0dd0c Languages #1495 2024-01-17 16:12:18 +01:00
Roberto Viola
e46cd2421d Allow for a negative incline on treadmill that supports it when integrating with zwift (Issue #2005) 2024-01-17 16:11:50 +01:00
Roberto Viola
2e729f50ec Update project.pbxproj 2024-01-17 14:37:44 +01:00
Roberto Viola
e7ae05aa16 watts no longer being above 0 in iOS 2.16.30 beta horizon treadmill #1997 2024-01-17 14:34:07 +01:00
Roberto Viola
0dc369cfe6 added canHandleSpeedChange and canHandleInclineChange for the treadmill classes 2024-01-17 14:04:06 +01:00
Roberto Viola
f2bc2a79be Treadmill proform 8.5 - speed and incline tiles don't work #1989 2024-01-17 13:52:05 +01:00
Roberto Viola
dbf428d239 Allow for a negative incline on treadmill that supports it when integrating with zwift (Issue #2005) 2024-01-17 13:19:37 +01:00
Roberto Viola
f6d94ca133 Remap keys on domyos treadmill #536 2024-01-17 11:56:29 +01:00
Roberto Viola
53049c073f heart on ultrasportbike 2024-01-17 11:19:33 +01:00
Roberto Viola
981f9258ca heart on ultrasportbike 2024-01-17 11:13:23 +01:00
Roberto Viola
b1706eb395 fixing 65535 kcal for domyosbike 2024-01-17 08:23:21 +01:00
Roberto Viola
44c2e45c1c adding elliptical to zwift api 2024-01-16 16:27:47 +01:00
Roberto Viola
00307eb228 Update proformtreadmill.cpp 2024-01-16 14:34:42 +01:00
Roberto Viola
2d851913f2 watts no longer being above 0 in iOS 2.16.30 beta horizon treadmill #1997 2024-01-16 09:47:36 +01:00
Roberto Viola
e8177e4410 ERG modefor Toorx SRX 3500 (Issue #1999) 2024-01-16 09:40:58 +01:00
Roberto Viola
b53ff75a5f Power Profile for BodyTone du30 #1981 2024-01-16 08:35:31 +01:00
Roberto Viola
1f444d0dd0 Octane Fitness 37xi connection to QZ app (Issue #1876) 2024-01-15 21:01:04 +01:00
Roberto Viola
3dc61fff85 No watt output on SportPlus SP-HT-1004-iE with latest version (Issue #874) 2024-01-15 17:56:10 +01:00
Roberto Viola
031a24764d Update project.pbxproj 2024-01-15 16:48:32 +01:00
Roberto Viola
c4b371eddf No watt output on SportPlus SP-HT-1004-iE with latest version #874 2024-01-15 16:39:19 +01:00
Roberto Viola
4a8c42c755 more realistic auto inclination without /2 2024-01-15 16:09:25 +01:00
Roberto Viola
8d61e9cfff 2.16.33 2024-01-15 11:30:30 +01:00
Roberto Viola
ac6468e507 Power Profile for BodyTone du30 #1981 2024-01-15 10:20:28 +01:00
Roberto Viola
1abe748ad2 Power Profile for BodyTone du30 #1981 2024-01-15 09:55:15 +01:00
Roberto Viola
390d835fba Update bluetooth.cpp 2024-01-13 16:59:29 +01:00
Roberto Viola
51415561a0 Bowflex T8J #1994 2024-01-13 16:19:09 +01:00
Roberto Viola
d7ea35cfef Bowflex T8J #1994 2024-01-13 15:51:59 +01:00
Roberto Viola
8aece1ac6d Bowflex T8J #1994 2024-01-13 11:57:28 +01:00
Roberto Viola
4e6a52030f Power Profile for BodyTone du30 #1981 2024-01-13 08:11:34 +01:00
Roberto Viola
c346aaa055 Octane Fitness 37xi connection to QZ app #1876 2024-01-13 07:52:15 +01:00
Roberto Viola
f8341e0d6b ZWIFT API #1921 2024-01-12 15:34:48 +01:00
Roberto Viola
4d3dd3a86c Update project.pbxproj 2024-01-12 08:09:32 +01:00
Roberto Viola
393e7be824 That the treadmill always has a minimum slope (Issue #1960) 2024-01-12 07:49:49 +01:00
Roberto Viola
2758688f2c adding zwift green check mark 2024-01-11 12:22:21 +01:00
Roberto Viola
9628f6be45 Domyos Woodrower (Issue #1963) 2024-01-11 08:47:15 +01:00
Roberto Viola
ed122948cc Bowflex BTX116 Not Connecting #1902 2024-01-11 08:40:33 +01:00
Roberto Viola
747858b544 Update homeform.cpp 2024-01-11 08:24:00 +01:00
Roberto Viola
eeb24b94e0 Cannot open GPX file from local folder on Android mobile device #1980 2024-01-10 17:37:21 +01:00
Roberto Viola
d178317f77 WalkingPad R2(B?) support - TRR2FB #1958 2024-01-10 10:45:40 +01:00
Roberto Viola
2ac2b278b6 Bowflex BTX116 Not Connecting #1902 2024-01-10 08:26:33 +01:00
Roberto Viola
9a8561b229 adding zwift inclination gain and offset to zwift api 2024-01-10 08:20:28 +01:00
Roberto Viola
2c63fd3cc3 Xterra TRX3500 requested log file (Issue #1974) 2024-01-09 18:40:54 +01:00
Roberto Viola
7f1eb1486a Domyos Woodrower #1963 2024-01-09 18:36:06 +01:00
Roberto Viola
6b0a15d19b version 2.16.32 2024-01-09 13:45:39 +01:00
Roberto Viola
928f9bc613 Xterra TRX3500 requested log file #1974 2024-01-09 11:15:26 +01:00
Roberto Viola
1e3121375f Xterra TRX3500 requested log file #1974 2024-01-09 11:09:19 +01:00
Roberto Viola
12d5794fcd Proform Treadmill 2000 (not pro) #1975 2024-01-09 10:55:16 +01:00
Roberto Viola
6d475919af BanCon BC-B399 #1971 2024-01-09 08:33:50 +01:00
Roberto Viola
08fa2d8fd9 BanCon BC-B399 #1971 2024-01-08 17:46:37 +01:00
Roberto Viola
1882862e03 Domyos Woodrower #1963 2024-01-08 14:13:18 +01:00
Roberto Viola
bd0dd1c504 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-01-08 09:32:51 +01:00
Roberto Viola
3874d15a44 version 2.16.31 2024-01-08 09:32:39 +01:00
Roberto Viola
397379ad9b Min and Max inclination for treadmill (#1962)
* That the treadmill always has a minimum slope (Issue #1960)

* Update qzsettings.h

* Update qzsettings.h

* Update treadmill.cpp
2024-01-08 09:31:36 +01:00
Roberto Viola
ee1201cc3e Domyos Woodrower #1963 2024-01-07 16:26:55 +01:00
Roberto Viola
f968d6628b Domyos Woodrower #1963 2024-01-07 16:20:42 +01:00
Roberto Viola
129506f7e5 Update project.pbxproj 2024-01-07 11:11:38 +01:00
Roberto Viola
5d4665bfbb Unable to connect Tunturi T60[BUG] (Issue #1932) 2024-01-07 09:53:55 +01:00
Roberto Viola
463c349fc3 Adb.exe stays resident on QZ exit (Windows) (Issue #1951) (#1953) 2024-01-05 18:31:13 +00:00
Roberto Viola
ab3071aafc WalkingPad R2(B?) support - TRR2FB (Issue #1958) 2024-01-05 17:46:41 +01:00
Roberto Viola
978ac7ee0f Schwinn170 cadence sensor #1957 2024-01-05 17:43:51 +01:00
Roberto Viola
8a791c4dde Update project.pbxproj 2024-01-05 16:37:09 +01:00
Roberto Viola
77eb4e5b1a Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-01-05 16:24:13 +01:00
Roberto Viola
e3730cf22a Schwinn170 cadence sensor #1957 2024-01-05 16:23:58 +01:00
Roberto Viola
717d90b98c Atletica Lightspeed Treadmill start issue (Fitshow) #1950 (#1954)
* Atletica Lightspeed Treadmill start issue (Fitshow) #1950

* Update fitshowtreadmill.cpp
2024-01-05 15:35:24 +01:00
Roberto Viola
98de190dd5 Proform Treadmill 8.5 #1955 2024-01-05 14:43:07 +01:00
Roberto Viola
05b4b6ef4d Update proformtreadmill.cpp 2024-01-05 13:37:42 +01:00
Roberto Viola
c1129bbc0f Update project.pbxproj 2024-01-05 13:26:39 +01:00
Roberto Viola
0d48bab025 Proform Treadmill 8.5 #1955 2024-01-05 11:48:17 +01:00
Roberto Viola
85e9d0f6d1 Update project.pbxproj 2024-01-05 10:54:05 +01:00
Roberto Viola
fd2d17879b qdomyos doesn't see HR from garmin watches #1948 2024-01-05 10:53:57 +01:00
Roberto Viola
c91248fd52 Bodytone DS60 Bike #1949 2024-01-04 17:18:54 +01:00
Roberto Viola
3dfe880b1b Sync Homeform loading with bluetooth engine (#1940)
* Update python scripts to use AI.Server for OCR #1847

* Update bluetoothdevicetestsuite.cpp

* Update bluetooth.cpp
2024-01-03 17:05:39 +01:00
Roberto Viola
9065ef0c19 Support Nordictrack S25 treadmill #1933 2024-01-03 09:16:28 +01:00
Roberto Viola
4ba070e089 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2024-01-02 14:17:59 +01:00
Roberto Viola
fed4c0ca0f Update project.pbxproj 2024-01-02 14:17:55 +01:00
Roberto Viola
ab63a29cad Garmin power sensor over bluetooth (#1347)
* trying to fix it (it shows as connectable but the metrics are 0)

* trying a different approach on power data

* it works!

* Update lockscreen.mm

* handled both apple fitness on watch and garmin!
2024-01-02 14:13:55 +01:00
Roberto Viola
d8ed66e0ea Update qzsettings.cpp 2024-01-02 13:50:58 +01:00
Roberto Viola
1274112aed Unable to connect Tunturi T60[BUG] #1932 2023-12-31 17:59:01 +01:00
Roberto Viola
be13c4176f 2.16.30 with auto incline on zwift with zwift api 2023-12-31 17:52:50 +01:00
Roberto Viola
f2cef085d2 Zwift API Android (#1931)
* builds!

* it builds!

* Update trainprogram.cpp

* fixing!

* Update trainprogram.cpp

* Update trainprogram.cpp
2023-12-31 17:51:33 +01:00
Roberto Viola
478a27ed68 Zwift api (#1923) 2023-12-30 19:30:57 +00:00
Roberto Viola
001c651c58 No Heart Rate nor distance showing in tiles on QZ (Issue #1928) 2023-12-30 10:12:08 +01:00
Roberto Viola
4e6b29d494 Update homeform.cpp (#1927) 2023-12-29 17:12:45 +01:00
Roberto Viola
82ef4e4350 Update trainprogram.cpp 2023-12-29 11:09:50 +00:00
Roberto Viola
bcff966976 no resistance domyos 520 elliptical block 1 (Issue #1925) 2023-12-29 11:53:03 +01:00
Roberto Viola
0931ef6055 no resistance domyos 520 elliptical block 1 (Issue #1925) 2023-12-29 11:37:46 +01:00
Roberto Viola
f204c1bac0 Update project.pbxproj 2023-12-29 08:09:03 +01:00
Roberto Viola
93779d04c5 Watch OS 10 CSC Bluetooth Data for Bike (Issue #1924) 2023-12-29 08:04:46 +01:00
Roberto Viola
7f6e6e2ce0 peloton resistance update #1877 2023-12-29 07:24:10 +01:00
Roberto Viola
76dc3b38b8 Speed on GPX treadmill run is too fast and does not match GPX[BUG] #1870
https://github.com/cagnulein/qdomyos-zwift/issues/1870#issuecomment-1866176352
2023-12-28 11:27:27 +01:00
Roberto Viola
48345dc2d2 MERACH-667 bike #1920 2023-12-28 08:55:41 +01:00
Roberto Viola
2cb4187951 Proform 225CSX resistance does not work #1903 2023-12-28 08:53:30 +01:00
Roberto Viola
76deb91b0b Update proformtelnetbike.cpp 2023-12-27 17:43:27 +00:00
Roberto Viola
2c71206327 Update project.pbxproj 2023-12-27 07:04:33 +01:00
Roberto Viola
e3be4ffa0e distance with 1 decimal to the summary view (#1914) 2023-12-27 06:37:46 +01:00
Roberto Viola
868d5cc3a8 ProForm Gen 1 Connection Issue #1825 (#1844) 2023-12-27 04:34:18 +00:00
Roberto Viola
94eb866740 Nordictrack Treadmill / speed and inclination (Issue #1908) 2023-12-26 10:06:22 +01:00
Roberto Viola
f192cf6c75 Proform 225CSX resistance does not work #1903 2023-12-26 08:47:33 +01:00
Roberto Viola
c7efde82b6 Rower Distance is Not Included in Strava #1912 2023-12-26 08:42:47 +01:00
Roberto Viola
f32dcb4e1e Floating window: adding total remaining time after the elapsed time (Issue #1863) 2023-12-25 17:32:11 +00:00
Roberto Viola
6157bfdcc8 Proform 225CSX resistance does not work (Issue #1903) 2023-12-25 12:54:40 +01:00
Roberto Viola
9ff91faf00 Support for Pro-Form Cycle Trainer 300 ci (Issue #1892) 2023-12-25 12:30:25 +01:00
Roberto Viola
3b88bc2f1f Wahoo Dircon characteristics incompatibilities #1910 2023-12-25 11:42:08 +01:00
Roberto Viola
4f7cfbbfc1 Floating window: adding total remaining time after the elapsed time (Issue #1863) 2023-12-24 12:35:24 +01:00
Al Udell
56c112ed4c Update python scripts to use AI.Server for OCR (#1847)
* Update python scripts to use AI.Server for OCR

* change python from 3.10 to 3.7

* Update main.yml

* renaming script files

* resuming here the old script as well

* adding new build for ai server in CI

* renaming python scripts for AI.server

* Update homeform.cpp

* Update homeform.cpp

* fixing secrets on PR

* restoring...

* Update main.yml

* Update homeform.cpp

* Update main.yml

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_workout_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_workout_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_workout_paddleocr_thread.cpp

* Update main.yml

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_workout_paddleocr_thread.cpp

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update main.yml

* Update main.yml

* Update windows_zwift_incline_paddleocr_thread.cpp

* Update windows_zwift_workout_paddleocr_thread.cpp

* Update main.yml

* removing nopython build for ai.server

* Update main.yml

---------

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
2023-12-23 10:02:10 +01:00
Roberto Viola
f6b8984575 Floating window: adding total remaining time after the elapsed time (Issue #1863) 2023-12-23 09:54:15 +01:00
Roberto Viola
52579e3efc Support for Pro-Form Cycle Trainer 300 ci #1892 2023-12-21 16:42:57 +01:00
Roberto Viola
fef5d8f4a7 Octane Fitness 37xi connection to QZ app #1876 2023-12-21 15:03:52 +01:00
Roberto Viola
6c93d85932 Floating window: adding total remaining time after the elapsed time #1863 2023-12-21 10:54:02 +01:00
Roberto Viola
b7763154a3 Update octaneelliptical.cpp 2023-12-21 09:29:43 +01:00
Roberto Viola
fe393bd70d Octane Fitness 37xi connection to QZ app #1876 2023-12-21 09:19:00 +01:00
Roberto Viola
3330cc516e Kingsmith G1 Walking Pad (Issue #1833 2023-12-20 14:57:32 +01:00
Roberto Viola
49e288ec01 Update octaneelliptical.cpp 2023-12-20 14:32:31 +01:00
Roberto Viola
f1e14d1652 Octane Fitness 37xi connection to QZ app #1876 2023-12-20 14:29:11 +01:00
Roberto Viola
2b541c220b Support for Pro-Form Cycle Trainer 300 ci (Issue #1892) 2023-12-20 12:16:27 +01:00
Roberto Viola
372d57368c adding inclination calculation to the stryd 2023-12-19 10:15:41 +01:00
Roberto Viola
21f977ad44 Any hints / tips for using the following a GPX feature? #1893 2023-12-18 14:28:57 +01:00
Roberto Viola
a152a0edb9 version 2.16.28 2023-12-17 19:12:19 +01:00
Roberto Viola
effb3cdfe5 Octane Fitness 37xi connection to QZ app #1876 2023-12-17 18:16:56 +01:00
Roberto Viola
e0144445a3 adding distance to virtual treadmill ftms to accomodate the new FTMS peloton function 2023-12-16 20:22:07 +01:00
Roberto Viola
8042989552 Octane Fitness 37xi connection to QZ app #1876 2023-12-15 09:29:43 +01:00
Roberto Viola
d5ba21da2e Octane Fitness 37xi connection to QZ app #1876 2023-12-14 19:43:35 +01:00
Roberto Viola
9d970fbca7 Octane Fitness 37xi connection to QZ app #1876 2023-12-14 13:33:10 +01:00
Roberto Viola
600d679e21 Freemotion Coachbike b22.7: Making adjustments on the bike through the app does not work. Manually or Automatically (Issue #1877) 2023-12-14 11:21:43 +01:00
Roberto Viola
e860224908 qz not detecting HR from garmin forerunner 265 w companion app #1883 2023-12-14 10:50:44 +01:00
Roberto Viola
081d778405 Making adjustments on the bike through the app does not work. Manually or Automatically (Issue #1877) 2023-12-13 19:30:30 +01:00
Roberto Viola
5f18b4daf1 fixing msvc compatibility #1876 2023-12-13 15:48:49 +01:00
Roberto Viola
7b0065d49a Octane Fitness 37xi connection to QZ app #1876 2023-12-13 15:23:35 +01:00
Roberto Viola
65c45d5f3a Toorx3000[BUG] #1865 2023-12-13 15:15:10 +01:00
Roberto Viola
12d3f469de Slight difference between front end pace vs .fit file pace? #1838 2023-12-13 07:57:31 +01:00
Roberto Viola
707fe68301 increased verbosity for currentdistance1s 2023-12-12 22:11:31 +01:00
Roberto Viola
69511f8c38 adding debug log for currentDistance1s 2023-12-12 21:32:38 +01:00
Roberto Viola
37ea50fca9 Update metric.cpp 2023-12-12 17:48:32 +01:00
Roberto Viola
c91a24cf23 fixing crash on powerpeak func 2023-12-12 17:48:10 +01:00
Roberto Viola
ea48d30f73 Debug Log- Lifespan X41 elliptical cross trainer (Issue #1804) 2023-12-12 13:27:55 +01:00
Roberto Viola
117c3749ea Revert "Debug Log- Lifespan X41 elliptical cross trainer (Issue #1804)"
This reverts commit 6376e45a13.
2023-12-12 13:27:02 +01:00
Roberto Viola
6376e45a13 Debug Log- Lifespan X41 elliptical cross trainer (Issue #1804) 2023-12-12 11:42:28 +01:00
Roberto Viola
e1068bc1e5 Octane Fitness 37xi connection to QZ app #1876 2023-12-12 11:02:06 +01:00
Roberto Viola
c501466372 Echelon Row Sport Freezes (Issue #1875) 2023-12-12 08:03:59 +01:00
Roberto Viola
d8dea4f69d Echelon Row Sport Freezes (Issue #1875) 2023-12-11 20:26:01 +01:00
Al Udell
d44fcd72f7 Python scripts update (#1860)
* Python update

Update python scripts to support Windows DPI Aware and Zwift Windowed mode

* downgrading python to 3.7.9

* adding python path

---------

Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2023-12-11 16:24:12 +01:00
Roberto Viola
2a19918889 Advance metrics Stryd and correct Wattage #1873 2023-12-11 15:58:57 +01:00
Roberto Viola
420e263a9c Advance metrics Stryd and correct Wattage (Issue #1873) 2023-12-11 11:08:10 +01:00
Roberto Viola
8a71567a46 adding power and speed for running and walking on apple health 2023-12-11 10:59:17 +01:00
Roberto Viola
5a5d9fb4b4 Advance setting Watt offset #1714 2023-12-11 10:58:56 +01:00
Roberto Viola
f5484768b8 Update ypooelliptical.cpp 2023-12-11 09:48:07 +01:00
Roberto Viola
5beb890d85 Debug Log- Lifespan X41 elliptical cross trainer (Issue #1804) 2023-12-11 09:38:15 +01:00
Roberto Viola
edf8a33b87 concept 2 rower metric missing #1856 2023-12-11 09:11:12 +01:00
Roberto Viola
03ddac15da Slight difference between front end pace vs .fit file pace? #1838 2023-12-08 11:57:39 +01:00
Roberto Viola
e41c60fbeb Slight difference between front end pace vs .fit file pace? #1838 (#1855) 2023-12-07 22:51:11 +01:00
Roberto Viola
2a435b6b65 adding also the qz screenshot at the end of the ride to the file to be removed after sending the email 2023-12-07 19:08:44 +01:00
Roberto Viola
da31761c35 Update mainwindow.cpp 2023-12-07 17:18:55 +01:00
Roberto Viola
6908bb5d43 2.16.26 2023-12-07 16:59:59 +01:00
Roberto Viola
cf35fccca7 fixing gpx default files opening if the speed forcing setting for treadmill was enabled 2023-12-07 16:59:08 +01:00
Roberto Viola
d4a8322160 other folders fixed on android 2023-12-07 16:37:37 +01:00
Roberto Viola
dc5f835445 2.16.25 2023-12-07 14:13:53 +01:00
Roberto Viola
85c7a70053 removing chart images after sending the email 2023-12-07 14:11:13 +01:00
Roberto Viola
b615bd008e adding ContentHelper to Android (#1868)
* adding ContentHelper

* android.permission.READ_EXTERNAL_STORAGE

* removing android.permission.READ_EXTERNAL_STORAGE

* copyAndroidContentsURI

* copyAndroidContentsURI

* Update homeform.cpp

* seems ok on android 14 for training workout

* works on android 14

* checked also iOS
2023-12-07 12:40:37 +01:00
Roberto Viola
2ea7337a0f fs5i nordick track more realistic ride when running with Rouvy or Zwift (Discussion #1345) 2023-12-06 09:27:55 +01:00
Roberto Viola
34f34312ce Floating window: adding total remaining time after the elapsed time #1863 2023-12-06 09:14:09 +01:00
Roberto Viola
d4818cc96e Lynx Konect 2.0 from MoovYoo #1861 (#1862)
* Lynx Konect 2.0 from MoovYoo #1861

* Revert "Lynx Konect 2.0 from MoovYoo #1861"

This reverts commit 80468184af.

* "Lynx Konect 2.0 from MoovYoo #1861"

* "Lynx Konect 2.0 from MoovYoo #1861"
2023-12-06 08:33:05 +01:00
Roberto Viola
d801bc7984 Volume of QZ incline swipes overwhelming treadmill [BUG] Issue #1816 (#1822) 2023-12-04 18:13:00 +01:00
Roberto Viola
0efe227318 Nordictrack S20 Treadmill - No speed or incline control (Issue #1850) 2023-12-04 14:36:58 +01:00
Roberto Viola
40549f16e8 Nordictrack S20 Treadmill - No speed or incline control (Issue #1850) 2023-12-04 13:39:57 +01:00
Roberto Viola
7295ebbf62 Nordictrack S20 Treadmill - No speed or incline control (Issue #1850) (… 2023-12-04 10:41:17 +01:00
Roberto Viola
95db80a249 Fix Jitter Distance Calculation (#1854)
* Allow auto-laps to be recorded by the app #1815 (#1830)

* trying to close gracefully the adbthread

* Update apexbike.cpp
2023-12-04 10:12:20 +01:00
Roberto Viola
534de944d1 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-12-04 09:44:21 +01:00
Roberto Viola
d4c9f2b1dd Update horizontreadmill.cpp 2023-12-04 09:44:03 +01:00
Roberto Viola
ffb2a6e072 Nordictrack S20 Treadmill - No speed or incline control (Issue #1850) (#1858) 2023-12-04 09:36:44 +01:00
Roberto Viola
2dc7ad7fd9 Move Files instead of copying it from android private folder (#1846) 2023-12-03 21:22:15 +01:00
Roberto Viola
35d2eb23aa Hammer Q.Vadis (10.0) #1824 2023-12-02 10:56:33 +01:00
Roberto Viola
4ab4e17f03 Allow auto-laps to be recorded by the app #1815 (#1830) 2023-12-01 22:01:54 +01:00
Roberto Viola
acd80b1105 Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-12-01 14:13:43 +01:00
Roberto Viola
01ab6841fc Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-12-01 14:02:38 +01:00
Roberto Viola
e547924350 Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-12-01 13:53:27 +01:00
Roberto Viola
30b0bd51ca Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-12-01 08:51:22 +01:00
Roberto Viola
a3a2bca715 Update build.gradle (#1843) 2023-11-30 11:28:15 +01:00
Roberto Viola
bf14b9a8e0 Hammer Q.Vadis (10.0) (Issue #1824) 2023-11-30 06:41:32 +01:00
Roberto Viola
a53e7a6e44 Kingsmith G1 Walking Pad #1833 2023-11-28 14:35:08 +01:00
Roberto Viola
5eefb07e9e XTERRA TRX3500 no control from QZ App (Issue #1835) 2023-11-28 13:53:32 +01:00
Roberto Viola
55b0689d1d XTERRA TRX3500 no control from QZ App (Issue #1835) 2023-11-28 13:28:26 +01:00
Roberto Viola
beb0a8a80c adding elite fan file to iOS project 2023-11-28 11:31:27 +01:00
Roberto Viola
65f57d111a Elite Qubo Digital Smart B+ #1834 2023-11-28 09:05:41 +01:00
Roberto Viola
7de08d223f Kingsmith G1 Walking Pad #1833 2023-11-28 08:59:03 +01:00
Roberto Viola
2b69f2dcd0 Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-11-27 11:57:58 +01:00
Roberto Viola
27da18fed9 Elite Aria #1803 2023-11-27 11:54:40 +01:00
Roberto Viola
22fd82cdff Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-11-27 11:49:55 +01:00
Roberto Viola
d9202218dd Debug Log- Lifespan X41 elliptical cross trainer #1804 2023-11-27 11:25:58 +01:00
Roberto Viola
baf9e24640 Update ypooelliptical.cpp 2023-11-27 11:11:50 +01:00
Roberto Viola
9c0ab9b9f6 Rogue echo bike V3.0 #1828 2023-11-27 09:29:49 +01:00
Roberto Viola
49e0506815 Update label to include NordicTrack info #1817 2023-11-26 11:46:06 +01:00
Roberto Viola
80c528f370 Update technogymmyruntreadmillrfcomm.cpp 2023-11-24 09:14:17 +01:00
Roberto Viola
54fa926596 Debug Log- Lifespan X41 elliptical cross trainer (Issue #1804) 2023-11-24 08:33:13 +01:00
Roberto Viola
9f80a7b679 Android OpenSSL in CI (#1809)
* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* qthttpserver added
2023-11-23 16:08:05 +01:00
Roberto Viola
7639d19f5e Elite Aria #1803 2023-11-23 09:15:01 +01:00
Roberto Viola
9870626695 Elite Aria #1803 2023-11-23 08:50:22 +01:00
Roberto Viola
5be30f8f6c Elite Aria #1803 2023-11-23 08:38:30 +01:00
Roberto Viola
751f9c4f84 Elite Aria #1803 2023-11-22 15:07:25 +01:00
Roberto Viola
dd61b8e2ca Elite Aria #1803 2023-11-22 14:26:12 +01:00
Roberto Viola
7dfc994888 Elite Aria #1803 2023-11-22 14:18:05 +01:00
Roberto Viola
c662b84bc2 Debug Log- Lifespan X41 elliptical cross trainer (Issue #1804) 2023-11-22 13:39:00 +01:00
Roberto Viola
7b0ec35303 Elite Aria #1803 2023-11-22 11:15:41 +01:00
Roberto Viola
5d235eaab7 Elite Aria #1803 2023-11-22 10:45:33 +01:00
Roberto Viola
4e55e2b085 Elite Aria #1803 2023-11-22 09:27:13 +01:00
Roberto Viola
e221e4bf7e Update README.md 2023-11-22 08:26:20 +01:00
Roberto Viola
67f0be7c06 Update README.md 2023-11-22 08:25:10 +01:00
Roberto Viola
415025e43d Impossible to connect to treadmill BH S7Ti #1800 2023-11-21 14:07:32 +01:00
Roberto Viola
ba1854659a Impossible to connect to treadmill BH S7Ti #1800 2023-11-21 13:47:36 +01:00
Roberto Viola
f622a3e3f7 Life-Span X-41 Elliptical Cross trainer #1799 2023-11-20 12:05:09 +01:00
Roberto Viola
aad888cdab Adding fit hi way 2023-11-19 17:37:41 +01:00
Roberto Viola
b3d45319ae Adding FIT HI WAY 2023-11-19 17:36:10 +01:00
Roberto Viola
0ecff51b14 Android 14 QZ on Documents Folder (#1794)
* Update homeform.cpp

* implemented in all the 4 places where the user can open files

* Update homeform.h

* Update homeform.cpp

* profiles correctly copied

* change path only for android 14 or greater

* Update homeform.cpp
2023-11-17 22:39:07 +01:00
Roberto Viola
face819d09 Update trxappgateusbtreadmill.cpp 2023-11-17 18:45:29 +01:00
Roberto Viola
f8b9c65dab Focus Fitness Senator 54 iplus #1790 2023-11-17 17:36:16 +01:00
Roberto Viola
0b0081a506 version 2.16.24 2023-11-17 15:21:04 +01:00
Roberto Viola
94c63f5b77 Focus Fitness Senator 54 iplus #1790 2023-11-17 15:18:50 +01:00
Roberto Viola
87725cdd1d Focus Fitness Senator 54 iplus #1790 2023-11-17 13:54:37 +01:00
Roberto Viola
0ddeb747bf Focus Fitness Senator 54 iplus #1790 2023-11-17 13:05:05 +01:00
Roberto Viola
63a7476d14 Focus Fitness Senator 54 iplus #1790 2023-11-17 11:33:37 +01:00
Roberto Viola
28701625ac copying old elements on android from the private folder 2023-11-16 22:44:13 +01:00
Roberto Viola
e0bc9071c5 Update nordictrackifitadbtreadmill.cpp 2023-11-16 14:11:24 +01:00
Roberto Viola
5bd16f8200 No connection to x22i (Issue #65)
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65#issuecomment-1813990744
2023-11-16 14:01:10 +01:00
Roberto Viola
d2b844ffb9 technogym myrun recommends trying full discovery 2023-11-14 21:09:54 +01:00
Roberto Viola
4018d2947c Cannot get Nordic Track Studio Bike - NTEX71021 to work w/ QZ #1785 2023-11-14 15:29:36 +01:00
Roberto Viola
f030c319ac pen Cannot get Nordic Track Studio Bike - NTEX71021 to work w/ QZ #1785 2023-11-14 15:24:50 +01:00
Roberto Viola
ccd4a9896e Bowflex Max Trainer #1789 2023-11-14 15:17:26 +01:00
Roberto Viola
246bf944b2 Update homeform.cpp (#1788) 2023-11-14 08:49:39 +01:00
Roberto Viola
0b7ded9020 Update bluetooth.cpp 2023-11-14 08:43:59 +01:00
Roberto Viola
8bf64c64be technogymrfcomm fix on discovery 2023-11-14 08:20:34 +01:00
Roberto Viola
dbd0227722 fs5i nordick track more realistic ride when running with Rouvy or Zwift #1345 2023-11-13 16:00:17 +01:00
Roberto Viola
7e04ab4f92 No connection to x22i (Issue #65)
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65#issuecomment-1807917029
2023-11-13 15:07:58 +01:00
Roberto Viola
9b7e1d873c Old Treadmill/Android 2 compatibility #62
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/62
2023-11-13 14:54:33 +01:00
Roberto Viola
60ee86476c Revert "trying wahoo kickrhead connectless #1281"
This reverts commit f729260cbd.
2023-11-13 14:48:45 +01:00
Roberto Viola
430378b441 No connection to x22i (Issue #65)
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65#issuecomment-1807917029
2023-11-13 14:48:12 +01:00
Roberto Viola
b9537ff042 Cannot get Nordic Track Studio Bike - NTEX71021 to work w/ QZ (Issue #1785) 2023-11-13 14:46:19 +01:00
Roberto Viola
c0bba3943b No connection to x22i (Issue #65)
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65#issuecomment-1807917029
2023-11-13 14:45:56 +01:00
Roberto Viola
f729260cbd trying wahoo kickrhead connectless #1281 2023-11-11 18:28:31 +01:00
Roberto Viola
bff00001ab No connection to x22i #65
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65
2023-11-10 18:23:23 +01:00
Roberto Viola
91e5a1f14e No connection to x22i #65
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65
2023-11-10 18:20:08 +01:00
Roberto Viola
b928be6a33 fixing ios build on CI 2023-11-10 15:56:12 +01:00
Roberto Viola
2e0dde6aa4 Incorrect distance on QZ with Sole S77 treadmill #1781 2023-11-10 08:38:21 +01:00
Roberto Viola
7b8c8ea2b8 Broken link in Macos install instructions #1779 2023-11-09 10:47:40 +01:00
Roberto Viola
afd6e5ce26 ADB on iOS (#1732)
* Create libadb.a

* adding files to project

* code implemented and works locally
2023-11-09 08:06:33 +01:00
Roberto Viola
2b8b005762 proformwifibike: external gear change also target power on ERG mode 2023-11-08 16:42:20 +01:00
Roberto Viola
1e639cacd1 fs5i nordick track more realistic ride when running with Rouvy or Zwift #1345 2023-11-08 16:37:44 +01:00
Roberto Viola
16611c7e49 openssl added for windows (#1777) 2023-11-08 11:55:30 +01:00
Roberto Viola
757febf35a Update main.yml 2023-11-06 09:42:31 +01:00
Roberto Viola
2c46293612 No connection to x22i #65
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/65
2023-11-06 09:21:51 +01:00
Roberto Viola
9a1f9ee980 QZ on iOS does not receive data from the bike (Issue #1770) 2023-11-06 08:28:04 +01:00
Roberto Viola
96c80d5bb6 Use user determined power gain values with Stryd and Incline #1765
reverting #1741
2023-11-02 15:25:23 +01:00
Roberto Viola
98fbd64b89 moc removed 2023-11-02 15:03:52 +01:00
Roberto Viola
23131f8fb8 removing moc causing issue on iOS build on Mac 2023-11-02 14:49:50 +01:00
Roberto Viola
ec966d6036 2.16.22 2023-11-02 14:23:45 +01:00
Roberto Viola
11f0d6786b Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-11-02 14:04:53 +01:00
Roberto Viola
0f2619233c Update main.yml 2023-11-02 14:04:38 +01:00
cagnulein
a2ba4cefb5 moc files added 2023-11-02 12:49:13 +00:00
Roberto Viola
a83e5951aa Update main.yml 2023-11-02 13:23:46 +01:00
Roberto Viola
9fe09e7b4b adding moc files to CI (#1559)
* adding moc to CI

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml
2023-11-02 12:07:13 +01:00
Roberto Viola
0ea2269a67 Update main.yml 2023-11-02 09:31:58 +01:00
Roberto Viola
fdba749812 Connectivity issue with Saris/ Cycleops Hammer trainer #1724 2023-11-02 08:56:37 +01:00
Roberto Viola
ac257b13ed Update wahookickrheadwind.cpp 2023-11-01 22:33:43 +01:00
Roberto Viola
0890bf8096 Update proformtreadmill.cpp #1755 2023-11-01 11:49:38 +01:00
Roberto Viola
ea75a04ad5 Update main.yml 2023-11-01 11:21:44 +01:00
Roberto Viola
c3a4238618 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-10-31 17:30:43 +01:00
Roberto Viola
8017bf64cd Speed/Incline support for ProForm Pro 1000 Treadmill #1755 2023-10-31 17:30:33 +01:00
Roberto Viola
04633c6296 CI Releases (#1754)
* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Revert "Update main.yml"

This reverts commit b7c85b0bb4.

* Revert "Update main.yml"

This reverts commit d8a310de03.

* Update main.yml
2023-10-31 17:11:52 +01:00
Roberto Viola
513b59c106 Old Treadmill/Android 2 compatibility #62
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/62
2023-10-31 15:17:38 +01:00
Roberto Viola
04c3cc329c Windows PATH batch (#1736)
* Create setup.bat

* Update main.yml

* Update setup.bat

* Update setup.bat

* Update setup.bat
2023-10-31 11:55:00 +01:00
Roberto Viola
e99d7279f4 version 2.16.21 2023-10-31 11:53:55 +01:00
Roberto Viola
716f917e2a odometer keeps going when stopped echelon row #1750 2023-10-31 08:43:27 +01:00
Roberto Viola
0147498c69 Assault bike #1746 2023-10-31 08:29:24 +01:00
Vaibhav
22b3cef9d2 Fixes errors in 30_usage.md file (#1749) 2023-10-30 18:55:55 +01:00
Vaibhav
81e4e95272 Update README.md (#1747) 2023-10-30 17:55:01 +01:00
Roberto Viola
12cc5d0221 Wahoo Kickr Headwind #1281 2023-10-30 16:14:29 +01:00
Roberto Viola
5b1f85a8cb Urevo T2S bike #1744 2023-10-30 14:18:51 +01:00
Vivek Kumar
9a9d5fa95e Update 10_Installation.md (#1742) 2023-10-30 09:47:36 +01:00
Roberto Viola
8f335894e7 fr30z support/multiuser xp (Issue #1735) 2023-10-30 09:32:11 +01:00
Roberto Viola
3292af09ec Stryd power + Inclination power from the treadmill #1741 2023-10-30 09:16:18 +01:00
Roberto Viola
747acae290 fr30z support/multiuser xp (Issue #1735) 2023-10-30 08:53:54 +01:00
Roberto Viola
04c13f2842 Stryd power + Inclination power from the treadmill #1741 2023-10-30 08:33:07 +01:00
Roberto Viola
b77ed2af6a Peloton Resistance is not following the Targeted Peloton Resistance when using the "lower" option #1668 2023-10-30 08:10:42 +01:00
Roberto Viola
5f186204d6 Estimated FTP in email #1739 2023-10-30 08:07:44 +01:00
Roberto Viola
6e9a1ef58a Power Profile Peloton #1733 2023-10-27 11:18:34 +02:00
Roberto Viola
180a246902 Power Profile Peloton #1733 2023-10-27 10:53:51 +02:00
Roberto Viola
09ab5b142c Tacx Vortex #1734 2023-10-27 10:16:43 +02:00
Roberto Viola
50249a5236 Sole F63 doesn't work with qz #597 2023-10-27 09:37:43 +02:00
Roberto Viola
4da2ac2fe1 Sole F63 doesn't work with qz #597 2023-10-27 09:22:17 +02:00
Roberto Viola
ba9253209c Sole F63 doesn't work with qz #597 2023-10-27 09:19:25 +02:00
Roberto Viola
e8031f5a19 Sole F63 doesn't work with qz #597 2023-10-26 10:23:37 +02:00
Roberto Viola
b649e5e0f5 Sole F63 doesn't work with qz #597 2023-10-26 10:16:17 +02:00
Roberto Viola
da9c570029 Connectivity issue with Saris/ Cycleops Hammer trainer #1724 2023-10-26 09:43:05 +02:00
Roberto Viola
f79eae87a9 horizon treadmill with stryd 2023-10-25 14:46:34 +02:00
Roberto Viola
44beb23212 Connectivity issue with Saris/ Cycleops Hammer trainer #1724 2023-10-25 09:31:02 +02:00
Roberto Viola
ed35ece439 With Direct Connect, cadence value is not accurate on Zwift #1688 2023-10-25 09:23:53 +02:00
Roberto Viola
37b513904c Support for Domyos EL540 (Domyos-EL-1350) #1725 2023-10-25 08:23:52 +02:00
Roberto Viola
639397d594 version 2.16.20 2023-10-23 11:48:04 +02:00
Roberto Viola
de51899ca3 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-10-23 11:45:57 +02:00
Roberto Viola
ff40d68223 resistance not working on proform studio bike with companion #1690 2023-10-23 11:45:40 +02:00
Roberto Viola
1385ea8b88 Fixing Windows CI 2023-10-23 11:40:34 +02:00
Roberto Viola
13c88474c6 Win64 msvc2019 64 (#1467)
* first test

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* trying to fix build

* compiler dump

* Update metric.h

* minmax issue

* Revert "compiler dump"

This reverts commit 7a6917f872.

* Update qdomyos-zwift.pri

* Revert "Update qdomyos-zwift.pri"

This reverts commit 54715413f0.

* debug enabled

* Revert "debug enabled"

This reverts commit 25c16c94ca.

* msvc 2015

* Revert "msvc 2015"

This reverts commit cded1bfac2.

* msvc 2015

* Update main.yml

* Revert "Update main.yml"

This reverts commit 78d88cc15d.

* Revert "msvc 2015"

This reverts commit a6e5252a5a.

* runtime error fixed!

* adding back the rest of the CI  + qhttpserver build

* enable always the log to debug

* msvc library rebuilt

* Update main.yml

* Create ucrtbased.dll

* finalizing

* Update horizontreadmill.cpp

* Update horizontreadmill.cpp

* Update horizontreadmill.cpp

https://bugreports.qt.io/browse/QTBUG-78488

* Update horizontreadmill.cpp

* Windows QZ crashing upon startup (Issue #1670)

* trying to patch qt directly

* Speed and Incline not working on QZ Desktop app [BUG] #1675

* Revert "Speed and Incline not working on QZ Desktop app [BUG] #1675"

This reverts commit 9f0111e919.

* Update proformtreadmill.cpp

* Speed and Incline not working on QZ Desktop app [BUG] #1675
2023-10-23 10:49:36 +02:00
Roberto Viola
e55577d835 Colours for speed tile on Echelon Stride aren't correct? #1718 2023-10-23 10:37:56 +02:00
Roberto Viola
6409eab90c Fixing Windows CI 2023-10-23 09:32:02 +02:00
Roberto Viola
a314dfe325 Tacx Flux #1720 2023-10-23 08:27:11 +02:00
Roberto Viola
9b41e2494d Renpho AI bike lacking any change in resistance when inclination changes or when power-ups are used in Zwift (Issue #1712) 2023-10-21 14:22:10 +02:00
Roberto Viola
8672240d72 Advance setting Watt offset (Discussion #1714) 2023-10-19 08:30:24 +02:00
Roberto Viola
8e83967036 2.16.18 2023-10-18 13:53:59 +02:00
Roberto Viola
8d8b1c141a Garmin Cadence Sensor not sending data (Issue #1704) 2023-10-18 10:07:15 +02:00
Roberto Viola
64d40b5d79 Revert "Garmin Cadence Sensor not sending data (Issue #1704)"
This reverts commit 42c2c52eef.
2023-10-18 09:04:37 +02:00
Roberto Viola
91811b6b0e Revert "Garmin Cadence Sensor not sending data (Issue #1704)"
This reverts commit 67398fce4b.
2023-10-18 09:04:32 +02:00
Roberto Viola
3e4c898d9f Conversion gain setting and conversion offset setting do not work with Tacx Neo 2 and Peloton. + resistance crashes when adjusted manually #1707 2023-10-17 14:22:28 +02:00
Roberto Viola
67398fce4b Garmin Cadence Sensor not sending data (Issue #1704) 2023-10-17 11:34:14 +02:00
Roberto Viola
42c2c52eef Garmin Cadence Sensor not sending data (Issue #1704) 2023-10-17 09:53:08 +02:00
Roberto Viola
94cfede7ac Conversion gain setting and conversion offset setting do not work with Tacx Neo 2 and Peloton. + resistance crashes when adjusted manually #1707 2023-10-17 09:29:22 +02:00
Roberto Viola
e8e6068aa2 resistance not working on proform studio bike with companion #1690 2023-10-17 08:34:05 +02:00
Roberto Viola
056a903cf2 Tacx Neo power lag #1431 2023-10-16 09:18:38 +02:00
Roberto Viola
911e66041f Adidas Treadmill #1705 2023-10-16 09:05:24 +02:00
Roberto Viola
dbc3c2abf2 Rowing Concept2 Pm3, Pm4 (Bluetooth) (Issue #1486) 2023-10-14 07:43:00 +02:00
Roberto Viola
6f37799e56 Rowing Concept2 Pm3, Pm4 (Bluetooth) (Issue #1486) 2023-10-14 07:37:19 +02:00
Roberto Viola
00bfd0707c Adidas Treadmill #1705 2023-10-14 07:36:32 +02:00
Roberto Viola
6bc003db9b tdf4 change gears without manual workout #1697 2023-10-12 14:32:07 +02:00
Roberto Viola
7b1044a634 tdf4 change gears without manual workout #1697 2023-10-12 14:18:24 +02:00
Cameron Horton
3686b77405 ERG setting high resistance on Merach S09 (Issue #1683) (#1701) 2023-10-12 14:16:44 +02:00
Roberto Viola
ba3bb3b724 tdf4 change gears without manual workout #1697 2023-10-11 11:54:34 +02:00
Roberto Viola
495168c204 ERG setting high resistance on Merach S09 (Issue #1683) 2023-10-10 08:37:52 +02:00
Roberto Viola
8a9230942b Echelon EX3 resistance not adjusting during ERG Mode #1692 2023-10-09 14:41:15 +02:00
Roberto Viola
100eaccc99 Resistance preset for rowers 2023-10-07 17:45:38 +01:00
Roberto Viola
24c0df5075 fixing "holes" in apple health for cadence 2023-10-06 08:48:38 +02:00
Roberto Viola
9116a46b27 New Peloton Rower Paces #1611 2023-10-03 11:37:29 +02:00
Roberto Viola
64059f2db5 on proform RL with Holofit, strokes and hr reported but not pace or calories #1681 2023-10-02 11:53:47 +02:00
Roberto Viola
2e386ef2a1 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-10-02 09:31:53 +02:00
Roberto Viola
1ecee4cd3e Rowing With Zwift Avatar Keeps Moving When You Stop #1671 2023-10-02 09:31:42 +02:00
Roberto Viola
fd523000c0 on proform RL with Holofit, strokes and hr reported but not pace or calories #1681 2023-09-30 17:23:46 +02:00
Roberto Viola
47c272d3d0 on proform RL with Holofit, strokes and hr reported but not pace or calories #1681 2023-09-30 15:26:18 +02:00
Roberto Viola
4eec504016 Elite smart trainer #1682 2023-09-30 15:17:11 +02:00
Roberto Viola
da08e3335e Update main.yml 2023-09-30 12:36:10 +02:00
Roberto Viola
0100da67cf on proform RL with Holofit, strokes and hr reported but not pace or calories (Issue #1681) 2023-09-30 11:57:31 +02:00
Roberto Viola
12e03510f6 Update main.yml 2023-09-30 11:51:27 +02:00
Roberto Viola
c8a17ad70e Update main.yml 2023-09-29 13:49:45 +02:00
Roberto Viola
9748558f1b releases only on master 2023-09-29 13:37:28 +02:00
Roberto Viola
c807291389 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-09-29 13:18:06 +02:00
Roberto Viola
29c4e323b0 adding trial apk to releases 2023-09-29 13:17:57 +02:00
Roberto Viola
4b1408401f HR from Apple Watch to Windows build (#1677)
* let's try

* Update homeform.cpp
2023-09-29 13:04:26 +02:00
Roberto Viola
39e2ef50cb Proform Rower (Proform Sport RL) cannot change resistance from app #1643 2023-09-28 14:46:28 +02:00
Roberto Viola
880ac67fbc creating releases automatically 2023-09-28 10:15:34 +02:00
Roberto Viola
b21695bc14 Proform Rower (Proform Sport RL) cannot change resistance from app #1643 2023-09-28 09:52:10 +02:00
Roberto Viola
eab058f401 Proform Rower (Proform Sport RL) cannot change resistance from app #1643 2023-09-27 14:25:50 +02:00
Roberto Viola
58f62303be Proform CX Carbon: some resistance levels missing #1674 2023-09-27 14:21:20 +02:00
Roberto Viola
22f935c827 Proform Rower (Proform Sport RL) cannot change resistance from app (Issue #1643) 2023-09-27 11:44:04 +02:00
Roberto Viola
dce2ba7067 Proform Rower (Proform Sport RL) cannot change resistance from app (Issue #1643) 2023-09-26 17:55:36 +02:00
Roberto Viola
51665c76b4 Video Playback seem's to be broken with last iOS Build (Issue #1665) 2023-09-26 15:27:43 +02:00
Roberto Viola
a76cf602d6 Proform Rower (Proform Sport RL) cannot change resistance from app #1643 2023-09-26 11:12:02 +02:00
Roberto Viola
a3f6bb8d0c Proform CX Carbon: some resistance levels missing #1674 2023-09-26 10:55:33 +02:00
Roberto Viola
3f83e4a999 Walkingpad C2 #1672 2023-09-25 21:59:57 +02:00
Roberto Viola
14546d4ed3 Wahoo Blue SC without a heart rate monitor. #1651 2023-09-18 10:39:18 +02:00
Roberto Viola
1afff6a79d power zone max on the floating window 2023-09-18 08:26:40 +02:00
Roberto Viola
e95bf77c9d Yesoul C1H Resistance Value is jumping in iOS (Issue #1641) 2023-09-15 21:34:29 +02:00
Roberto Viola
76ebceccbc Add date tag to generic activities (Ride Row etc) #1648 2023-09-15 10:46:08 +02:00
Roberto Viola
f54b900c18 Holofit connection issue #1623 2023-09-15 06:44:57 +02:00
Roberto Viola
42e7749856 New Peloton Rower Paces (Issue #1611) 2023-09-14 20:54:20 +02:00
Roberto Viola
13fb8ae05a New Peloton Rower Paces (Issue #1611) 2023-09-14 10:47:27 +02:00
Roberto Viola
ee27386d11 HRM from Nordictrack ADB bikes (#1636) 2023-09-14 07:57:13 +02:00
Roberto Viola
5073ed766f Proform Rower (Proform Sport RL) cannot change resistance from app #1643 2023-09-13 13:57:58 +02:00
Roberto Viola
c571a98775 2.16.11 2023-09-12 15:59:21 +02:00
Roberto Viola
1e66fb10b9 QZ not working with Echelon Stride (Issue #1644) 2023-09-12 15:58:37 +02:00
Roberto Viola
c9bcfb201e Focus fitness fox 5 iplus (Issue #1642) 2023-09-12 14:26:00 +02:00
Roberto Viola
d701d01f13 2.16.10 2023-09-12 14:02:59 +02:00
Roberto Viola
f3ae244587 WearOS Companion App (#1635)
* receiving HR

* Update build.gradle

* Revert "Update build.gradle"

This reverts commit 6876191cbb.

* Revert "receiving HR"

This reverts commit a4f7acffa8.

* builds!

* wearable controller added

* is it required?

* Update build.gradle

* heart rate works!
2023-09-12 11:46:32 +02:00
Roberto Viola
755e98d49a HRM from Nordictrack ADB bikes (#1636) 2023-09-12 06:56:54 +02:00
Roberto Viola
006c365fee Yesoul C1H Resistance Value is jumping in iOS #1641 2023-09-11 17:17:44 +02:00
Roberto Viola
2d9110c251 HRM from Nordictrack ADB bikes (#1636)
* trying to get HRM

https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/59

* Update nordictrackifitadbbike.cpp
2023-09-11 14:30:25 +02:00
Roberto Viola
30e945f609 QZ PowerZone Real Time Chart Not working on QZ V2.16.8 for uBike FTMS [BUG] #1639 2023-09-11 08:21:37 +02:00
Roberto Viola
d3289fa5d1 2.16.8 2023-09-07 07:33:11 +02:00
Roberto Viola
1dd8846c2e Web Live Charts (#1637)
* starting

* Update dochartlivewatt.js

* Update dochartlivewatt.js

* Update dochartlivewatt.js

* adding to qml

* adding compatibility with windows

* Update Home.qml

* file names renamed

* working point!

* icon works too

* conditional qml is working on iOS

* responsive
2023-09-07 07:29:35 +02:00
Roberto Viola
9a3dc093a2 qtHttpServer Lib for Android CI (#1638)
* Update main.yml

* Update main.yml
2023-09-06 15:09:08 +02:00
Roberto Viola
5674c75f4f [WINDOWS] Incline and resistance not controlling s22i bike #1627 (#1629) 2023-09-02 03:08:38 +02:00
Roberto Viola
f97e11b1d2 [WINDOWS] Incline and resistance not controlling s22i bike #1627 (#1629) 2023-09-01 19:55:21 +02:00
Roberto Viola
68a5bf7f44 iOS17 cycling power,speed and cadence (#1515) 2023-09-01 13:33:19 +02:00
Roberto Viola
d644aa4523 saris M2 control resistance from qz #1634 2023-09-01 07:23:19 +02:00
Roberto Viola
d04a1a9f01 version 2.16.7 2023-09-01 06:28:09 +02:00
Roberto Viola
e907170ba2 Separate Gain & Offset tables for Bluetooth & ANT+ (Issue #1633) 2023-08-31 18:11:29 +02:00
Roberto Viola
8a55ac1088 fixing ios build 2023-08-31 14:42:18 +02:00
Roberto Viola
f83c7565cc version 2.16.6 2023-08-31 14:28:45 +02:00
Roberto Viola
7de500503e Separate Gain & Offset tables for Bluetooth & ANT+ (Issue #1633) 2023-08-31 14:27:11 +02:00
Roberto Viola
61b15254e1 qdebug from objective c is possible 2023-08-31 14:15:38 +02:00
Roberto Viola
2503835a59 saris m2 #1625 2023-08-30 16:28:39 +02:00
Roberto Viola
00ceee2ee0 Home trainee elite zumo no resistance #1626 2023-08-30 11:17:18 +02:00
Roberto Viola
c93cf781fb fixing build #1622 #1497 2023-08-30 09:19:31 +02:00
Roberto Viola
a17da417c2 some buggy TDF1 bikes send spurious wattage at the end with cadence = 0 2023-08-30 08:27:22 +02:00
Roberto Viola
306ce699d4 Custom made broadcoaster connected to Nordicktrack s15 bike not sending resistance to QZ [BUG] #1622 #1497 2023-08-30 08:10:41 +02:00
Roberto Viola
fbbd40a0f8 DKN Endurun Treadmill #492 2023-08-29 08:52:12 +02:00
Roberto Viola
5398b09643 Nordictrack Z1300i #1618 2023-08-23 12:22:22 +02:00
Roberto Viola
94046b18fe Nordictrack Z1300i #1618 2023-08-23 08:53:43 +02:00
Roberto Viola
4e9a03d931 Domyos Rower incorrect speed #1594 2023-08-22 09:11:29 +02:00
Roberto Viola
2392251992 Horizon Paragon X #637 2023-08-22 08:10:07 +02:00
Roberto Viola
973ff3a586 Horizon Paragon X #637 2023-08-21 10:04:08 +02:00
Roberto Viola
87e5a1905d version 2.16.2 2023-08-18 11:47:47 +02:00
Roberto Viola
f39ca765d8 Andorid App Connection Failing - NoblePro Elite E8i #1609 2023-08-18 11:37:58 +02:00
Roberto Viola
b33ce3233d Support for Flowfitness speedbike DSB600i (Iconsole+/FITHIWAY0038) #1610 2023-08-18 11:32:43 +02:00
Roberto Viola
4209f6f653 [BUG] - Andorid App Connection Failing - NoblePro Elite E8i #1609 2023-08-17 11:27:19 +02:00
Roberto Viola
7d36b4082b Runmaxx 9.1 Threadmill on Win 10 (Issue #1581) 2023-08-17 10:15:39 +02:00
Roberto Viola
a3015858f9 Runmaxx 9.1 Threadmill on Win 10 (Issue #1581) 2023-08-15 10:24:28 +02:00
Roberto Viola
12515752f6 Peloton Resistance green tolerance for echelon bikes #1608 2023-08-15 10:21:09 +02:00
Roberto Viola
9334c6b472 Heart rate drops to zero intermittently (Issue #1607) 2023-08-15 09:52:15 +02:00
Roberto Viola
884bea8352 BH Mycron T200 Treadmill #1606 2023-08-14 17:35:26 +02:00
Roberto Viola
8b4c579539 Renpho AI Bike new model #1605 2023-08-14 17:33:22 +02:00
Roberto Viola
c9f3a3a092 2.16 build 628 2023-08-12 10:43:12 +02:00
Roberto Viola
547bc8a5c9 HR on iPad issue #1529 2023-08-12 10:32:06 +02:00
Roberto Viola
9c600dbc00 fs5i nordick track more realistic ride when running with Rouvy or Zwift (Discussion #1345) 2023-08-12 09:16:13 +02:00
Roberto Viola
f29d9fd1e6 Update .gitignore 2023-08-11 09:13:41 +02:00
Roberto Viola
8d1e98e81f version 2.16.0 2023-08-11 09:10:32 +02:00
Roberto Viola
94ac9d1bdd Treadmill Peloton issue #1603 2023-08-11 09:08:50 +02:00
Roberto Viola
9e74918b65 Domyos Rower incorrect speed #1594 2023-08-08 15:22:09 +02:00
Roberto Viola
3be43c14e1 "Recovery" tag on PowerZone peloton workout #1596 2023-08-08 14:44:27 +02:00
Roberto Viola
e1b951e664 next row fixed for power zone 2023-08-07 17:34:59 +02:00
Roberto Viola
53126b16d3 Watts not matching on Sole E95 Elliptical (Issue #1595) 2023-08-07 17:33:14 +02:00
Roberto Viola
0fb8e12d31 Watts not matching on Sole E95 Elliptical (Issue #1595) 2023-08-07 15:16:59 +02:00
Roberto Viola
679300c930 version 2.15.4 2023-08-07 14:10:02 +02:00
Roberto Viola
4008d588d7 "Recovery" tag on PowerZone peloton workout #1596 2023-08-07 14:02:56 +02:00
Roberto Viola
fda528babc Domyos Rower incorrect speed #1594 2023-08-06 14:52:11 +02:00
Roberto Viola
0e9bac6168 Watts not matching on Sole E95 Elliptical #1595 2023-08-06 14:49:14 +02:00
Roberto Viola
f8c1330862 version 2.15.1 for iOS 2023-08-06 10:39:41 +02:00
Roberto Viola
8e81df67d0 HR on iPad issue #1529 2023-08-06 10:12:32 +02:00
Roberto Viola
1a3c13eac9 Domyos Rower incorrect speed #1594 2023-08-05 11:05:17 +02:00
Roberto Viola
15b16c7e5c Domyos Rower incorrect speed #1594 2023-08-05 10:00:35 +02:00
Roberto Viola
b5ceb0a0f1 Costaway folding treadmill #1350 2023-08-02 17:11:24 +02:00
Roberto Viola
00939c56dd Costaway folding treadmill #1350 2023-08-02 15:18:41 +02:00
Roberto Viola
5f1ebc439e ANT+ Running speed sensor #1586 (#1589)
* first version (not tested)

* Update ChannelService.java

* Update SDMChannelController.java

* Update SDMChannelController.java

* Update bluetooth.cpp
2023-08-01 23:15:44 +02:00
Roberto Viola
81db615692 Runmaxx 9.1 Threadmill on Win 10 (Issue #1581) 2023-08-01 13:53:02 +02:00
Roberto Viola
65d12f00f4 fixing crash on ios 12 or lower 2023-07-31 21:37:58 +02:00
Roberto Viola
adcb87b3c4 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-07-31 11:55:41 +02:00
Roberto Viola
90900b786a fs5i nordick track more realistic ride when running with Rouvy or Zwift #1345 2023-07-27 08:40:49 +02:00
Roberto Viola
b495e833bd Inxide XS08 #1583 2023-07-27 08:19:34 +02:00
Roberto Viola
fb01341dd1 Release Android for Fdroid (#1582)
* Update main.yml

* fixing build error

* Update main.yml
2023-07-25 22:43:50 +02:00
Roberto Viola
867143e43e android 2.14.1 2023-07-24 21:01:32 +02:00
Roberto Viola
b85d7d72f5 2023 Sole F80 integration #1576 2023-07-24 11:00:17 +02:00
Roberto Viola
32cb3b9e37 2023 Sole F80 integration #1576 2023-07-24 10:19:24 +02:00
Roberto Viola
3ff8938b41 datetime tile now follow the locale of the user's system 2023-07-24 09:26:31 +02:00
Roberto Viola
5156cb38f0 adding virtual peloton bike to nordictrackadbbike 2023-07-24 06:26:19 +02:00
Roberto Viola
dd4a5dbc54 fixing hr on ios on ftmsbike 2023-07-24 06:25:58 +02:00
Roberto Viola
cf37b8705e fixing hr on ios on ftmsbike 2023-07-21 20:28:16 +02:00
Roberto Viola
bc8302c761 adding virtual peloton bike to nordictrackadbbike 2023-07-21 09:06:38 +02:00
Roberto Viola
76ecf5c66e adding virtual peloton bike to nordictrackadbbike 2023-07-21 09:03:31 +02:00
Roberto Viola
3693c2d1b2 v 2.14.0 2023-07-20 23:25:46 +02:00
Roberto Viola
3905bd8ba7 fixed peloton xml path 2023-07-20 23:12:21 +02:00
Roberto Viola
92cac7485e HR on iPad issue #1529 2023-07-20 16:34:15 +02:00
Roberto Viola
458c44758e Android QT Jars patched (#1575)
* Add files via upload

* adding only bluetooth one
2023-07-20 11:45:30 +02:00
Roberto Viola
be12859343 No charts when using floating window #1565 2023-07-19 09:53:21 +02:00
Roberto Viola
d201919b55 HR on iPad issue #1529 2023-07-19 09:38:07 +02:00
Roberto Viola
138a42c2e6 fixing CI build 2023-07-18 16:29:08 +02:00
Roberto Viola
bbe69f3f60 fixing build error 2023-07-18 16:02:50 +02:00
Roberto Viola
b95b3a5018 adding gears to wahookickrsnapbike as did for tacxneo
b443b03d49
2023-07-18 15:54:48 +02:00
Roberto Viola
fb0cbb74a5 adding smtp server info on the bottom of the email 2023-07-18 14:28:54 +02:00
Roberto Viola
deed6019ab adding restore purchase button for iOS guidelines 2023-07-18 14:28:33 +02:00
Roberto Viola
7636f768f1 pro form tour de france no reading #1560 (#1566)
* init and update wrote. need to check the force resistance and inclination and read metrics

* finalizing
2023-07-17 15:54:27 +02:00
Roberto Viola
cdf8a95e30 PaddleOCR for Zwift Workout OCR on Windows #1511 2023-07-14 07:39:12 +02:00
Roberto Viola
13389afe77 PaddleOCR for Zwift Workout OCR on Windows #1511 2023-07-14 07:36:16 +02:00
Roberto Viola
8acfb6b764 PaddleOCR for Zwift Workout OCR on Windows #1511 2023-07-14 07:35:13 +02:00
Roberto Viola
4244ce79a0 Ability to play a video in sync with ZWO training file #1562 2023-07-13 20:48:35 +02:00
Roberto Viola
907e96330f version 2.13.97 2023-07-13 19:25:51 +02:00
Roberto Viola
35136be5b9 Ability to play a video in sync with ZWO training file #1562 2023-07-13 19:00:40 +02:00
Roberto Viola
6cd33f2ff9 Ability to play a video in sync with ZWO training file #1562 2023-07-13 17:21:40 +02:00
Roberto Viola
7e52925242 zwift settings visible only on PC 2023-07-13 16:31:57 +02:00
Roberto Viola
98971bf036 Domyos Treadmill Randomly Send Speed = 0 #1567 2023-07-13 16:28:33 +02:00
Roberto Viola
51e97321ac PaddleOCR for Zwift Workout OCR on Windows #1511 2023-07-13 14:22:02 +02:00
Roberto Viola
d959c0bea2 version 2.13.96 2023-07-13 13:26:56 +02:00
Roberto Viola
875f283984 Ability to play a video in sync with ZWO training file #1562 (#1563)
* to be tested

* it's working!
2023-07-12 23:13:48 +02:00
Roberto Viola
b4f378a8e9 PaddleOCR for Zwift Workout OCR on Windows #1511 2023-07-11 17:03:56 +02:00
Roberto Viola
22e50a7600 PaddleOCR for Zwift Workout OCR on Windows #1511 2023-07-11 13:52:02 +02:00
Roberto Viola
30f3b47a8c fs5i nordick track more realistic ride when running with Rouvy or Zwift #1345 gewahr started this conversation in General fs5i nordick track more realistic ride when running with Rouvy or Zwift #1345 2023-07-11 13:45:33 +02:00
Roberto Viola
103f1675e6 fixing CI android due to USB library (#1547)
* Update build.gradle

* Update main.yml

* Update build.gradle

* Revert "Update main.yml"

This reverts commit 5b232904b1.

* Revert "Update build.gradle"

This reverts commit e961bac22d.
2023-07-11 13:20:37 +02:00
Roberto Viola
db7bc008e4 Training programs UI improvement #1537 2023-07-11 10:52:08 +02:00
Roberto Viola
e634348d75 Life Fitness Elliptical #1554 2023-07-10 08:21:41 +02:00
Roberto Viola
8956957e4d Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-07-10 08:06:30 +02:00
Roberto Viola
f79b0074a8 version 2.13.95 2023-07-06 11:19:27 +02:00
Roberto Viola
34abdab013 Sync workout data from android to apple (issue #1551) (#1552)
* first test, doesn't work on android yet

* first test on android

* hr from apple watch to android!
2023-07-06 11:17:11 +02:00
Roberto Viola
b741378a0e qzlogo added as watermark to watt badge 2023-07-06 11:15:51 +02:00
Roberto Viola
5404a68689 version 2.13.94 2023-07-05 20:49:31 +02:00
Roberto Viola
73bc5691e8 Fixed Speed over ANT+: tested on garmin edge 530 #1550 2023-07-05 20:48:10 +02:00
Roberto Viola
de42318370 Fixed Speed over ANT+: tested on garmin edge 530 #1550 2023-07-05 20:31:14 +02:00
Roberto Viola
61acaf033a peloton resistance instead of resistance in the watt badge 2023-07-05 19:34:19 +02:00
Roberto Viola
cd2592b14e fixing miles on badge 2023-07-05 19:29:55 +02:00
Roberto Viola
b0ef38885b ANT+ not working (Issue #1548) 2023-07-05 11:55:08 +02:00
Roberto Viola
34a3e1067d version 2.13.92 2023-07-04 20:28:02 +02:00
Roberto Viola
b084afea11 fixing crash on echelon rower 2023-07-04 19:31:50 +02:00
Roberto Viola
46eb6b3776 ANT+ not working (Issue #1548) 2023-07-04 19:12:54 +02:00
Roberto Viola
23d646848e Watt badge by Email (#1545)
* I have to verifiy if the image works

* Update qml.qrc
2023-07-04 19:04:59 +02:00
Roberto Viola
e78d4565bc Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-07-04 16:15:53 +02:00
Roberto Viola
9540bff975 PaddleOCR for Zwift Workout OCR on Windows (#1511)
* Update qzsettings.h

* Create zwift-workout.py

* ready to test!

* Update main.yml

* Update windows_zwift_workout_paddleocr_thread.cpp

* disabling Npu

* Update zwift-workout.py

* Update zwift-incline.py

* preventing conficts in the settings
2023-07-04 15:38:33 +02:00
Roberto Viola
4d5db2e3b3 workoutNameBasedOnBluetoothDevice function added 2023-07-04 09:48:46 +02:00
Roberto Viola
20027b914e 2.13.91 2023-07-04 08:08:50 +02:00
Andrea Gelmini
5764efd487 Fix typos (#1542)
* Fix typos

* Fix typo

* Fix typo

* Fix typo

* Update strydrunpowersensor.cpp

---------

Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2023-07-04 07:59:11 +02:00
Roberto Viola
c427c72726 Amazon App Store 64 bit compatibility #1328 (#1544)
* trying renaming libs

https://stackoverflow.com/questions/49402451/gradle-task-to-rename-file

* Update main.yml

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update build.gradle

* fixing for merge it

* fixing!

* Update build.gradle
2023-07-04 07:58:02 +02:00
Roberto Viola
41be14bb8a target cadence added to the overridable metrics for peloton 2023-07-03 19:07:23 +02:00
Roberto Viola
2fcd6eb310 FTMS treadmill: pause handled 2023-07-03 14:51:29 +02:00
Roberto Viola
656d404582 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-07-01 22:02:26 +02:00
Roberto Viola
548bdeb5e4 Adding Pace to Virtual Rower #1540 2023-07-01 22:02:08 +02:00
Roberto Viola
eaa5fca1fe Create "Peloton-Like" Summary Page in addition to Charts (Issue #517) 2023-06-30 23:01:46 +02:00
Roberto Viola
c9778f918d Adding Pace to Virtual Rower #1540 2023-06-30 22:29:52 +02:00
Roberto Viola
de17acdfcf fixing chartjs image on iOS 2023-06-30 21:58:13 +02:00
Roberto Viola
3f16b7d146 version 2.13.87 2023-06-29 13:52:39 +02:00
Roberto Viola
881e6db650 Android Billing v5 requirements from 11/1/2023 #1512 2023-06-29 13:51:39 +02:00
Roberto Viola
d27bccaea5 Training programs UI improvement #1537 2023-06-29 09:02:09 +02:00
Roberto Viola
afde8ad8d5 Adding Pace to Virtual Rower #1540 2023-06-28 23:18:31 +02:00
Roberto Viola
d8d0613f6d Create "Peloton-Like" Summary Page in addition to Charts #517 (#1533)
* drafting

* creating summary

* i need to work to the image

* ready to test

* Update qml.qrc

* fixing

* preparing for release
2023-06-28 21:59:29 +02:00
Roberto Viola
e255267116 fixed speed over 12.7 on the ziprotreadmill 2023-06-28 21:30:06 +02:00
Roberto Viola
e7e79b1816 zip windows release to improve CI performance (#1539)
* zip windows release to improve CI performance

* Update main.yml
2023-06-28 14:19:12 +02:00
Roberto Viola
df09bd2a9c Windows CI with and without python (#1513)
* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml
2023-06-28 13:50:51 +02:00
Roberto Viola
7ae17516f1 Create CODE_OF_CONDUCT.md 2023-06-28 13:24:18 +02:00
Roberto Viola
4f53e28cc4 using QT cache for CI (#1538)
* Update main.yml

* Update main.yml
2023-06-28 12:21:26 +02:00
Roberto Viola
08c9869c84 VirtuFit Etappe 2.0i Spinbike ERG Table #1526 2023-06-27 22:43:08 +02:00
Roberto Viola
86bd39b370 BH NLS12 ELLIPTICAL #1393 2023-06-27 11:18:55 +02:00
Roberto Viola
1e68328c0f Training programs UI improvement #1537 2023-06-27 10:13:57 +02:00
Roberto Viola
81d8950bb6 VirtuFit Etappe 2.0i Spinbike ERG Table #1526 2023-06-27 08:56:24 +02:00
Andrea Gelmini
df109a620e Fix typos (#1536) 2023-06-26 11:28:24 +02:00
Roberto Viola
fdc3e4166a Nordic Track S22i 10x expected Watt [BUG] (Issue #1534) 2023-06-22 23:26:10 +02:00
Roberto Viola
144472c57f VirtuFit Etappe 2.0i Spinbike ERG Table #1526 2023-06-22 23:14:49 +02:00
Roberto Viola
d23b36f267 BH NLS12 ELLIPTICAL #1393 2023-06-22 10:08:00 +02:00
Roberto Viola
47ed429773 Wahoo Kickr Headwind #1281 2023-06-22 09:52:10 +02:00
Roberto Viola
f8a09dc301 iOS Crash when bluetooth thread is busy #1530 2023-06-22 09:50:24 +02:00
Roberto Viola
c1b6b0e175 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-22 09:46:30 +02:00
Roberto Viola
d2e007fb43 Auto-Resistance Adjustment for NordicTrack VR25 #1532 2023-06-22 08:25:10 +02:00
Roberto Viola
589dd85678 Auto-Resistance Adjustment for NordicTrack VR25 #1532 2023-06-21 16:09:24 +02:00
Roberto Viola
4f4c6cebf1 added the first draft of a ESP32 app 2023-06-21 11:21:45 +02:00
Roberto Viola
1688a571af android version 2.13.83 2023-06-20 09:32:58 +02:00
Roberto Viola
018f96d243 Pro-form SB - Model # PFEVEX72917S #1507 (#1514)
* init and write done, i don't see any resistance writing in the hci snoof

* Update proformbike.cpp
2023-06-20 09:31:21 +02:00
Roberto Viola
428d7fee83 A setting to allow QZ to read data as KM rather than Miles on Echelon Stride Treadmill (Issue #1528) 2023-06-19 22:16:32 +02:00
Roberto Viola
ffb09bf78d Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-19 22:06:42 +02:00
Roberto Viola
3a94929584 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-19 17:16:31 +02:00
Roberto Viola
fea04b29a4 v. 2.13.80 2023-06-16 10:15:44 +02:00
Roberto Viola
f7145710af VirtuFit Etappe 2.0i Spinbike ERG Table #1526 2023-06-16 09:31:13 +02:00
Roberto Viola
e3ef341e60 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-16 09:02:31 +02:00
Roberto Viola
b097e0898e Volume keys not working on android even if the volume gears setting is disabled #1524 (#1525)
* Update main.qml

* fixed!
2023-06-16 07:13:28 +02:00
Roberto Viola
8237c3c862 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-06-15 21:58:39 +02:00
Roberto Viola
6d6bad02db Peloton workout doesnt start on fake device #1522 2023-06-15 21:58:09 +02:00
Roberto Viola
9dd25f0d69 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-15 08:07:00 +02:00
Roberto Viola
c84e16aed9 build 590 2023-06-14 21:00:46 +02:00
Roberto Viola
f10e68f47b Peloton workout doesnt start on fake device #1522 2023-06-14 15:40:18 +02:00
Roberto Viola
07111d5a9e Support for Ultrasport F-Bike 400B #690 2023-06-14 14:06:31 +02:00
Roberto Viola
77a4d4224a NordicTrack X11i - watt value takes on huge value when incline level set to "-6%" #52
https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/52
2023-06-14 11:54:55 +02:00
Roberto Viola
bda145a29e Kickr Snap #585 2023-06-14 11:17:41 +02:00
Roberto Viola
54799c3519 Revert "Peloton Rowing with Concept 2 #1481"
This reverts commit 90469409b7.
2023-06-13 21:48:05 +02:00
Roberto Viola
1580471db8 Update csaferower.cpp 2023-06-12 13:19:52 +02:00
Roberto Viola
0b918f1b44 Rowing Concept2 Pm3, Pm4 (Bluetooth) (Issue #1486) 2023-06-12 13:08:30 +02:00
Roberto Viola
a13719b0a0 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-06-12 11:43:15 +02:00
Roberto Viola
90469409b7 Peloton Rowing with Concept 2 #1481 2023-06-12 11:43:02 +02:00
Roberto Viola
e3474fa844 Update CSafeRowerUSBHID.java 2023-06-11 16:30:26 +02:00
Roberto Viola
2da438778a Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-11 15:54:10 +02:00
Roberto Viola
2cf61c2ccf fitplusbike with and without response 2023-06-11 12:10:57 +02:00
Roberto Viola
6b8b1c2f68 fixing android build error 2023-06-10 20:41:31 +02:00
Roberto Viola
85b0bd5f74 Domyos EL500 elliptical Cadence settings (Issue #1519) 2023-06-10 20:31:42 +02:00
Roberto Viola
bf53671dc7 Rowing Concept2 Pm3, Pm4 (Bluetooth) (Issue #1486) 2023-06-10 20:27:08 +02:00
Roberto Viola
86f4bdddd7 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-09 10:27:38 +02:00
Roberto Viola
1096b08fdd Use Peloton workout name in fit file #1502 2023-06-09 09:37:11 +02:00
Roberto Viola
5d1b115645 Usbhid #1486 (#1510)
* Revert "fixing android build"

This reverts commit c44f576876.

* Revert "Rowing concept2 pm3, pm4 (bluetooth) #1486 (#1505)"

This reverts commit 71647a8406.

* usb hid first commit

* fixing android build

* Update CSafeRowerUSBHID.java
2023-06-08 11:11:01 +02:00
Roberto Viola
094c5a838d Use Peloton workout name in fit file #1502 2023-06-08 10:15:01 +02:00
Roberto Viola
2488cc8758 PaddleOCR for Zwift OCR on Windows (#1438)
* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* very raw implementation of the python script

https://github.com/victorypoint/iFit-Wolf3/blob/main/process-image.py

* Update windows_zwift_incline_paddleocr_thread.h

* fixing path

* use signal

* fixing lag on debug prints

* fixing chinese file url

* Update zwift-incline.py

* Update zwift-incline.py

* Update main.yml

* Update zwift-incline.py
2023-06-08 10:03:47 +02:00
Roberto Viola
8084b9f06b Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-07 21:42:14 +02:00
Roberto Viola
8b48707dfb Powerzone line and zones not showing #1509 2023-06-07 21:31:00 +02:00
Roberto Viola
0ad679e2f8 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-07 21:20:05 +02:00
Roberto Viola
33a1202f5f BH NLS12 ELLIPTICAL #1393 2023-06-06 16:20:29 +02:00
Roberto Viola
776aee4902 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-06-06 14:19:51 +02:00
Roberto Viola
c44f576876 fixing android build 2023-06-06 14:19:47 +02:00
Roberto Viola
a723dce8fc fixed simulator don't show up on xcode 2023-06-06 10:53:56 +02:00
Roberto Viola
7329389ffc 2.13.72 2023-06-06 09:17:02 +02:00
Roberto Viola
71647a8406 Rowing concept2 pm3, pm4 (bluetooth) #1486 (#1505)
* builds!

* Update Usbserial.java
2023-06-06 09:15:57 +02:00
Roberto Viola
669a99e6cd Peloton Rowing with Concept 2 #1481 2023-06-05 22:29:23 +02:00
Roberto Viola
49b0883e26 STOP , PAUSE , START buttons do not function on FTMS treadmill (Issue #1503) 2023-06-05 22:13:53 +02:00
Roberto Viola
ec13911855 Auto Sync Not Working On Google TV with IPAD ios #1441
https://github.com/cagnulein/qdomyos-zwift/issues/1441#issuecomment-1575613785
2023-06-05 09:01:47 +02:00
Roberto Viola
5b7422cff0 Use Peloton workout name in fit file #1502 2023-06-05 08:26:30 +02:00
Roberto Viola
ee7b1ca1d5 STOP , PAUSE , START buttons do not function on FTMS treadmill #1503 2023-06-05 08:17:32 +02:00
Roberto Viola
b588037651 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486
reverting and start a separate branch
2023-06-04 17:03:54 +02:00
Roberto Viola
5a19c314ba Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-04 16:56:41 +02:00
Roberto Viola
4e06af6200 Use Peloton workout name in fit file #1502 2023-06-04 16:47:12 +02:00
Roberto Viola
b6ffdb7145 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-06-04 16:35:32 +02:00
Roberto Viola
02c7c2ff2a Peloton Rowing with Concept 2 (Issue #1481) 2023-06-04 10:14:51 +02:00
Roberto Viola
6369194167 Peloton Rowing with Concept 2 #1481 2023-06-04 08:36:15 +02:00
Roberto Viola
fd8984f2ca 2.13.67 2023-06-03 16:16:46 +02:00
Roberto Viola
328b2cadc1 Peloton Rowing with Concept 2 #1481 2023-06-03 16:16:03 +02:00
Roberto Viola
8a9b5a3cc9 Peloton Rowing with Concept 2 (Issue #1481)
https://github.com/cagnulein/qdomyos-zwift/issues/1481#issuecomment-1574706758
2023-06-03 08:40:15 +02:00
Roberto Viola
46792b3c4f build 574 2023-06-03 07:20:37 +02:00
Roberto Viola
5662f90e31 2.13.66 2023-06-03 07:18:22 +02:00
Roberto Viola
81c94738b0 Use Peloton workout name in fit file #1502 2023-06-03 07:15:52 +02:00
Roberto Viola
b3874957ca Pro-form Sport RL rower Bluetooth Name I_RW Pace and Speed are incorrect #1498 2023-06-03 06:56:44 +02:00
Roberto Viola
7f16b04824 Peloton Rowing with Concept 2 (Issue #1481)
https://github.com/cagnulein/qdomyos-zwift/issues/1481#issuecomment-1574648781
2023-06-03 06:44:43 +02:00
Roberto Viola
a3af5be2ce Peloton Rowing with Concept 2 (Issue #1481)
https://github.com/cagnulein/qdomyos-zwift/issues/1481#issuecomment-1574354738
2023-06-03 06:00:05 +02:00
Roberto Viola
033ab6bd16 Echelon Row Sport Pace & Odometer Data Wrong #1500 2023-06-03 05:50:10 +02:00
Roberto Viola
38df1caf10 build 573 2023-06-02 17:58:51 +02:00
Roberto Viola
ef909a35df negative HR (Issue #1501) 2023-06-02 17:48:48 +02:00
Roberto Viola
65777dea2d Echelon Row Sport Pace & Odometer Data Wrong #1500 2023-06-02 17:46:11 +02:00
Roberto Viola
f2554ad454 Echelon Row Sport Pace & Odometer Data Wrong (Issue #1500) 2023-06-02 16:00:10 +02:00
Roberto Viola
56c04335ae Add FTMS device rower setting #1497 2023-06-02 12:13:42 +02:00
Roberto Viola
c5cf31b228 Peloton Rowing with Concept 2 (Issue #1481) 2023-06-02 07:26:14 +02:00
Roberto Viola
1b04588b4e Peloton Rowing with Concept 2 (Issue #1481) 2023-06-02 07:19:17 +02:00
Roberto Viola
c99c008b64 Peloton Rowing with Concept 2 (Issue #1481) 2023-06-02 07:16:33 +02:00
Roberto Viola
af2db915b4 Vision 600E Treadmill FTMS #1499 2023-06-02 07:06:10 +02:00
Roberto Viola
1c2a220ae4 SmartRow rower on iOS #1485 2023-06-02 07:01:37 +02:00
David Mason
77cb8439c0 Override keyword 1472 (#1475)
* #1472 make a lack of override keyword a compile error

* #1472 added override keyword as recommended by QtCreator

* #1472 deleting void Virtual* in prep for merge from master

* fix typo in the merge

---------

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
2023-06-01 16:46:14 +02:00
Roberto Viola
5f14e7aa22 SmartRow rower on iOS #1485 2023-06-01 16:32:16 +02:00
Roberto Viola
e0ab1edbb6 Peloton Rowing with Concept 2 (Issue #1481) 2023-06-01 15:23:46 +02:00
Roberto Viola
ff09896cf4 Octane Fitness Q37xi Support #1023 2023-06-01 15:02:47 +02:00
Roberto Viola
a9a118d03a 2.13.64 2023-06-01 09:07:02 +02:00
Roberto Viola
f3d6f13be9 Rower AVG pace #1158 2023-06-01 09:04:44 +02:00
Roberto Viola
f23ec88dfb Peloton Rowing with Concept 2 (Issue #1481)
colors!
2023-06-01 08:52:28 +02:00
Roberto Viola
9027eb961f Peloton Rowing with Concept 2 (Issue #1481) 2023-06-01 08:34:10 +02:00
Roberto Viola
6b637e1d92 Peloton Rowing with Concept 2 #1481 2023-05-31 17:55:20 +02:00
Roberto Viola
e96eceb271 Peloton Rowing with Concept 2 #1481 2023-05-31 09:56:00 +02:00
Roberto Viola
a77074a874 Rowing Concept2 Pm3, Pm4 (Bluetooth) #1486 2023-05-31 09:46:44 +02:00
Roberto Viola
1927ad9577 CSafe Rower (#1491)
* very basic csafe implementation

* trying to fix build

* fixing build

* Update csaferower.cpp

* Update csafe.h

* Update csafe.h

* Update csafe.cpp

* Revert "Update csafe.h"

This reverts commit 3af958da71.

* builds

* ready to merge!
2023-05-30 19:14:07 +02:00
Roberto Viola
f79fd80838 Peloton Rowing with Concept 2 #1481
target pace tile added
2023-05-30 11:46:07 +02:00
Roberto Viola
cfe05c76f4 BH NLS12 ELLIPTICAL #1393 2023-05-30 09:10:05 +02:00
Roberto Viola
4c8da03f19 Peloton Rowing with Concept 2 #1481 2023-05-30 08:45:13 +02:00
Roberto Viola
7abf133a61 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-05-29 08:29:09 +02:00
Roberto Viola
383ecc6381 version 2.13.59 2023-05-29 08:27:09 +02:00
Roberto Viola
dfd68c4445 Peloton Rower Pace (#1490)
* Update peloton.cpp

* added setting for the level and parsed

* handle target speed on trainprogram.cpp

* changespeed signal handled on the training program
2023-05-29 08:24:20 +02:00
Roberto Viola
cd689cb6fc Linux WebSockects in CI (#1489)
* Update main.yml

* Update main.yml
2023-05-28 19:21:49 +02:00
Roberto Viola
43094f41e2 Update ftmsrowertestdata.h 2023-05-28 06:40:51 +02:00
Roberto Viola
ad6d683b09 Concept 2 Rower #335 2023-05-28 06:08:58 +02:00
Roberto Viola
db5d177925 Concept 2 Rower #335 2023-05-27 21:12:16 +02:00
Roberto Viola
bfe6838acc replacing / with - in the xml training program file name 2023-05-27 18:45:25 +02:00
Roberto Viola
4a061acbfb peloton training program xml in the training folder with also the air date 2023-05-27 18:21:46 +02:00
Roberto Viola
5326089804 pm5 rower fix 2023-05-27 18:06:10 +02:00
Roberto Viola
42c6e35219 SmartRow rower on iOS #1485 2023-05-27 11:12:43 +02:00
Roberto Viola
a9f86f78b4 BH NLS12 ELLIPTICAL #1393 2023-05-27 08:27:19 +02:00
Roberto Viola
3ce7828c8f version 2.13.58 2023-05-27 08:00:05 +02:00
Roberto Viola
cb821f65b8 smartrow fix 2023-05-26 21:27:13 +02:00
Roberto Viola
cbc09609a0 adding request cadence to the rower charts 2023-05-26 08:00:58 +02:00
Roberto Viola
0f8ad887dd adding a separator for the auto saved training program 2023-05-25 16:44:57 +02:00
Roberto Viola
5d7f688321 version 2.13.57 2023-05-25 08:44:54 +02:00
Roberto Viola
b904af9335 Peloton Rowing with Concept 2 (Issue #1481) 2023-05-25 08:36:36 +02:00
Roberto Viola
030689217c save and send peloton xml training program by email 2023-05-25 08:36:11 +02:00
Roberto Viola
8f02feb172 bkoolbike added to ios 2023-05-25 08:13:16 +02:00
Roberto Viola
27ee8d99d8 Kickr Snap #585 2023-05-24 22:13:55 +02:00
Roberto Viola
4fcb13b11b fixing build error 2023-05-24 22:08:56 +02:00
Roberto Viola
13d488025f Bkool trainer #1483 2023-05-24 21:57:11 +02:00
Roberto Viola
c379985c68 Bkool trainer #1483 2023-05-24 10:08:34 +02:00
Roberto Viola
50e4ff371f Back to Back workouts without Restarting app cause NEGATIVE Calories #1480 2023-05-24 08:53:01 +02:00
Roberto Viola
01749bad6e Nautilus U618 [BUG] #1477 2023-05-24 08:24:47 +02:00
Roberto Viola
7ba1986929 BH Spada 2 bike (i.concept module) #486 2023-05-23 11:04:21 +02:00
David Mason
0a52f15406 Virtual device encapsulation #994 (#995)
* #887 converted a group of many fields of different subclasses of bluetoothdevice to use a single bluetoothdevice instance.
- This changes the behaviour. Previously multiple devices could be found and references stored, and the first in the order of ifs in device() used. Now the last one found is used and the others found are overwritten. This needs to be addressed.
- Still not making use of virtual destructors.

* #887 added virtualdevice abstract class and used it throughout

* #887 added the ability to hide the virtual device and still manage its deletion from the bluetoothdevice destructor, and used for the various cases where only 1 of multiple possible virtual devices are exposed via VirtualDevice().

* #887 fixes from merge

* #887 removed superfluous command

* #887 restored code deleted in merge

* typo fixed!

* Video again, just to show and see #838

* Video again, just to show and see #838

* Video again, just to show and see #838

* Video again, just to show and see (Issue #838)

* qz immediately crashes (Issue #929)

* faketreadmill HR fixed

* #927 route starting and stopping of bluetooth discovery through new functions startDiscovery() and stopDiscovery()

* #927 log a qDebug when stopDiscovery is called when the discovery agent is null

* #887 fixed merge conflict

* #997 fix merge conflict

* #997 fix merge conflict

* #887 fix merge problem

* #994 restored bluetooth class from master, and removed the deletion of the virtual devices

* #994 restored keepawakehelper.h includes for Android builds, but inside #ifdefs to avoid the little yellow "correction" flag (i.e. to remove it) from QtCreator.

* #994 restored unnecessarily adjusted white space

* #994 adjustments based on self review in the PR

* #994 adjusted header includes - put keepawakehelper in Android-only builds, and lockscreen.h in iOS only builds

* #994 removed some #includes repeated from the header

* #994 updated new device class to use inherited virtual device functionality

* #994 log deletion to qDebug

* #994 log deletion to qDebug

* #994 align qmdnsengine with master

* #994 fixed typo

* #994 fixed build errors

* #994 fix merge error

* #994 introduce VIRTUAL_DEVICE_MODE enum to say something about why the virtual device is exposed or not

* #994 updated some devices to use inherited virtual device management

* #994 reduction of diff with master

* #994 fixed typo in doc

* #994 reduction of diff with master

* #994 fix check for virtual device

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 reduction of diff with master

* #994 align submodule with master

* fixing build error

Signed-off-by: Roberto Viola <Cagnulein@gmail.com>

* #994 removed override keyword not required for this PR

* #994 removed deprecated comment

* fixing build on iOS

* from bluetoothdevice::VirtualDevice() always returning a virtualDevice pointer

Signed-off-by: Roberto Viola <Cagnulein@gmail.com>

* #994 updated some @brief comments to account for bluetoothdevice::VirtualDevice() now returning the virtual device regardless of virtual device mode.

* reverting merge error in proformrower.cpp

Signed-off-by: Roberto Viola <Cagnulein@gmail.com>

---------

Signed-off-by: Roberto Viola <Cagnulein@gmail.com>
Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2023-05-22 17:40:21 +02:00
Roberto Viola
abd2e76f4f WalkingPad X21 new version #1473 2023-05-22 14:06:23 +02:00
Roberto Viola
035d150c6d Update horizontreadmill.cpp 2023-05-21 13:26:21 +02:00
Roberto Viola
a29619feca fixing CI auth (#1474)
* Update main.yml

* Create http_parser.h

* Add files via upload

* Update main.yml
2023-05-21 11:27:22 +02:00
Roberto Viola
964be4b5d1 KETTLER TM support #1465 2023-05-21 07:18:37 +02:00
Roberto Viola
d01be6384d KETTLER TM support #1465 2023-05-20 19:00:35 +02:00
Roberto Viola
0845406940 Open WalkingPad X21 new version #1473 2023-05-20 15:54:06 +02:00
Roberto Viola
fd30c61124 KETTLER TM support #1465 2023-05-20 15:20:30 +02:00
Roberto Viola
a49b9b07ef new KinfSmith R2 treadmill ( KS-NACH-X21C ) 2023-05-20 15:10:36 +02:00
Roberto Viola
af91761a23 KETTLER TM support (#1470) 2023-05-20 12:07:16 +02:00
Roberto Viola
32af96b05b Zero ZT-2500 treadmill #1471 2023-05-20 07:29:29 +02:00
Roberto Viola
658006a12a Assault Air Runner Treadmill #1446 2023-05-19 19:36:26 +02:00
Roberto Viola
4451680cea fixing test cases for Sole treadmills 2023-05-19 12:07:50 +02:00
Roberto Viola
beaab12894 fixing floating issue with the null values 2023-05-18 17:25:26 +02:00
Roberto Viola
cc74ef6fe4 fixing overflow on kettler treadmill #1465 2023-05-18 16:06:37 +02:00
Roberto Viola
958487b0e5 Sole F85 help #1468 2023-05-18 15:33:10 +02:00
Roberto Viola
68d191d581 Open Floating on a Browser button added 2023-05-18 14:37:32 +02:00
Roberto Viola
aca68b2a10 KETTLER TM support (#1470)
* preparing the modification

* Update horizontreadmill.cpp
2023-05-18 14:06:16 +02:00
Roberto Viola
c3f013a69a add/allow minimum resistance for classic peloton workouts #1469 2023-05-17 10:00:52 +02:00
Roberto Viola
c2dc509c97 KETTLER TM support #1465 2023-05-17 09:47:08 +02:00
Roberto Viola
520726f989 Support for Ultrasport F-Bike 400B #690 2023-05-16 22:03:04 +02:00
Roberto Viola
04c7837e35 Kickr Snap #585 2023-05-16 16:07:58 +02:00
Roberto Viola
e1b097837b Proform 8 speed and inclination force #1454 2023-05-15 09:03:20 +02:00
Roberto Viola
b443b03d49 Tacx Flow requests #1460 2023-05-14 09:15:00 +02:00
Roberto Viola
c8cf9367db Auto Sync Not Working On Google TV with IPAD ios #1441 2023-05-13 14:52:21 +02:00
Roberto Viola
1a7c0be896 Reduce Incline not working on Horizon 7.0AT (01) #1458 2023-05-12 15:10:12 +02:00
Roberto Viola
bb219fdf9a fix build 2023-05-12 06:27:32 +02:00
Roberto Viola
d446186082 Reduce Incline not working on Horizon 7.0AT (01) #1458 2023-05-12 06:26:03 +02:00
Roberto Viola
1bc00b4f9d background and shadow color customization
Top bar custom color modification
#1420
2023-05-10 13:47:02 +02:00
Roberto Viola
28db6a7f70 Option for voice announcement of treadmill speed changes #1453 2023-05-09 10:06:50 +02:00
Roberto Viola
a1ad083422 Horizon Paragon X #637 2023-05-09 09:25:25 +02:00
Roberto Viola
0132a3f38d BH NLS12 ELLIPTICAL #1393 2023-05-08 14:36:09 +02:00
Roberto Viola
1a6a06ead4 version 2.13.41 2023-05-07 20:11:15 +02:00
Roberto Viola
f34f373687 BH Spada 2 bike (i.concept module) #486 2023-05-05 11:05:37 +02:00
Roberto Viola
95327f6c1a Update domyoselliptical.cpp (#1444) 2023-05-03 21:38:54 +02:00
Roberto Viola
93e60262d6 Assault Air Runner Treadmill #1446 2023-05-02 17:17:32 +02:00
Roberto Viola
992ae1c88c arranging metrics in floating window - Android qz #1131 2023-05-02 16:59:13 +02:00
Roberto Viola
5754e800d2 Xiaomi Walkingpad R2 Pro #1447 2023-04-30 20:07:30 +02:00
Roberto Viola
ee9491d5f6 Assault Air Runner Treadmill #1446 2023-04-30 19:56:52 +02:00
Roberto Viola
789c911966 Yesoul S3 FTMS #1445 2023-04-30 19:16:30 +02:00
Roberto Viola
d95c6f86c7 arranging metrics in floating window - Android qz (Issue #1131) 2023-04-28 13:44:23 +02:00
Roberto Viola
4d7da98c7a Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-04-28 13:10:20 +02:00
Roberto Viola
193518c1c1 2.13.38 543 2023-04-28 13:10:17 +02:00
Roberto Viola
32aafc3d00 Connect with strava button (#1439)
* peloton bike communicate with QZ AI Companion

* image added

* Update main.qml
2023-04-28 09:52:43 +02:00
Roberto Viola
1ffd44ae91 peloton bike communicate with QZ AI Companion 2023-04-28 09:00:34 +02:00
Roberto Viola
d3c8441717 BH Spada 2 bike (i.concept module) #486 2023-04-27 16:53:37 +02:00
Roberto Viola
ca8638abe0 UI theme (#1435)
* UI theme first commit

* status bar default color is not working yet

* all the new 3 settings are working!

---------

Co-authored-by: Roberto Viola <roberto.viola@systemceramics.com>
2023-04-27 12:20:51 +02:00
Roberto Viola
514ac12484 Horizon Paragon X #637 2023-04-27 09:27:10 +02:00
Roberto Viola
db5c4cc73e Disabling auto resistance does not work #1430 2023-04-26 14:29:29 +02:00
Roberto Viola
58f2934bb8 BH NLS12 Elliptical (#1408) 2023-04-26 14:25:48 +02:00
Roberto Viola
6c677a3a2b 2.13.37 build 542 2023-04-26 11:54:58 +02:00
Roberto Viola
2b4d04acc0 BH NLS12 Elliptical (#1408) #486 2023-04-26 11:54:08 +02:00
Roberto Viola
3841918383 Revert "BH Spada 2 bike (i.concept module) #486"
This reverts commit 95cb85fd88.
2023-04-26 11:51:13 +02:00
Roberto Viola
d843d09829 Nexgim QB-C01 smart bike #1433 2023-04-24 17:57:56 +02:00
Roberto Viola
c1bceca06f Disabling auto resistance does not work #1430 2023-04-24 15:23:39 +02:00
Roberto Viola
ec7782b86f Ypoo elliptical trainer U3 cross trainer #1412 (PR #1417) 2023-04-24 15:19:44 +02:00
Roberto Viola
ae6505bdb4 android version 2.13.35 2023-04-21 20:51:38 +02:00
Roberto Viola
3690120207 Sportplus SP-HT-1200 B IE #1429 2023-04-21 20:18:33 +02:00
Roberto Viola
dfe8c59a91 Update ftmsbiketestdata.h 2023-04-21 14:15:38 +02:00
Roberto Viola
e25abb0317 Update ftmsbiketestdata.h 2023-04-21 12:34:16 +02:00
Roberto Viola
4dd02ad1b6 Update ftmsbiketestdata.h 2023-04-21 12:04:46 +02:00
Roberto Viola
ef715f002b ios build 539 2023-04-21 11:32:17 +02:00
Roberto Viola
f02c2d4293 Diamondback 1260Sc Bike #1428 2023-04-21 11:29:07 +02:00
Roberto Viola
9a4baffe81 Stroke Rate with WaterRower COM Module doesn't decrease when I stop rowing. #1424 2023-04-21 10:18:16 +02:00
Roberto Viola
dd7e1b3861 android version 2.13.34 2023-04-20 15:21:50 +02:00
Roberto Viola
7cffb2c51e Ypoo elliptical trainer U3 cross trainer #1412 (#1417)
* init and write resistance done

* cross trainer data used, need to check with these frames

Value: 9e0000000040021800000000100014006e00

Value: 002f00000000000b000000000000000f00

* i guess I finished

* Update devices.h

* Update ypooellipticaltestdata.h
2023-04-20 14:47:01 +02:00
Roberto Viola
d6e5accc84 fixed popup on floating window 2023-04-19 16:46:20 +02:00
Roberto Viola
900a7f2d94 Conversion gain setting and conversion offset setting do not work with Tacx Neo 2 and Peloton. #1418 2023-04-19 10:47:56 +02:00
Roberto Viola
dd6e0068ee Qthttpserver for windows #1308 (#1309) 2023-04-18 21:13:07 +02:00
Roberto Viola
fd9c3f414b closing the popup on the floating if the user press the popup on the main screen 2023-04-18 17:35:10 +02:00
Roberto Viola
dd692b5b04 Peloton workout doesn't follow #1419 2023-04-18 08:54:34 +02:00
Roberto Viola
1f83bc94f2 closing the popup on the floating if the user press the popup on the main screen 2023-04-18 07:15:53 +02:00
Roberto Viola
c7386511ea bodytone zro-t4 treadmill #1416 2023-04-17 17:37:36 +02:00
Bepo7012
446c6ee027 Inclination improvement for Videos (#1415)
* Test Videos with higher fps Rates

* Set the speed limit higher, no longer a Problem

* iOS project updated

* Inclination Filter and Pause Video implemented

* Update qmdnsengine

* Revert "Update qmdnsengine"

This reverts commit 779bc6e4d0.

* Changes requested

* Fixed power selection for fakebike

* fakebike reverted, fixed bug in trainprogram speed limit

* Revert "Update qmdnsengine"

This reverts commit 779bc6e4d0.

* Video rec. factor included in max. Replay Rate

---------

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
2023-04-17 17:15:17 +02:00
Roberto Viola
e85a6bc090 bodytone zro-t4 treadmill #1416 2023-04-17 17:10:25 +02:00
Roberto Viola
2a84b6075e bodytone zro-t4 treadmill #1416 2023-04-17 16:01:45 +02:00
Roberto Viola
1ff6295aae Inclination improvement for Videos (PR #1415) 2023-04-16 16:01:58 +02:00
Roberto Viola
70913cd7af label for the garmin companion in the settings 2023-04-14 08:33:20 +02:00
Roberto Viola
3576eff46e build 536 2023-04-13 19:49:17 +02:00
Roberto Viola
49984654ea peloton floating url available always even if the train program is not ready 2023-04-13 19:41:55 +02:00
Roberto Viola
c7f17cd749 BH NLS12 Elliptical (#1408)
* init done

* first phase

* test cases added

* fixing linker error

* Update iconceptellipticaltestdata.h

* test updated
2023-04-13 11:51:27 +02:00
Roberto Viola
20af8dcfed Wahoo Kickr Headwind #1281 2023-04-13 08:55:19 +02:00
Roberto Viola
1f113b0164 ios build CI (#1394) 2023-04-12 22:36:42 +02:00
Roberto Viola
11d0a33374 Kickr Snap #585 2023-04-12 11:31:07 +02:00
Roberto Viola
e371d13f0f trying to fix cadence (#1406) 2023-04-11 11:39:27 +02:00
Roberto Viola
f5d201aed1 floating window on ios works to qz ai companion app 2023-04-10 18:16:51 +02:00
Roberto Viola
d561dfa318 adding new case for the peloton ocr and toast messages 2023-04-10 11:35:27 +02:00
Roberto Viola
ef095dc9f1 ZWO Running distance file #1403 2023-04-09 08:46:17 +02:00
Roberto Viola
0db053b60a garmin running cadence fixed 2023-04-07 15:19:11 +02:00
Roberto Viola
2eeba4f9a6 adding cadenceFromAppleWatch to echelonstride 2023-04-07 13:42:58 +02:00
Roberto Viola
f4ccbfb33f QZ Peloton Auto Sync through an external device (#1400)
* it works, most of

* floating url added

* settings added!

* Update qmdnsengine

* preparing for release

* keeping the same logic between android ocr and companion ocr
2023-04-07 13:32:10 +02:00
Roberto Viola
32b9c2810f Update treadmill.cpp 2023-04-06 21:55:26 +02:00
Roberto Viola
7abc3834aa fixing android build 2023-04-06 21:53:56 +02:00
Roberto Viola
51cf710b08 foot cadence from Garmin Companion 2023-04-06 21:42:52 +02:00
Roberto Viola
34ae065c2c compatibilty with Garmin Companion 1.1.0 2023-04-06 11:24:51 +02:00
Roberto Viola
cbf0b178d6 Zwift OCR for Auto incline on freerun (PR #1369) 2023-04-06 10:01:57 +02:00
Roberto Viola
229b6a8e30 ios build fixed 2023-04-05 13:23:51 +02:00
Roberto Viola
02cc189d72 version 2.13.26 2023-04-05 08:44:42 +02:00
Roberto Viola
af9d1d97a8 Nautilus B616 connects but shows 0 for all stats #1383 2023-04-05 08:43:29 +02:00
Roberto Viola
20b3263a5b Garmin ConnectIQ Companion App (#1330)
* library added to the iOS project

* iOS build on CI

* adding app_delegate

* fixing typo

* Update main.yml

* Update main.yml

* fixing build error

* app on ios builds!

* handleURL works!

* connect to device but doesn't receive msgs

* android sdk works!

* HR receveid!

* getHR added to android

* should be everything for android

* fixing ios build

* fixing new xcode errors

* hr read from ios too!

* ios startup cleaned

* full chain on ios works!

* removing ant heart and apple watch hr from device files

* update_hr_from_external added

* fixing hr for 2 devices

* garmin hr fixed on android

* removing the ios CI

* Update fakebike.cpp

* Update lockscreen.h

* Update proformwifibike.cpp
2023-04-05 08:20:06 +02:00
Roberto Viola
f712b7bb92 Provide Increment/Decrement preferences for Speed/Incline #618 2023-04-03 19:04:28 +02:00
Roberto Viola
38b69c20e1 proformwifibike: turned on inclinationAvailableByHardware 2023-04-03 14:36:25 +02:00
Roberto Viola
5f99c1dd22 Heart Rate Monitor (Wahoo tick) going On and Off intermittently, only when in Domyos Elliptical bike setup. #1392 2023-04-03 09:49:08 +02:00
David Mason
a715849756 #1221 added test that bluetooth class performs action to activate template managers after detecting a device (#1223)
* #1221 decoupled template managers from class bluetooth and added tests

* #1221 renamed function

* #1221 updated comments

* #1221 adjusted for enhanced messages of #1287

* #1221 fixed merge error

* #1221 fix build error post-merge

* fix ios build

---------

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
2023-04-03 09:33:35 +02:00
Roberto Viola
16b62d8752 Allow the resitance knob on echelon bikes to be used to switch gears (Issue #1299) 2023-04-03 09:28:58 +02:00
Roberto Viola
b68c166b01 disabled auto start of the tap for activiotreadmill.cpp 2023-04-02 18:39:50 +02:00
Roberto Viola
c6aaaa6944 android version 2.13.25 2023-04-02 05:19:30 +02:00
Roberto Viola
625e8c91eb Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-04-01 17:53:02 +02:00
Roberto Viola
4d81a51442 adding external power sensor on proformwifibikes 2023-04-01 17:52:55 +02:00
Roberto Viola
bbe3b4e369 ios android fixed 2023-04-01 12:20:55 +02:00
Roberto Viola
e94e030a00 adding toast from C++ 2023-04-01 09:30:23 +02:00
Roberto Viola
c9f8076a5e Nautilus B616 connects but shows 0 for all stats #1383 2023-04-01 08:53:37 +02:00
Roberto Viola
dbc1e43c2b iOS build fixed 2023-04-01 08:43:04 +02:00
Roberto Viola
b4ea2cd1c5 Zwift OCR for Auto incline on freerun #1369 2023-03-31 16:20:31 +02:00
Roberto Viola
e2d0c9284a Back character missing from title bar #1163 2023-03-31 14:16:01 +02:00
Roberto Viola
66bedca4a4 double back to close android app, ask before closing #1386 2023-03-31 12:20:35 +02:00
Roberto Viola
5a10627594 Confirmation on OK on the settings page #417 2023-03-31 11:52:55 +02:00
Roberto Viola
7465f71c74 Toast manager added
thanks to https://gist.github.com/jonmcclung/bae669101d17b103e94790341301c129
2023-03-31 10:50:54 +02:00
Roberto Viola
8c58f03d82 version 2.13.23 2023-03-31 10:09:02 +02:00
Roberto Viola
e199ea3fc6 Settings / auto restart #1114 2023-03-31 10:06:57 +02:00
Roberto Viola
bbd37dc36c Zwift OCR for Auto incline on freerun #1369 2023-03-30 17:30:15 +02:00
Roberto Viola
48646ec3bb Bowflex T128 #1385 2023-03-30 10:45:24 +02:00
Roberto Viola
dca0b1b917 iOS version 2.13.22 2023-03-30 07:08:57 +02:00
Roberto Viola
db78365ffd Nautilus B616 connects but shows 0 for all stats #1383 2023-03-30 06:54:01 +02:00
Roberto Viola
1325b1cd29 Add support for hometrainer Skandika X-2000 #1364 2023-03-29 16:32:37 +02:00
Roberto Viola
43780a076f Zwift OCR for Auto incline on freerun #1369 2023-03-29 08:55:54 +02:00
Roberto Viola
a374ebcf6e Schwinn 170 not connecting in QZ #1365 2023-03-29 08:45:53 +02:00
Roberto Viola
7ab1eac7fe Schwinn 170 not connecting in QZ #1365 2023-03-28 15:33:00 +02:00
Roberto Viola
d378ab23ea Schwinn 170 not connecting in QZ #1365 2023-03-28 14:29:09 +02:00
Roberto Viola
4c3566a156 added an option to simulate incline with an increment of speed
for all the treadmills
2023-03-27 16:45:18 +02:00
Roberto Viola
51fb564640 added an option to simulate incline with an increment of speed 2023-03-27 15:11:34 +02:00
Roberto Viola
ef40f29597 Floating Window: start button and disabling auto resistance #1134 2023-03-27 14:57:08 +02:00
Roberto Viola
34db47f611 qz crashes with Rouvy #1282 2023-03-27 12:16:45 +02:00
Roberto Viola
100d0b3f58 Add support for hometrainer Skandika X-2000 #1364 2023-03-27 11:32:35 +02:00
Takiora
2a4b58634b Fixing Resistance nordictrackelliptical.cpp (#1375) 2023-03-24 14:46:14 +01:00
Roberto Viola
95cb85fd88 BH Spada 2 bike (i.concept module) #486 2023-03-24 14:36:16 +01:00
Roberto Viola
ff1abb2b9f Zwift OCR for Auto incline on freerun (#1369) 2023-03-23 19:44:02 +01:00
Roberto Viola
aa22225e5e Zwift OCR for Auto incline on freerun (#1369) 2023-03-23 17:04:45 +01:00
Roberto Viola
b6b5d8ecba GEM module inclination added 2023-03-23 15:48:14 +01:00
Roberto Viola
e9be1d8fb2 BH Spada 2 bike (i.concept module) #486 2023-03-22 14:17:07 +01:00
Roberto Viola
5bfa0b3312 Auto-resistance not working properly with tacx neo 2 and peleton app (Issue #1370) 2023-03-22 12:56:14 +01:00
Roberto Viola
7fd491e005 android version 2.13.17 2023-03-22 12:11:26 +01:00
Roberto Viola
0717799d15 Floating Window: start button and disabling auto resistance #1134 2023-03-22 11:08:25 +01:00
Roberto Viola
2c34d9001b added some note on the zwift ocr setting 2023-03-22 11:03:11 +01:00
Roberto Viola
61498cb6ef Zwift OCR for Auto incline on freerun (#1369)
* testing and output

* getting ready to get the inclination

* Update trainprogram.cpp

* Update trainprogram.cpp

* Update ScreenCaptureService.java

* it's working!

* fixing resolution!
2023-03-22 10:25:56 +01:00
Roberto Viola
95ec82b641 Save FIT file when the app is closing (#1346)
* Update homeform.cpp

* -fit-file-saved-on-quit added

* debug log added

* Update qzsettings.cpp

* Update main.cpp
2023-03-21 16:56:12 +01:00
Roberto Viola
c6a34c59d3 BH Spada 2 bike (i.concept module) #486 2023-03-21 08:21:31 +01:00
Roberto Viola
c9d243ab18 QZ won't connect to Norditrack C1750 #1373 2023-03-20 17:28:06 +01:00
Roberto Viola
172440872a n Support for Sole Fitness F85 >2019 treadmill #1243 2023-03-20 16:15:28 +01:00
Roberto Viola
7ccbc07808 fixing android build 2023-03-20 11:18:58 +01:00
Roberto Viola
e02fb8e1c5 Stride in metric when other measures are imperial #1372 2023-03-20 11:17:10 +01:00
Roberto Viola
17b54a1963 Auto-resistance not working properly with tacx neo 2 and peleton app #1370 2023-03-20 10:50:52 +01:00
Roberto Viola
5e7b208c92 BH Spada 2 bike (i.concept module) #486 2023-03-20 10:26:05 +01:00
Roberto Viola
78a652a512 NPE RUNN Inclination Override Not Working #1352 2023-03-19 16:34:49 +01:00
Roberto Viola
9a49ef1e7f BH Spada 2 bike (i.concept module) #486 2023-03-19 16:22:24 +01:00
Roberto Viola
39f92a429a QZCompanion and Wahoo Direct Connect no-gui #1332 2023-03-19 07:46:32 +01:00
Roberto Viola
a70c79f144 WaterRower S4 ComModule #1366 2023-03-17 08:38:20 +01:00
Roberto Viola
278e209670 version 2.13.13 2023-03-16 16:43:48 +01:00
Roberto Viola
9fefde58ac Add support for hometrainer Skandika X-2000 #1364 2023-03-16 16:24:11 +01:00
Roberto Viola
7f26e63cd6 Add support for hometrainer Skandika X-2000 #1364 2023-03-16 15:39:01 +01:00
Roberto Viola
54beb7cc4e fix build error 2023-03-16 08:53:06 +01:00
Roberto Viola
35d7e54871 Open Resistance dropping or going higher when using QZ + Zwift/Rouvy[BUG] #1356 #1299 2023-03-16 08:23:14 +01:00
Roberto Viola
5eb9de8c9b NPE RUNN Inclination Override Not Working #1352 2023-03-16 08:07:35 +01:00
Roberto Viola
0f703cd836 Costaway folding treadmill #1350 (#1355)
* Costaway folding treadmill #1350

first implementation, not finished yet

* Update eslinkertreadmill.cpp
2023-03-15 08:55:00 +01:00
Roberto Viola
9157e39ebd fixing treadmillInclinationOverride 2023-03-14 21:16:16 +01:00
Roberto Viola
e9c76bde99 version 2.13.12 2023-03-14 20:37:42 +01:00
Roberto Viola
1398cb26fb fixing treadmillInclinationOverride 2023-03-14 20:34:55 +01:00
Roberto Viola
35a986fdd0 fixing virtual bike device for strydrunpowersensor 2023-03-14 20:22:03 +01:00
Roberto Viola
3f8aa376a6 version 2.13.11 2023-03-14 10:42:55 +01:00
Roberto Viola
21a3ae6816 Paragon X #1359 2023-03-14 10:42:10 +01:00
Roberto Viola
3da7ac198a Proform Pro22 add #1341 2023-03-14 05:47:27 +01:00
Roberto Viola
36aed6c326 setting tips fonts increased 2023-03-13 08:30:14 +01:00
Roberto Viola
2a02eec288 NPE RUNN Inclination Override Not Working #1352 2023-03-13 08:09:28 +01:00
Roberto Viola
0ca1a8caad Support for ZIPRO Notus (Issue #1344) 2023-03-11 08:00:39 +01:00
Roberto Viola
13ea251697 adding virtual bike to stryd (rouvy abandoned treadmill thing so users want to play with rouvy bike format) 2023-03-11 07:55:13 +01:00
Roberto Viola
9c0757986f WalkingPad #1348 2023-03-10 13:41:33 +01:00
Roberto Viola
81028fc111 iOS version 2.13.7 514 2023-03-10 09:47:51 +01:00
Roberto Viola
1999bbaee0 Support for ZIPRO Notus (Issue #1344) 2023-03-10 09:19:56 +01:00
Roberto Viola
12ad01ddde power calculation for footpods 2023-03-10 09:09:58 +01:00
Roberto Viola
8b79b85f8c Support for ZIPRO Notus (Issue #1344) 2023-03-09 16:09:52 +01:00
Roberto Viola
3e900c1a55 Broadcast cadence & speed to Garmin watch #1316
send power and cadence to garmin device also on android (not tested)
2023-03-09 10:17:43 +01:00
Roberto Viola
5f22107085 Open Support for ZIPRO Notus #1344 2023-03-09 10:04:57 +01:00
Roberto Viola
6354d20bc4 Open Support for ZIPRO Notus #1344
HR added!
2023-03-09 09:54:10 +01:00
Roberto Viola
d1aeb30abb PID not showing right number according to training program (Issue #1234) 2023-03-09 09:48:54 +01:00
Roberto Viola
e2592896c6 Broadcast cadence & speed to Garmin watch #1316 2023-03-09 08:54:19 +01:00
Roberto Viola
d4305fa93a align swift virtual bike from Garmin power sensor over bluetooth #1347 2023-03-09 06:41:32 +01:00
Roberto Viola
cc0051f7c3 it works! 2023-03-09 06:31:54 +01:00
Roberto Viola
56962545d8 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-03-08 14:31:08 +01:00
Roberto Viola
7b128d2a8a iOS 2.13.6 2023-03-08 14:30:51 +01:00
Roberto Viola
a228f55a9a Please add total output & time to next as a metric available in the floater window #1321 2023-03-08 14:15:25 +01:00
Roberto Viola
9ec12d5733 Support for ZIPRO Notus #1344 2023-03-08 10:22:23 +01:00
Roberto Viola
f460a9770a Support for ZIPRO Notus #1344 2023-03-08 09:44:35 +01:00
Roberto Viola
49bbbddbe2 PID not showing right number according to training program #1234 2023-03-08 08:29:45 +01:00
Roberto Viola
f1b7daf34b Some tiles data missing from floating window #1247 2023-03-07 10:15:31 +01:00
Roberto Viola
e78434fbb3 Add Google Maps Display when "travelling" imported GPX Files #455
https://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1456871560
2023-03-07 10:04:18 +01:00
Roberto Viola
397dcc7db8 fix typo 2023-03-07 09:24:08 +01:00
Roberto Viola
c2b0ebb882 Solution to get Octane Zero Runner ZR8 Elliptical working with Zwift #1338 2023-03-07 09:01:16 +01:00
Roberto Viola
68a8169e0b 2.13.4 on iOS 2023-03-06 16:45:48 +01:00
Roberto Viola
5611be511f 2.13.5 2023-03-06 12:26:40 +01:00
Roberto Viola
427b63b113 Some tiles data missing from floating window #1247 2023-03-06 12:12:58 +01:00
Roberto Viola
716a256cf4 Some tiles data missing from floating window #12 2023-03-06 12:02:39 +01:00
Roberto Viola
8d123cec1a Horizon Paragon X #637 2023-03-06 11:51:04 +01:00
Roberto Viola
582c260dd9 typo 2023-03-06 10:20:20 +01:00
Roberto Viola
7994c884ea Gear adjustment option within floating window #1336 2023-03-06 10:06:27 +01:00
Roberto Viola
58dbee1e15 Solution to get Octane Zero Runner ZR8 Elliptical working with Zwift #1338 2023-03-06 10:05:03 +01:00
Roberto Viola
5c2483b264 Solution to get Octane Zero Runner ZR8 Elliptical working with Zwift #1338 2023-03-06 09:50:21 +01:00
Roberto Viola
15d94329c2 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-03-06 09:21:01 +01:00
Roberto Viola
77de4703d3 Wahoo Kickr Headwind #1281 2023-03-06 09:20:30 +01:00
Takiora
2318531980 Nordictrack_C7.5 (#1337)
* inclination+cadence+resistance+heart+speed ok

* Update nordictrackelliptical.cpp
2023-03-04 16:01:56 +01:00
Roberto Viola
993727d251 Solution to get Octane Zero Runner ZR8 Elliptical working with Zwift #1338 2023-03-04 15:54:11 +01:00
Roberto Viola
128ad2a84b Ability to turn magnet on/off from floater window (Issue #1322) 2023-03-03 08:24:08 +01:00
Roberto Viola
9e8a8a18f2 QZ FIT file start timestamp inconsistent with Zwift (Issue #1311) (#1312) 2023-03-03 07:00:36 +00:00
Roberto Viola
19e05219f5 MatrixTF50 Treadmill #1331 2023-03-02 17:43:48 +01:00
Roberto Viola
58376bff43 Ability to turn magnet on/off from floater window #1322
https://github.com/cagnulein/qdomyos-zwift/issues/1322#issuecomment-1449125738
2023-03-02 13:53:07 +01:00
Roberto Viola
d4518fe018 version 507 for iOS 2023-03-01 16:05:56 +01:00
Roberto Viola
d6258a5774 Low Speed based on calculation on wattage #1325 2023-03-01 12:14:47 +01:00
Roberto Viola
063ab524e6 Allow the resitance knob on echelon bikes to be used to switch gears #1299 2023-03-01 10:36:08 +01:00
Roberto Viola
fbf8fed94d Ability to turn magnet on/off from floater window #1322 2023-03-01 10:14:40 +01:00
Roberto Viola
bbf0ef11d4 iOS Crash when stop pressed #1323 2023-03-01 09:11:20 +01:00
Roberto Viola
1439f5d15a added a protection for the homeform singleton in the templateinfosenderbuilder 2023-02-28 16:47:47 +01:00
Roberto Viola
79aad21d26 fixed homeform singleton 2023-02-28 16:29:31 +01:00
Roberto Viola
062cac38f6 Ability to turn magnet on/off from floater window #1322 2023-02-28 15:57:35 +01:00
Roberto Viola
36046c00ad Please add total output & time to next as a metric available in the floater window #1321 2023-02-28 15:22:33 +01:00
Roberto Viola
8e84d2bf95 Please add total output & time to next as a metric available in the floater window #1321 2023-02-28 14:27:46 +01:00
Roberto Viola
66aaeb5c8b floating: removed target number if 0 2023-02-28 11:56:41 +01:00
Roberto Viola
52c25f5fc7 Update apexbiketestdata.h 2023-02-28 10:12:33 +01:00
Roberto Viola
ec457a18c2 Apex Rides bikes #1230 2023-02-28 09:45:34 +01:00
Roberto Viola
eb00d52512 Apex Rides bikes #1230 2023-02-28 09:27:09 +01:00
Roberto Viola
55ad2dbe3e QZ FIT file start timestamp inconsistent with Zwift #1311 2023-02-28 08:28:21 +01:00
Roberto Viola
2ea9ad2992 Occasional wildly inaccurate distance measurement #1290 2023-02-28 08:07:08 +01:00
Roberto Viola
211024f67f Samsung S22/S23 crash on startup #1320 2023-02-27 17:38:58 +01:00
Roberto Viola
3b7fa4f8a8 Target/Actual Zones on floater #1310 2023-02-27 10:41:36 +01:00
Roberto Viola
e3c0fc933a PID not showing right number according to training program #1234 2023-02-27 09:55:53 +01:00
Roberto Viola
e4d2d7899b PID not showing right number according to training program #1234 2023-02-27 09:41:43 +01:00
Roberto Viola
70e87ac6a3 Elliptical NordicTrack C 7.5 #1277 2023-02-27 09:34:04 +01:00
Roberto Viola
9d6b53586a target inclination added in the floating 2023-02-27 08:14:03 +01:00
Roberto Viola
b35c41a319 target speed added to the floating 2023-02-27 08:02:25 +01:00
Roberto Viola
010d0b0dcc floating.htm clang formatted 2023-02-27 07:55:32 +01:00
Roberto Viola
a31c926a1a fixed cadence in the floating window for device different from bike 2023-02-27 07:49:34 +01:00
Roberto Viola
94c03ba9b4 Allow the resitance knob on echelon bikes to be used to switch gears #1299 2023-02-26 22:43:55 +01:00
Roberto Viola
bce965c6d6 Domyos EL 520 auto resistance #1252 2023-02-26 08:50:24 +01:00
Roberto Viola
74e5e04f0c Issue with Peloton ride 1/21/23 (Issue #1315) 2023-02-25 19:45:14 +01:00
Roberto Viola
159611da89 YPOO treadmill #1306 2023-02-25 03:14:15 +01:00
Roberto Viola
8cb9d24261 Indicate n/a for speeds too low for Pace calculation (Issue #1293) 2023-02-25 02:54:14 +01:00
Roberto Viola
74cc93b91e Elliptical NordicTrack C 7.5 (Issue #1277) 2023-02-24 14:54:41 +01:00
Roberto Viola
85d622a1e3 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-02-24 14:44:25 +01:00
Roberto Viola
9967550a41 Beta 2.12(498) - Incline Step : Per Facebook #1303 2023-02-24 13:37:03 +01:00
Roberto Viola
bf41d8f1d7 Update treadmill.cpp 2023-02-24 07:39:26 +01:00
Roberto Viola
f4999e3233 YPOO treadmill #1306 2023-02-23 16:28:05 +01:00
Roberto Viola
2b01877a7c Beta 2.12(498) - Incline Step : Per Facebook #1303 2023-02-23 16:12:01 +01:00
Roberto Viola
d985b9a477 Elliptical NordicTrack C 7.5 #1277 2023-02-23 15:55:19 +01:00
Roberto Viola
960aa7a17b Display step cadence on main app #1242 2023-02-23 12:04:23 +01:00
Roberto Viola
42e7c3481e Allow the resitance knob on echelon bikes to be used to switch gears #1299 2023-02-23 09:27:31 +01:00
Roberto Viola
7404128eba Elliptical NordicTrack C 7.5 #1277 2023-02-23 08:25:38 +01:00
Roberto Viola
f81f5354f6 2.12.72 2023-02-22 16:41:29 +01:00
Roberto Viola
b3e588cff5 Beta 2.12(498) - Incline Step : Per Facebook (Issue #1303) 2023-02-22 16:27:18 +01:00
Roberto Viola
a39597765c 2.12.71 2023-02-22 14:59:52 +01:00
Roberto Viola
28f4bb04da Beta 2.12(498) - Incline Step : Per Facebook #1303 2023-02-22 14:20:22 +01:00
Roberto Viola
80ab7a3877 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-02-22 14:12:58 +01:00
Roberto Viola
5fcd1233c1 Cadence not showing #1302 2023-02-22 14:12:55 +01:00
Roberto Viola
b894906f48 Strava Auth Webview (#1296)
* test needed

* linker error

* removing static for linker error

* signals fixed

* Update Home.qml

* Update main.qml

* fixing anchors

* using a separate qml

* Update WebStravaAuth.qml

* Update WebStravaAuth.qml

* added setting to fallback to previous

* removed unused import
2023-02-22 14:04:19 +01:00
Roberto Viola
f998d7123f Preset tiles colour setting doesn't work, crashes [BUG] #1301 2023-02-22 13:46:35 +01:00
Roberto Viola
35c4ecc781 Elliptical NordicTrack C 7.5 #1277 2023-02-22 11:28:50 +01:00
Roberto Viola
c98e0db8b0 Technogym myrun cadence but no stride length #1260 2023-02-22 11:01:01 +01:00
Roberto Viola
0eead667a3 Indicate n/a for speeds too low for Pace calculation #1293 2023-02-22 10:57:14 +01:00
Roberto Viola
759dcf37c7 dynamic text recognition for amazon app store 2023-02-22 06:39:40 +01:00
Roberto Viola
4f79679601 Noble Pro Elite e8i treadmill #1298 2023-02-21 21:34:28 +01:00
Roberto Viola
a834e6ea14 adding the mlkit text recogniton library for amazon app store 2023-02-21 20:22:19 +01:00
Roberto Viola
325963327e version 2.12.70 2023-02-21 15:22:39 +01:00
Roberto Viola
ef96f05127 Domyos EL 520 auto resistance #1252 2023-02-21 15:07:36 +01:00
Roberto Viola
d836883fc3 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-02-21 11:05:52 +01:00
Roberto Viola
4abb1be184 Elliptical NordicTrack C 7.5 #1277 2023-02-21 11:05:42 +01:00
Roberto Viola
8af0ca3350 Google Test on CI (#1148)
* Update main.yml

* Update main.yml

* Update main.yml

* fixing bluetooth scan thanks to tests!

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml
2023-02-21 11:03:18 +01:00
David Mason
c16e113290 #1294 additional compiler option in Windows to avoid "File too big" error (#1295) 2023-02-21 06:40:34 +01:00
Roberto Viola
6e92bcece2 Kickr connection not showing watts (Issue #1229) 2023-02-21 06:37:43 +01:00
Roberto Viola
f71a393c2b noblepro connect to fitshow treadmill 2023-02-20 22:32:11 +01:00
Roberto Viola
015bf842b0 Domyos 500b self powered rower (Issue #1238) 2023-02-20 22:08:17 +01:00
Roberto Viola
cde122089e Nordictrack Incline Trainer x7i #1284 2023-02-20 14:23:21 +01:00
Roberto Viola
709ead19a3 Sole S77 Support #1283 2023-02-20 13:28:07 +01:00
David Mason
8b4fe10f87 #1287 unit test fixes (#1288)
* #1287 unit test fixes

* #1287 made test name values more user friendly, after all, they aren't actually the test name identifier anymore.
2023-02-20 08:45:39 +01:00
Roberto Viola
74d69f5d8f Kickr connection not showing watts #1229 2023-02-20 08:35:38 +01:00
Roberto Viola
d7a8caa24c Sunny Health Fitness Smart Multifunction Magnetic Rowing Machine SF-RW5941SMART #1289 2023-02-20 08:22:22 +01:00
Roberto Viola
803291ba43 TREADMILL NORDIC TRACK 2950 #1278 2023-02-20 08:16:23 +01:00
Roberto Viola
38f53fd1bf Sole S77 Support (Issue #1283) 2023-02-20 07:56:52 +01:00
Roberto Viola
3d310bfd14 fixing double issue for the color of the resistance 2023-02-19 14:24:26 +01:00
Roberto Viola
5cdad64d9c cadence missing in the floating window for treadmill and elliptical 2023-02-19 08:34:07 +01:00
Roberto Viola
d3c2d15fc3 Sole S77 Support (Issue #1283) 2023-02-19 08:32:10 +01:00
Roberto Viola
794cda41cc license on apk 2023-02-18 18:00:51 +01:00
Roberto Viola
330359c446 Kickr connection not showing watts (Issue #1229) 2023-02-18 06:55:10 +01:00
Roberto Viola
c75906f766 disable_hr_frommachinery setting for fitshow treadmill 2023-02-18 06:42:06 +01:00
Roberto Viola
a2d9994608 version 2.12.67 2023-02-17 15:13:58 +01:00
Roberto Viola
0a01f62f79 Missing event_type start in Fit Export #1279 2023-02-17 15:09:13 +01:00
Roberto Viola
8888639bef DYNAMAX treadmill added 2023-02-17 15:04:20 +01:00
Roberto Viola
5a114a7f8f Renpho. Auto resistance with only whole numbers #1245 2023-02-17 11:23:14 +01:00
Roberto Viola
53717078b9 Missing event_type start in Fit Export #1279 2023-02-17 10:57:05 +01:00
Roberto Viola
d2c94da6bf Kickr connection not showing watts #1229 2023-02-17 08:14:10 +01:00
Roberto Viola
320a40c65c NPE Runn Incline Data #1276 2023-02-17 07:31:31 +01:00
Roberto Viola
9efb573f83 version 2.12.65 2023-02-16 19:00:21 +01:00
Roberto Viola
072024cee1 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-02-16 18:56:07 +01:00
Roberto Viola
bf692fbcc0 Nordictrack Incline Trainer added (not tested yet) 2023-02-16 11:29:20 +01:00
Roberto Viola
2909a61a94 added disabling auto resistance handling to ftmsbike 2023-02-16 07:56:22 +01:00
Roberto Viola
c06dc9c332 NPE Runn Incline Data #1276 2023-02-16 07:52:29 +01:00
Roberto Viola
85ee8fae3c 2.12.64 2023-02-15 13:35:03 +01:00
Roberto Viola
0f3f5d7db3 Update wahookickrsnapbike.cpp 2023-02-15 10:00:29 +01:00
Roberto Viola
5d34e2e6eb Missing event_type start in Fit Export #1279 2023-02-15 09:58:15 +01:00
Roberto Viola
679fec7e69 Lap Issue #1102 2023-02-14 15:40:04 +01:00
Roberto Viola
1cd68457a9 Elliptical NordicTrack C 7.5 #1277 2023-02-14 09:48:27 +01:00
Roberto Viola
065494ae43 Fixed treadmill incline #1273 2023-02-14 08:58:05 +01:00
Roberto Viola
c59ee00d3e NPE Runn Incline Data #1276 2023-02-14 08:46:51 +01:00
Roberto Viola
d504812655 Domyos EL 520 auto resistance #1252 2023-02-14 08:30:08 +01:00
Roberto Viola
06110e808d Strava Activity Walking when average speed is under 6.5 km/h #1275 2023-02-13 15:13:11 +01:00
Roberto Viola
c27e7353b7 Train Program: HR Min and Max #1271 2023-02-13 11:43:30 +01:00
Roberto Viola
38ca4cbf33 Rhythm 24 HRM cadence and heart rate sensor 2023-02-13 10:34:34 +01:00
Roberto Viola
f86604d7b2 Auto Resistance from Zwift-QZ is not working on Proform Hybrid #1172 2023-02-13 10:11:07 +01:00
Roberto Viola
7309df034e Kickr connection not showing watts #1229 2023-02-13 09:56:06 +01:00
Roberto Viola
16180689ac Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-02-13 08:55:39 +01:00
Roberto Viola
880a8708f0 Domyos Elliptical EL 520 Power Calibration #1267 2023-02-13 08:55:31 +01:00
Roberto Viola
fbc68c5487 version 2.12.62 2023-02-11 09:11:07 +01:00
Roberto Viola
1540fd4fe3 Domyos EL500 Gears [BUG] (Issue #1263) 2023-02-11 09:02:29 +01:00
Roberto Viola
9855b9e76f Kickr connection not showing watts #1229 2023-02-10 15:15:16 +01:00
Roberto Viola
3ba1eaf92a Technogym myrun cadence but no stride length (Issue #1260) 2023-02-10 15:08:38 +01:00
Roberto Viola
474d519d85 Matching QZ Speed to Zwift Speed using Zwift Workout files (.zwo) (Issue #1209) 2023-02-10 14:08:20 +01:00
Roberto Viola
3e8bbf57d2 Auto Resistance from Zwift-QZ is not working on Proform Hybrid #1172 2023-02-10 08:59:44 +01:00
Roberto Viola
80f6a5a9ee Revert "Auto Resistance from Zwift-QZ is not working on Proform Hybrid #1172"
This reverts commit 7191141177.
2023-02-10 08:42:21 +01:00
Roberto Viola
c1c1a07cd9 cardiostrang TX90 smart treadmill #1251 2023-02-10 08:23:37 +01:00
Roberto Viola
369eb4d101 Kickr connection not showing watts #1229 2023-02-10 08:21:04 +01:00
Roberto Viola
115bdc1cb2 Kickr connection not showing watts #1229 2023-02-09 15:49:46 +01:00
Roberto Viola
3b6b5a6721 Renpho. Auto resistance with only whole numbers #1245 2023-02-09 11:21:53 +01:00
Roberto Viola
24b680ca12 removed email from debug log 2023-02-08 17:27:44 +01:00
Roberto Viola
7c53a16e38 Horizon Paragon X not able to control through qz (Issue #1256) 2023-02-08 15:38:14 +01:00
Roberto Viola
0eabe10ea1 Matching QZ Speed to Zwift Speed using Zwift Workout files (.zwo) (Issue #1209) 2023-02-08 15:26:42 +01:00
Roberto Viola
c92b702b2e Debug log using qdomyos on a proform Tour de France 10.0 bike #877
https://github.com/cagnulein/qdomyos-zwift/issues/877#issuecomment-1422555720
2023-02-08 14:08:56 +01:00
Roberto Viola
9068e82ae3 Tiles not displaying data for Sole e55 elliptical (#1240) 2023-02-08 13:56:51 +01:00
Roberto Viola
77ebbe7c6d Domyos EL 520 auto resistance #1252 2023-02-08 10:46:18 +01:00
Roberto Viola
8ec760855e Jumping Resistance on Schwinn IC8 (Issue #1236) 2023-02-08 09:59:25 +01:00
Roberto Viola
5d1b399fa6 Incline Override (Issue #1244) 2023-02-07 23:21:59 +01:00
Roberto Viola
b6ebeadae2 fix build error on iOS 2023-02-07 18:53:07 +01:00
Roberto Viola
c43dfaeb1f Lap Issue #1102 2023-02-07 17:16:23 +01:00
Roberto Viola
0f6caeff8a Winfita (T532) Treadmill Incline Levels Table for Calculations, etc. #1244 (#1253)
* settings added

* done
2023-02-07 15:17:53 +01:00
Roberto Viola
7191141177 Auto Resistance from Zwift-QZ is not working on Proform Hybrid #1172 2023-02-07 14:56:04 +01:00
Roberto Viola
256981dff7 adding adb for windows for nordictrack treadmill (#1167)
* start adding adb for windows for nordictrack treadmill #1153

* adding adb to package

* Update main.yml

* Update main.yml

* fixing file path

* fixing file name

* avoiding searching for bluetooth for wifi devices

* using adb pull to get the logs

* Update nordictrackifitadbtreadmill.cpp

* fixing open file issue

* Update nordictrackifitadbtreadmill.cpp

* Update nordictrackifitadbtreadmill.cpp

* adb on a thread

* thread error

* trying to get log emulating the tail command

* trying logcat directly

* using logcat only!
2023-02-07 09:00:08 +01:00
Roberto Viola
ac8e295322 Joroto x2pro #1239 2023-02-07 08:34:50 +01:00
Roberto Viola
d772ae85bf filering watch device #110 2023-02-07 08:17:13 +01:00
Roberto Viola
83180f37ce target power on echelon #1198 2023-02-07 08:09:47 +01:00
Roberto Viola
af695b0aab Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-02-07 07:52:42 +01:00
Roberto Viola
68bf628cf3 cardiostrang TX90 smart treadmill #1251 2023-02-07 07:52:33 +01:00
Roberto Viola
c631511fc9 Display step cadence on main app #1242 2023-02-06 16:30:24 +01:00
Roberto Viola
7a0ac82f0d Display step cadence on main app #1242 2023-02-06 16:18:08 +01:00
Roberto Viola
f90e980a62 Horizon Paragon X #637 2023-02-06 15:34:55 +01:00
Roberto Viola
03b871143a Jumping Resistance on Schwinn IC8 #1236 2023-02-06 09:26:32 +01:00
Roberto Viola
c374cbeace Matching QZ Speed to Zwift Speed using Zwift Workout files (.zwo) (Issue #1209) 2023-02-05 18:32:24 +01:00
Roberto Viola
df55d648c9 Wahoo Kickr compatibity #442 #1229 2023-02-04 06:33:54 +01:00
Roberto Viola
d18a2ebe38 version 2.12.59 2023-02-03 15:42:43 +01:00
Roberto Viola
bca55a68a1 Getting peloton timestamp #1224 (#1225)
* Getting peloton timestamp #1224

crash on start service

* screenshot works!

* OCR implementation done!

* OCR implemented, not tested

* linker fix

* fixing linking error

* fix compile error

* Update ScreenCaptureService.java

* fixing android build

* it's working at least for a minute!

* some optimizations, working

* memory leak fixed

* working like a charm! super stable!

* peloton logic added, not tested

* added AppChecker

* Update AndroidManifest.xml

* adding also landscape recognizer

* Update MediaProjection.java

* Update MediaProjection.java

* Update MediaProjection.java

* Update MediaProjection.java

* peloton bike added!

* peloton bike ocr works

* peloton bike doesn't require location services (don't know if it's available)

* added androidadblog class

* getting package name

* removing previewtrainingprogram when a program is correctly loaded

* it's working!
2023-02-03 15:40:38 +01:00
Roberto Viola
a34d880ef3 FTMS Treadmill inclination timeout issue #1237 2023-02-03 12:24:32 +01:00
Roberto Viola
1b07564429 Jumping Resistance on Schwinn IC8 #1236 2023-02-02 15:48:23 +01:00
Roberto Viola
53fd346348 Jumping Resistance on Schwinn IC8 #1236 2023-02-02 15:32:13 +01:00
Roberto Viola
11e037dd84 Max Resistance #1219 2023-02-02 12:09:19 +01:00
Roberto Viola
0869ad36c5 Max Resistance #1219 2023-02-02 11:54:57 +01:00
Roberto Viola
334e0cfd25 Auto Resistance from Zwift-QZ is not working on Proform Hybrid #1172 2023-02-02 11:49:11 +01:00
Roberto Viola
d2af89f693 BUG] Kickr connection not showing watts #1229 2023-02-02 11:24:58 +01:00
Roberto Viola
2f832c65ed Matching QZ Speed to Zwift Speed using Zwift Workout files (.zwo) #1209
math issue
2023-02-02 11:01:49 +01:00
Roberto Viola
cb087ea4be Matrix T50 Treadmill #1235 2023-02-02 08:18:16 +01:00
Roberto Viola
72df934997 Wrong speed after update QZ on 31 Jan 2023 #1233 2023-02-02 08:13:30 +01:00
Roberto Viola
349b525295 add canStartStop method to the treadmills 2023-02-01 10:56:09 +01:00
Roberto Viola
3e58c2d681 Open Matching QZ Speed to Zwift Speed using Zwift Workout files (.zwo) #1209 2023-02-01 10:31:25 +01:00
Roberto Viola
e7748f943c Sprint XBR555 #1231 2023-02-01 08:25:39 +01:00
Roberto Viola
03a755ee36 fixing minor on #1134 2023-01-31 12:08:46 +01:00
Roberto Viola
9ad1821194 Differences in the GPX starting point (Issue #988)
scaling down the pin
2023-01-31 10:33:05 +01:00
Roberto Viola
04b16b5849 Floating Window: start button and disabling auto resistance (Issue #1134) 2023-01-31 10:30:54 +01:00
Roberto Viola
12c16b9634 Floating Window: start button and disabling auto resistance #1134 2023-01-30 10:56:45 +01:00
Roberto Viola
4034109195 Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-30 10:03:31 +01:00
Roberto Viola
5355b43cdf Virtual Echelon: distance is wrong in miles #1226 2023-01-30 09:26:15 +01:00
Roberto Viola
ecbb40a375 Winfita treadmill #1214 2023-01-30 08:30:19 +01:00
Roberto Viola
6235d00c55 android version 2.12.55 2023-01-28 20:59:46 +01:00
Roberto Viola
bff9f1a0a2 Floating Window: start button and disabling auto resistance #1134 2023-01-28 20:49:39 +01:00
Roberto Viola
ecc6306b7d Winfita treadmill #1214 2023-01-28 17:24:22 +01:00
Roberto Viola
e9856d8b42 Fixing Android CI (#1216)
* trying to use java 9

* Update main.yml

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Update main.yml

* Update gradle-wrapper.properties

* Update main.yml

* Update main.yml
2023-01-28 17:01:56 +01:00
Roberto Viola
099bbf7d9c Proform Hybrid Trainer XT connects but data seems inaccurate. (Issue #1138) 2023-01-28 08:03:18 +01:00
Roberto Viola
ba462a4d10 Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-28 07:25:30 +01:00
Roberto Viola
f953335bd2 Proform Hybrid Trainer XT connects but data seems inaccurate. (Issue #1138) 2023-01-27 14:18:07 +01:00
Roberto Viola
3e60e0bd91 Add elevation gain to iOS for treadmill #1218 2023-01-27 14:10:40 +01:00
Roberto Viola
3e98e548be Merge pull request #1210 from cagnulein/Floating-Window-start-button-and-disabling-auto-resistance#1134
Floating Window: start button and disabling auto resistance #1134
2023-01-27 09:15:21 +01:00
Roberto Viola
8021055345 start stop pause on floating 2023-01-27 09:12:33 +01:00
Roberto Viola
3fdf890474 Merge branch 'master' into Floating-Window-start-button-and-disabling-auto-resistance#1134 2023-01-27 08:07:12 +01:00
Roberto Viola
53e4e58c3f Winfita treadmill #1214 2023-01-27 07:56:57 +01:00
punk-kaos
ad37d26815 Fix resistance auto tracking values for Proform Hybrid Trainer XT. (#1211) 2023-01-25 18:58:52 +01:00
Roberto Viola
a59321e7b8 Floating Window: start button and disabling auto resistance #1134 2023-01-25 15:08:43 +01:00
Roberto Viola
e203fdaa67 Training Program Random Option INT? #1152 2023-01-25 10:09:32 +01:00
Roberto Viola
81b95ac080 Open Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-25 08:35:47 +01:00
David Mason
3ce3719630 Test updates 1197 (#1208) 2023-01-24 22:03:16 +01:00
Roberto Viola
5eaac9e509 Proform Hybrid Trainer XT connects but data seems inaccurate. (Issue #1138) 2023-01-24 19:40:50 +01:00
Roberto Viola
65adba7285 Specify profile to use via cmd-line #1189 (#1190)
* Specify profile to use via cmd-line #1189

* added  + ".qzs" to the filename

* fixed and tested
2023-01-24 16:00:18 +01:00
Roberto Viola
03aadfa864 Proform Cycle Trainer 400 Ri #1203 2023-01-24 11:53:01 +01:00
Roberto Viola
b3a83c13b3 Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-24 09:20:18 +01:00
Roberto Viola
a92e43ba4d peloton offset on floating is changing 3 seconds at once #1206 2023-01-24 08:50:28 +01:00
Roberto Viola
bbf2fd54f3 Treadmill Sportsmaster T300 originally manufactured by DK City (T800 is the name used by DK City) #1204 2023-01-23 16:42:26 +01:00
Roberto Viola
2b110e7d9c Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-23 14:27:02 +01:00
Roberto Viola
ac3f2dd7f9 Floating Window - km to mph (Issue #1201) 2023-01-23 09:31:38 +01:00
Roberto Viola
afda87f2b3 Sole ST90 Treadmill #1202 2023-01-23 08:11:21 +01:00
Roberto Viola
2689b01159 Sole SB700 #1196 2023-01-21 20:14:46 +01:00
Roberto Viola
28c69284cf Update settings.qml 2023-01-21 19:03:36 +01:00
Roberto Viola
606aa28231 ERG Mode Stops Auto-Adjusting Resistance after beginning of workout [BUG] #1194 2023-01-21 18:53:14 +01:00
Roberto Viola
26e25914db BH iBoxster Plus doesn’t work #1185 2023-01-21 12:15:16 +01:00
Roberto Viola
6d83d67ec3 BH iBoxster Plus doesn’t work #1185 2023-01-21 08:43:56 +01:00
Roberto Viola
aad68cb1b9 description added to the settings 2023-01-20 11:40:23 +01:00
Roberto Viola
959b2e1663 Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow #1091 2023-01-20 10:25:22 +01:00
Roberto Viola
48b247fed6 Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-20 09:43:38 +01:00
Roberto Viola
a575776ea7 Strange behavior with HR training programs #1182 2023-01-20 08:50:41 +01:00
Roberto Viola
a394c7d075 second wave of descrptions in the settings 2023-01-19 15:52:49 +01:00
Roberto Viola
1efad04a7c first wave of comments in the settings 2023-01-19 14:41:59 +01:00
Roberto Viola
d6418d199f Treadmill Workouts All Labeled as Run in Strava #1130 2023-01-19 08:05:16 +01:00
Roberto Viola
6915494594 version 2.12.49 2023-01-18 20:55:37 +01:00
Roberto Viola
44b278173d sportstech sx600 connection but no data #1116 2023-01-18 20:52:47 +01:00
Roberto Viola
621de55f67 Home Fitness Buddy classes with the same date. needs to check the pel… (#1179)
* Home Fitness Buddy classes with the same date. needs to check the peloton class id #1176

work in progress to test and fix

* fixed

* removing debug

* Update main.cpp
2023-01-18 20:48:13 +01:00
mo1425z
11f347276c #1177 Fixing Grammar and details on home form (#1178) 2023-01-18 20:40:09 +01:00
Roberto Viola
d165382960 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-01-18 16:50:00 +01:00
Roberto Viola
819ecaf133 Power Zone Desync investigation #1175 2023-01-18 16:49:52 +01:00
Roberto Viola
b744ceb731 Target resistance tiles are toggled off in settings. (Issue #1162) 2023-01-18 11:47:40 +01:00
Roberto Viola
d706314802 Back character missing from title bar #1163 2023-01-18 11:33:17 +01:00
Roberto Viola
c9e5c2f065 Floating Window - Resistance (Echelon) stat appears even if Resistance & Target resistance tiles are toggled off in settings. (Issue #1162) 2023-01-18 11:10:02 +01:00
Roberto Viola
eadaf62064 sportstech sx600 connection but no data #1116
merging ftms with fitplus
2023-01-18 10:20:46 +01:00
Roberto Viola
ca9ada6d83 windows workaround for cscbike 2023-01-18 07:49:18 +01:00
Roberto Viola
aa9948b4ba Saris trainer #1173 2023-01-18 07:22:22 +01:00
Roberto Viola
07a301f53c steam rejected qz from their store 2023-01-18 07:07:45 +01:00
Roberto Viola
984a6395d0 Horizon treadmill miss some frames in the init #1108 2023-01-18 07:06:02 +01:00
Roberto Viola
50361e2b4f jtx_fitness_sprint_treadmill beeps everytime qz sends a inclination request. let's limit to 0.5 2023-01-17 20:50:26 +01:00
punk-kaos
fb6478324b Update Proform Hybrid XT resistance settings to (mostly) proper bluetooth values. (#1170) 2023-01-17 20:15:25 +01:00
Roberto Viola
048edf2022 fixing target tiles boolean on the floating 2023-01-16 22:20:47 +01:00
Roberto Viola
0985816c20 Floating window - Peloton Offset always appears even if that tile is disabled. (Issue #1161) 2023-01-16 22:15:06 +01:00
Roberto Viola
95e7ca1f6b Floating Window - Resistance (Echelon) stat appears even if Resistance & Target resistance tiles are toggled off in settings. #1162 2023-01-16 20:37:13 +01:00
Roberto Viola
f30e141d3f Support of Kingsmith WR1 rowing device (Issue #1118) 2023-01-16 16:37:02 +01:00
Roberto Viola
0bd4232d24 Support of Kingsmith WR1 rowing device (Issue #1118) not tested yet 2023-01-16 16:07:31 +01:00
Roberto Viola
f56b12ae85 Proform Hybrid Trainer XT connects but data seems inaccurate. (Issue #1138) 2023-01-16 15:02:27 +01:00
Roberto Viola
d98fccdf5a version 2.12.44 2023-01-16 14:07:03 +01:00
Roberto Viola
13b62ab0d0 Debug log using qdomyos on a proform Tour de France 10.0 bike #877 2023-01-16 14:03:58 +01:00
Roberto Viola
a20f73dc1b fixed empty charts if the previous session was stopped #857 2023-01-16 12:22:31 +01:00
Roberto Viola
dd84d2ce04 sportstech sx600 connection but no data #1116 2023-01-16 12:05:24 +01:00
Roberto Viola
b304505a1b Bowflex T6 treadmill #1064 2023-01-16 11:59:27 +01:00
Roberto Viola
c6c2717bb5 tile disabled fixed 2023-01-16 10:00:06 +01:00
Roberto Viola
61e539c822 sportstech sx600 connection but no data #1116 2023-01-16 09:26:35 +01:00
Roberto Viola
5cfb8141af Training Program Random Option INT? #1152 2023-01-15 10:21:06 +01:00
Roberto Viola
bb03d1c36a What are the available values to use in the training program xml? #1149 2023-01-15 09:00:37 +01:00
Roberto Viola
59c4249741 Support of Kingsmith WR1 rowing device (Issue #1118) 2023-01-15 08:56:31 +01:00
Roberto Viola
a44f52995d Echelon Stride treadmill stays in 'app' mode after the app has been closed (iOS keeps the connection alive) #1155 2023-01-15 08:37:12 +01:00
David Mason
ac2848cb55 Build corrections 1150 (#1156) 2023-01-15 07:02:52 +01:00
Roberto Viola
e8169806f9 fixing android build 2023-01-13 10:36:05 +01:00
Roberto Viola
8295ad654b Update settings.qml 2023-01-13 09:36:20 +01:00
Roberto Viola
6abcf8e536 Make Gears setting permanent (Issue #1146) 2023-01-13 09:21:24 +01:00
Roberto Viola
8161aae3da Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-01-13 09:02:04 +01:00
Roberto Viola
36c1933192 Proform Hybrid Trainer XT connects but data seems inaccurate. #1138 2023-01-13 09:02:01 +01:00
Roberto Viola
0508d26796 Update 20_supported_devices_and_applications.md 2023-01-13 08:13:28 +01:00
Roberto Viola
67d2292680 Sole Elliptical: Apple Watch not connecting #1120 2023-01-13 08:04:49 +01:00
Roberto Viola
873c4e8b72 Saris H3 #1147 2023-01-13 07:55:44 +01:00
David Mason
1a3a10f636 #1144 added tests for Thinkrider X5, Noblepro treadmill. (#1145) 2023-01-13 06:51:19 +01:00
Roberto Viola
a876959e79 fixing CI Steam 2023-01-12 07:38:57 +01:00
Roberto Viola
138af1514a fixing CI steam 2023-01-12 07:00:51 +01:00
David Mason
c9ec71ae02 Automated testing with Google Test #911 (#1111)
* #911 new branch with a very basic google test. Needs google test downloaded into /google_test. Will probably set up another submodule at some point.

* #911 added google test as a submodule

* Attempt to get lib and test project to build in action

* #911 trying to get submodule checkout to work

* #911 trying to get Linux build to happen

* #911 added header include

* #996 put the values from settings read for device discovery into a class

* #996 moved the enormous if statement for device detection to a method.

* #996 split device detection into detection and bluetoothdevice object creation

* #996 return the created object (but don't use it)

* #996 factored out starting of template managers into a single location

* #911 beginning of 2 device detection tests using google test

* #911 removed unnecessary #pragma once

* #996 put new classes into separate files. Added exclusions to devicediscoveryinfo to replicate current production behaviour

* #996 comments on functions

* #911 latest work. Tests crash in Windows.

* #911 2 device detection tests working

* #911 added test data classes for remaining devices

* #911 missed file

* #911 tests build and run. Most fail due to incomplete config.

* #911 filled in details for some of the device tests

* #911 filled in vast majority of test data. Doesn't build, and some obscure situations yet to be done.

* #911 use template method instead

* #911 builds, some tests failing

* #911 fixed some tests.

* #911 device identification tests passing to the currently possible extent, pending feedback.

* #911 start of work testing device object creation

* #911 got bluetoothdevice object creation tests working

* #911 added manufacturer data for m3i bike test, and fixed case sensitivity of m3i bike test.

* #911 added ability to specify and test multiple settings configurations

* #911 fixed typos

* #911 parameterized version

* #911 fixed file name to match class

* #911 added version using typed tests. Refactored to share basic test code from original test suite.

* #911 added googletest submodule to the documentation

* #911 rework to match current functioning of the bluetooth class, instead of the result of current work on #996.

* #911 updated for changes in master. Still doesn't actually work.

* #911 added configuration of test QSettings.

QSettings are probablly not set up properly, but the tests actually run now, but many fail.

* #911 added test settings facility

This enables the developer to override the default QSettings for the life of a test suite.

* #911 start tests with default settings.

* #911 got exclusions working

At least, where the bluetoothdevice object can actually work.

* #911 skip abstract devices

* #911 removed some unused code

* #911 removed unused file

* #911 include app project in main project

* #911 updated for latest device detection code

* #911 added submodule checkout of googletest to Android build

* #911 run qmake from the root in android build

* #911 adjusted test names and made the test for the invalid bluetooth device info test with enabling and disabling settings.

* #911 enabled the test for non-detection with invalid names

* #911 fixed test

* #911 updated comments

* #911 moved devicediscoveryinfo to the testing project

* #911 move devicediscoveryinfo to the test project

* #911 removed a unused class

* #911 removed unused file

* #911 modify correct object

* #911 modify correct object

* #911 removed irrelevant comment

* adding ls to locate llvm-arm

* debugging github actions

* Update main.yml

* #911 try being more specific about tst project dependency

* trying linking llvm-ar

* debugging llvm

* adding alias to llvm-ar

* enabling aliases

* Update main.yml

* maybe the last one for fixing CI?

* #911 see how the CI builds go without the app project

* #911 restored app project to root project

* trying to move the alias just before the make process

* trying to use NDK_LLVM_PATH

* trying set AR variable

* seems to be the right way

* fixing test m3i

* updating version aligned with the master

* #911 moved some definitions to defaults.pri

* #911 adjusted test case for adjusted detection rule

* #911 adjusted relative path

* #911 try adding toolchain/bin to path

* #911 revert previous change and show the PATH

* #911 fixed yml file

* #911 restored previous working yml file

* #911 show the PATH

* #911 moved some android related content to the shared defaults.pri

* #911 ignore the test and lib projects in an Android build

* #911 restore yml without AR specified

* #911 updated for the "TOORX" option for Horizon Treadmill

* #911 added test for the new detection criteria for Horizon Treadmill (TOORX)

* #911 added test for Kingsmith WR1 rowing device

* #911 added test cases for Toorx experience etc

* #911 added test case for FTMS Bike named KICKR CORE

* #911 simplified setup of multiple detection configs

* #911 further simplification of test config setup

* version aligned with master

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
2023-01-12 06:30:40 +01:00
Roberto Viola
e10e7e5cc7 peloton offset fixed in the floating window 2023-01-12 06:15:24 +01:00
Roberto Viola
e7ea68e766 Steam Store (#1140) 2023-01-11 17:45:56 +01:00
Roberto Viola
2ccdbb1336 thinkrider X5 trainer bike #1142 2023-01-11 16:15:11 +01:00
Roberto Viola
c3c43991f2 Zwift not seeing Renpho #1141 2023-01-11 14:36:31 +01:00
Roberto Viola
ef135f1ffe Sole Elliptical: Apple Watch not connecting #1120 2023-01-11 10:25:27 +01:00
Roberto Viola
3294c9284b NoblePro treadmill #1139 2023-01-11 09:59:42 +01:00
Roberto Viola
9f287ca8c7 Support of Kingsmith WR1 rowing device #1118 2023-01-10 09:49:27 +01:00
Roberto Viola
cbacce66ca sportstech sx600 connection but no data #1116 2023-01-10 08:14:42 +01:00
Roberto Viola
dac3a5323e Bowflex T6 treadmill #1064 2023-01-09 16:55:39 +01:00
Roberto Viola
d486d7e2a0 Floating window: target tiles and peloton offset #1136 2023-01-09 16:30:22 +01:00
Roberto Viola
1c0e212125 KICKR CORE #1135 2023-01-09 16:12:53 +01:00
Roberto Viola
146e1c5da4 Bowflex T6 treadmill #1064 2023-01-09 15:04:06 +01:00
Roberto Viola
d21e0da604 Windows version doesn't show the profiles #1133 2023-01-09 11:41:20 +01:00
Roberto Viola
11864ed49d sportstech sx600 connection but no data #1116 2023-01-09 11:22:45 +01:00
Roberto Viola
86c0db5612 Nautilus T618 treadmill being discovered but not working #1074 2023-01-09 09:28:09 +01:00
Roberto Viola
b61b2132f9 Lap Issue #1102 2023-01-08 08:56:20 +01:00
Roberto Viola
66c963ec7c Suspend stats while paused for horizon treadmill #923
https://github.com/cagnulein/qdomyos-zwift/issues/923#issuecomment-1374666627
2023-01-08 08:40:20 +01:00
Roberto Viola
2505e49675 Horizon Treadmill Auto speed off 0.1 #1128 2023-01-07 18:40:58 +01:00
Roberto Viola
8e4d0dd49e No speed or incline control on T6.5S #1119 2023-01-06 09:49:34 +01:00
Roberto Viola
919902f8bb Sole Elliptical: Apple Watch not connecting #1120 2023-01-04 15:56:38 +01:00
Roberto Viola
020c1440d6 Support of Kingsmith WR1 rowing device #1118 2023-01-04 15:51:01 +01:00
Roberto Viola
349f03b330 Toorx Experience plus all parameter (speed, inclination) = 0 (Issue #1107) 2023-01-04 10:03:53 +01:00
Roberto Viola
fd1224e7c9 Support of Kingsmith WR1 rowing device #1118 2023-01-04 09:56:41 +01:00
Roberto Viola
672455c0d3 Resistance icon not showing in Floating Window #1113 2023-01-04 09:51:29 +01:00
Roberto Viola
676f2f1f9a Nordic Track S25i Treadmill [BUG] #1115 2023-01-04 09:45:55 +01:00
Roberto Viola
b94fa37aaf Mobvoi Treadmill #1095 reverted 2023-01-03 16:59:31 +01:00
Roberto Viola
0af537701c Mobvoi Treadmill #1095 2023-01-02 14:42:00 +01:00
Roberto Viola
d819781150 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2023-01-02 12:25:57 +01:00
Roberto Viola
d9443cff54 Lap Issue #1102 2023-01-02 12:25:52 +01:00
jwatral
92283b65ba issues with ant+ speed sensor fixed by migration to speed and cadence (#1110) 2023-01-02 08:54:03 +01:00
Roberto Viola
497cbc67f1 Rebook treadmill with wrong odometer after 1 km #1100 2023-01-02 06:11:31 +01:00
Roberto Viola
3085d284f6 Horizon treadmill miss some frames in the init (Issue #1108) 2023-01-02 05:47:19 +01:00
Roberto Viola
d39b51c389 Mobvoi Treadmill #1095 2022-12-31 17:44:07 +01:00
Roberto Viola
590e42dc73 NordicTrack S25i Treadmill #1109 2022-12-31 14:56:11 +01:00
Roberto Viola
242ca22bc5 TDF2 incline not working #1101 2022-12-31 11:20:57 +01:00
Roberto Viola
34f37bc70a Floating Window - default to active (Issue #1105) 2022-12-31 11:14:36 +01:00
Roberto Viola
43ae256c18 Floating Window - retain location between sessions (Issue #1104) 2022-12-31 10:57:33 +01:00
Roberto Viola
466be88bb9 SmartSpin2K as smart trainer (Issue #1080) 2022-12-31 10:21:19 +01:00
Roberto Viola
ff7b7bbfe7 Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow (Issue #1091) 2022-12-31 10:11:27 +01:00
Roberto Viola
1d1c22b234 Horizon treadmill miss some frames in the init #1108 2022-12-31 09:55:20 +01:00
Roberto Viola
1b1850f82c K80 Toorx Treadmill #1106 2022-12-30 17:50:22 +01:00
Roberto Viola
e9942ca63d TDF2 incline not working (Issue #1101) 2022-12-30 17:17:40 +01:00
Roberto Viola
b87cf9162c Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-12-30 16:16:00 +01:00
Roberto Viola
8c11fe9ae1 Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow #1091 2022-12-30 16:15:56 +01:00
Roberto Viola
4a1726df27 fixing android build 2022-12-30 15:33:52 +01:00
Roberto Viola
9f51255994 android version 2.12.32 2022-12-30 14:35:31 +01:00
Roberto Viola
d2b3262edd fixing android build 2022-12-30 14:34:58 +01:00
Roberto Viola
3f7b085173 Tread Bootcamp only sends Partial Time remaining #1103 2022-12-30 12:13:58 +01:00
Roberto Viola
ed4cb797d4 fixing android build 2022-12-30 12:09:34 +01:00
Roberto Viola
d3bc3cdfaf TDF2 incline not working #1101 2022-12-30 11:42:40 +01:00
Roberto Viola
db3f8c217b Picture in Picture on android #1072 2022-12-30 11:36:54 +01:00
Roberto Viola
5cf4719de2 Picture in Picture on android #1072 2022-12-30 10:56:06 +01:00
Roberto Viola
0ddfb3d910 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-12-30 10:33:22 +01:00
Roberto Viola
47621150d3 NordicTrack S22i support using issue 877 as example (Issue #954) 2022-12-30 10:31:42 +01:00
Roberto Viola
d5ff290a8b fixing build 2022-12-29 19:02:07 +01:00
Roberto Viola
4629a9ed04 fixing distance parsing 2022-12-29 18:53:11 +01:00
Roberto Viola
92a2fb5854 NordicTrack S22i support using issue 877 as example (Issue #954) 2022-12-29 18:25:02 +01:00
Roberto Viola
3dedb4cb5e Picture in Picture on android #1072 2022-12-29 15:05:08 +01:00
Roberto Viola
23ef0eab21 build fix 2022-12-29 11:54:20 +01:00
Roberto Viola
c72535e423 fix build 2022-12-29 11:22:53 +01:00
Roberto Viola
07a050d6c5 NordicTrack S22i support using issue 877 as example (Issue #954) 2022-12-29 10:56:13 +01:00
Roberto Viola
58c1ac9d5b playing with floating window #1072 2022-12-28 18:33:56 +01:00
Roberto Viola
0d2e53e6af Picture in Picture on android #1072 2022-12-28 16:50:47 +01:00
Roberto Viola
581f2a4af1 setting to enable adb remote 2022-12-28 15:14:02 +01:00
Roberto Viola
009b569f25 Zwift RunPod OE run cadence does not match strava (Issue #1099) 2022-12-28 14:55:10 +01:00
Roberto Viola
d47364d344 android version 2.12.29 2022-12-28 14:35:00 +01:00
Roberto Viola
61b011b3ce crash fixed when usb is not inserted #1085 2022-12-28 11:24:11 +01:00
Roberto Viola
09d48c0bbf Rebook treadmill with wrong odometer after 1 km #1100 2022-12-28 07:11:05 +01:00
Roberto Viola
e184347f0e ADBRemote #1094 2022-12-27 20:06:17 +01:00
Roberto Viola
dc3f83093e Background operation permanent notification option #1058 2022-12-27 18:29:27 +01:00
Roberto Viola
0bf0466a11 Picture in Picture on android #1072 2022-12-27 18:12:15 +01:00
Roberto Viola
2347b5633d floating window button hides it also 2022-12-27 17:57:59 +01:00
Roberto Viola
7de641ce5c Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow (Issue #1091) 2022-12-27 16:04:50 +01:00
Roberto Viola
2e8189037c Zwift Runpod #1097 2022-12-27 15:42:43 +01:00
Roberto Viola
a54071f05d android version 2.12.27 2022-12-27 15:33:02 +01:00
Roberto Viola
77e92f4e96 ADBRemote for android 2022-12-27 15:31:59 +01:00
Roberto Viola
39e63a435f Support for Computrainer with USB connection #1085 2022-12-26 17:13:17 +01:00
Roberto Viola
2218bb4489 Mobvoi Treadmill #1095 2022-12-26 16:12:39 +01:00
Roberto Viola
dc85b4a35e fix ios build 2022-12-26 08:22:13 +01:00
Roberto Viola
75604aed8c Support for Computrainer with USB connection #1085 2022-12-25 18:07:19 +01:00
Roberto Viola
029995d420 SmartSpin2K as smart trainer #1080 2022-12-23 08:54:01 +01:00
Roberto Viola
aec612614c Support for Computrainer with USB connection #1085 2022-12-23 08:31:04 +01:00
Roberto Viola
2a4ca076cf Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow #1091 2022-12-23 08:10:32 +01:00
Roberto Viola
e215918987 Support for Computrainer with USB connection #1085 2022-12-21 21:28:51 +01:00
Roberto Viola
23e2a11b6b Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow #1091 2022-12-21 20:57:41 +01:00
Roberto Viola
5f8a09d82e Support for Computrainer with USB connection #1085 2022-12-21 20:12:28 +01:00
Roberto Viola
6e2107e82e Support for Computrainer with USB connection #1085 2022-12-21 19:01:44 +01:00
Roberto Viola
af3ab73359 Support for Computrainer with USB connection #1085 2022-12-21 17:51:33 +01:00
Roberto Viola
7d3828d3b9 Increase speed on treadmill for the Peloton app for the whole run as upper is too fast and average is too slow (Issue #1091) 2022-12-21 17:00:43 +01:00
Roberto Viola
a43b73fb9e Support for Computrainer with USB connection #1085 2022-12-21 16:39:06 +01:00
Roberto Viola
bd102dee72 adding speed based on power setting on proformwifibikes 2022-12-21 16:04:02 +01:00
Roberto Viola
2634993a3a ios build errors 2022-12-21 11:07:52 +01:00
Roberto Viola
30f93ac439 android version 2.12.18 2022-12-21 10:53:08 +01:00
Roberto Viola
337b06cce4 Usb serial for android (#1092)
* adding manifest and gradle

* it's working!
2022-12-21 10:51:40 +01:00
Roberto Viola
cc41d02607 Strava Virtual Tag Setting #1083 2022-12-20 09:03:19 +01:00
Roberto Viola
4b7829e1f3 added some debug log #1085 2022-12-20 08:25:32 +01:00
Roberto Viola
ac8fd15d0a android version 2.12.17 2022-12-20 08:21:40 +01:00
Roberto Viola
b1a4b58ba2 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-12-20 08:20:37 +01:00
Roberto Viola
3bd17743d2 SmartSpin2K as smart trainer #1080 2022-12-20 08:20:30 +01:00
Roberto Viola
e88e89c96b Computrainer (#1086)
* first commit

* build fix

* fixing build errors on windows
2022-12-20 08:05:59 +01:00
Roberto Viola
ae3a393038 Zwift HUB #1087 2022-12-19 15:09:42 +01:00
Roberto Viola
12f2f2601c Proform TDF4 and Wahoo SYSTM training software, Erg mode does not affect resistance #1081 2022-12-19 10:37:38 +01:00
Roberto Viola
e42825b0ec Proform TDF4 and Wahoo SYSTM training software, Erg mode does not affect resistance #1081 2022-12-19 10:09:14 +01:00
Roberto Viola
eb7895bb48 added echelon rower sport 2022-12-16 19:41:29 +01:00
Roberto Viola
1366c21891 missing changeresistance event for the rowers 2022-12-16 19:35:32 +01:00
Roberto Viola
341b0607fc version 2.12.14 2022-12-16 15:13:17 +01:00
Roberto Viola
e8a59937f6 SmartSpin2K as smart trainer #1080 2022-12-16 08:44:31 +01:00
Roberto Viola
20c69a374c Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-12-14 14:45:47 +01:00
Roberto Viola
3eb3dbecc8 power calibration for Domyos Bike[REQ] #1078 2022-12-14 14:45:39 +01:00
Roberto Viola
f8a6e428ee version 2.12.13 on android 2022-12-14 14:38:03 +01:00
Roberto Viola
196bfe351d Android floating window (#1077)
* first implementation of the webview. didn't compile yet

* it's building

* window appears but is not showing the webview and also doesn't move. permission window needs to be fixed

* floating window works!

* adding html page for floating

* adding floating.htm to the floating window

* creating tiles...

* table

* dinamicize metrics on the floating window

* adding transparency

* finalizing

* alpha channel fixed

* fixing 1 minute timeout
2022-12-14 14:25:26 +01:00
Roberto Viola
5169cf78a4 ifit kcal fixed 2022-12-14 08:23:49 +01:00
Roberto Viola
11425ea861 Bowflex T6 treadmill #1064 2022-12-13 18:46:16 +01:00
Roberto Viola
d4a5604af6 Add option to disable pausing/stopping of machinery when pause/stop is pressed in QZ #1075 2022-12-13 18:44:43 +01:00
Roberto Viola
b53ff4a516 notification icon on android restored to false as default 2022-12-12 09:37:18 +01:00
Roberto Viola
1adf0b2e08 Gears tile for elliptical #1071 2022-12-12 08:46:49 +01:00
Roberto Viola
883c4c56d6 Bowflex T6 treadmill #1064 2022-12-12 07:59:43 +01:00
Roberto Viola
13a2c95671 Add option to disable pausing/stopping of machinery when pause/stop is pressed in QZ #1075 2022-12-11 20:04:27 +01:00
Roberto Viola
48df8b3057 Add option to disable pausing/stopping of machinery when pause/stop is pressed in QZ (Issue #1075) 2022-12-11 19:53:57 +01:00
Roberto Viola
e771b4a62d Add option to disable pausing/stopping of machinery when pause/stop is pressed in QZ (Issue #1075) 2022-12-11 19:44:19 +01:00
Roberto Viola
c7bed0a259 Add option to disable pausing/stopping of machinery when pause/stop is pressed in QZ #1075 2022-12-11 18:50:11 +01:00
Roberto Viola
bb7dc3f4e9 Domyos EL 520 Minimum Resistance #1069 2022-12-10 14:30:00 +01:00
Roberto Viola
e9c383ce8b ios project updated 2022-12-10 10:49:59 +01:00
Roberto Viola
395973b0ae Bowflex T6 treadmill #1064 2022-12-10 09:44:16 +01:00
Roberto Viola
8cdbc8463a Open proform wifi bike doesn't reconnect automatically #1062 2022-12-10 09:15:41 +01:00
Roberto Viola
9f1d6a163f The control of RGT app not working with Wahoo Direct Connect for RGT setting (#1059)
* fundaments building :)

* Update project.pbxproj

* dircon wahoo protocol managed for RFT

* The control of RGT app not working with Wahoo Direct Connect for RGT setting #1055

* The control of RGT app not working with Wahoo Direct Connect for RGT setting #1055

* cleaning the code

* The control of RGT app not working with Wahoo Direct Connect for RGT setting #1055
2022-12-10 09:08:21 +01:00
Roberto Viola
44b304bcf7 adding close button on android since the notification icon will keep qz alive 2022-12-09 11:21:57 +01:00
Roberto Viola
b0bea930e0 trying to fix swag bag on android 2022-12-09 11:21:32 +01:00
Roberto Viola
6ce71c69f6 incline doesn't work #1063 2022-12-09 07:05:11 +01:00
Roberto Viola
1bf665ae98 incline doesn't work (Issue #1063) 2022-12-08 17:31:03 +01:00
Roberto Viola
a3e6cbd416 removing qt5-default 2022-12-07 14:40:22 +01:00
Roberto Viola
c2ef787a74 qt5-default missing
https://askubuntu.com/questions/1335184/qt5-default-not-in-ubuntu-21-04
2022-12-07 14:37:48 +01:00
Roberto Viola
c00f2a81ca Bowflex T6 treadmill #1064 2022-12-07 14:28:09 +01:00
Roberto Viola
b4164cd10f Kingsmith walkingpad X21, app not responding #1031 2022-12-07 08:06:27 +01:00
Roberto Viola
f95a0510c7 echelon stride doesn't provide metrics #1056 2022-12-05 09:11:34 +01:00
Roberto Viola
b6c5099e07 Kingsmith walkingpad X21, app not responding #1031 2022-12-05 08:50:52 +01:00
Roberto Viola
bc26307c63 proform wifi bike doesn't reconnect automatically #1062
https://github.com/cagnulein/qdomyos-zwift/issues/1062#issuecomment-1336437407
2022-12-04 16:42:23 +01:00
Roberto Viola
ee0b7993de new iOS requirement 2022-12-02 20:24:50 +01:00
Roberto Viola
93a6a352a1 Tacx Flow #1060 2022-12-02 08:18:48 +01:00
Roberto Viola
1e98454070 version 2.12.9 2022-12-01 17:44:48 +01:00
Roberto Viola
a90d3f227f Wahoo Dircon on Treadmill doesn't flash the inclination icon #1061 2022-12-01 17:44:14 +01:00
Roberto Viola
0ad5ca8651 Background operation // Permanent notification option #711 2022-12-01 16:31:23 +01:00
Roberto Viola
8daf02afb6 Background operation // Permanent notification option #711 2022-12-01 16:06:07 +01:00
Roberto Viola
422bf4144f Tacx Flow #1060 2022-12-01 14:23:49 +01:00
Roberto Viola
57455ee7d6 Back from the same gpx path (START - END - START - END all the time) #987 2022-12-01 09:19:57 +01:00
Roberto Viola
032636b3b6 Background operation // Permanent notification option #711 2022-12-01 08:54:57 +01:00
Roberto Viola
536067d731 Background operation permanent notification option (#1058) under settings 2022-11-30 14:40:54 +01:00
Roberto Viola
9aaa1a0d18 Background operation permanent notification option (#1058)
* first try

* Update NotificationClient.java

* Update NotificationClient.java

* adding Foreground Service

* fixing build errors

* build error fixed

* fixing

* Update ForegroundService.java

* fixing click on the notification
2022-11-30 10:00:05 +01:00
Roberto Viola
17db301d5d fixing forcing resistance,speed and incline for nordictrack adb devices 2022-11-29 17:03:15 +01:00
Roberto Viola
0e4945f15b Back from the same gpx path (START - END - START - END all the time) #987 2022-11-29 11:36:10 +01:00
Roberto Viola
94ba539de4 erg mode for proform wifi bike improved 2022-11-28 10:58:57 +01:00
Roberto Viola
9c9d540585 Domyos Elliptical EL 520 #1046 2022-11-28 04:26:32 +01:00
Roberto Viola
9f6e54dfc4 nordictreadmill can go with negative inclination 2022-11-28 03:10:05 +01:00
Roberto Viola
3b1d24381e Revert "Proform Treadmill on Windows error #1054"
This reverts commit 563e7708f0.
2022-11-27 19:00:20 +01:00
Roberto Viola
563e7708f0 Proform Treadmill on Windows error #1054 2022-11-27 13:45:34 +01:00
Roberto Viola
5127420097 Ability to change target power by tiles for bikes #1053 2022-11-26 08:46:05 +01:00
Roberto Viola
9202958a39 fixing ERG mode for proformwifibike 2022-11-25 08:21:53 +01:00
Roberto Viola
c2ca7a06fe Auto stop when a GPX ride has completed #905 2022-11-22 15:32:28 +01:00
Roberto Viola
0a852644bc Auto stop when a GPX ride has completed #905 2022-11-22 13:47:44 +01:00
Roberto Viola
fd32d29c87 Care Fitness CV-351 : #1042 2022-11-21 16:50:49 +01:00
Roberto Viola
c4c1091147 XT800 treadmill #1051 2022-11-21 15:57:19 +01:00
Roberto Viola
fd15b1ac4f Add ProForm Cadence LT Treadmill to QZ to connect to Peloton [REQ] #1047 2022-11-21 14:32:08 +01:00
Roberto Viola
7b53ee0dc9 build issue fixed 2022-11-21 14:03:35 +01:00
Roberto Viola
59fc9864ec fixing decimal error on inclination on horizontreadmill #1050 2022-11-21 13:50:12 +01:00
Roberto Viola
c59e8a0079 Care Fitness CV-351 : (Issue #1042) 2022-11-21 13:35:03 +01:00
Roberto Viola
96ff845abe inclination offset and gain for treadmill used also on train program 2022-11-21 08:42:05 +01:00
Roberto Viola
62f504bdc7 Power Sensor Profile with 16bit UUID on iOS #1044 2022-11-20 07:52:14 +01:00
Roberto Viola
8113bccb77 Power Sensor Profile with 16bit UUID on iOS #1044 2022-11-19 16:11:28 +01:00
Roberto Viola
ab14cbfa49 Care Fitness CV-351 : #1042 2022-11-19 15:19:09 +01:00
Roberto Viola
ee252a313d Care Fitness CV-351 : #1042 2022-11-18 14:24:04 +01:00
Roberto Viola
293ff2eda1 Virtual Dircon Bike device for treadmill #1043 2022-11-18 14:16:47 +01:00
Roberto Viola
f084b88312 Life Fitness Treadmill FTMS #1018 2022-11-18 12:04:32 +01:00
Roberto Viola
bc9c36624a Stages bike peloton resistance null sometimes #1040 2022-11-18 08:49:55 +01:00
Roberto Viola
b49af71c2e Life Fitness Treadmill FTMS #1018
removing forcing commands since this treadmill is not able to do so
2022-11-18 08:40:19 +01:00
Roberto Viola
118684ebff Carefitness CV-351 #1041 2022-11-18 08:23:51 +01:00
Roberto Viola
9e8c8322e3 Life Fitness Treadmill FTMS #1018 2022-11-17 15:21:24 +01:00
Roberto Viola
cce52fcdfa Update SwagBagView.qml 2022-11-16 15:12:52 +01:00
Roberto Viola
e29b7f1356 swag bag edited in order to be accepted from the app store 2022-11-16 14:16:00 +01:00
Roberto Viola
036f0c4fc9 Blank Screen/No Metrics after Class #857 2022-11-15 14:00:25 +01:00
Roberto Viola
2ff9cdeba6 Apple Watch/Health integration - indoor walk for treadmill instead of indoor cycle #924 2022-11-15 09:27:07 +01:00
Roberto Viola
1b7e61e77a Life Fitness Treadmill FTMS #1018 2022-11-15 08:17:14 +01:00
Roberto Viola
5affe4b687 Add Virtual Pod mode #45 2022-11-14 16:16:46 +01:00
Roberto Viola
5f6d3cc7f3 Footpod (Stryd) support with manual incline #1038 2022-11-14 15:33:14 +01:00
Roberto Viola
c651c682c3 inCondi ET660i support #1007 2022-11-14 08:42:43 +01:00
Roberto Viola
6163b967f7 NordiTrack T 7.0 treadmill #1030
fixing start
2022-11-14 08:33:24 +01:00
Roberto Viola
0c1c25823c Life Fitness Treadmill FTMS #1018 2022-11-14 08:16:12 +01:00
Roberto Viola
30046c8177 Merge pull request #1035 from cagnulein/ftmsCRR
FTMS CRR implemented
2022-11-12 18:30:17 +01:00
Roberto Viola
c893180e4d added QZ_EnableDiscoveryCharsAndDescripttors to domyostreadmill and fitmetria 2022-11-12 09:37:51 +01:00
Roberto Viola
5d49fa8174 ios project updated 2022-11-11 19:59:46 +01:00
Roberto Viola
e0f8c30a94 build issue fixed 2022-11-11 19:58:50 +01:00
Roberto Viola
a4b7eb7ebb fixed build issue 2022-11-11 19:57:12 +01:00
Roberto Viola
ee3067baa0 qmdnsengine doesn't work anymore with iOS 16 or Ventura #1011 2022-11-11 19:54:39 +01:00
Roberto Viola
73a1d8dbb6 fixing qml error 2022-11-11 16:04:37 +01:00
Roberto Viola
63f778c32d added also the wind resistance 2022-11-11 15:37:54 +01:00
Roberto Viola
9d50363a9c removing the gain from the CRR formula 2022-11-11 15:19:17 +01:00
Roberto Viola
7dc112b6f5 implemented 2022-11-11 15:08:16 +01:00
Roberto Viola
3b1a478822 Life Fitness Treadmill FTMS #1018 2022-11-11 09:09:59 +01:00
Roberto Viola
e114745d5f Pace (Treadmill Only) on 3d maps #1020
pin updated
2022-11-10 12:00:01 +01:00
Roberto Viola
a18818d5fe Pace (Treadmill Only) on 3d maps #1020 2022-11-10 10:08:46 +01:00
Roberto Viola
c5fdf4a9bf Life Fitness Treadmill FTMS #1018 2022-11-10 04:39:49 +01:00
Roberto Viola
f45610343b reverting all the iOS mdns madness. Let's wait an answer from Apple 2022-11-10 04:19:45 +01:00
Roberto Viola
f45dd3bfed adding some protection to the domyostreadmill 2022-11-09 20:58:05 +01:00
Roberto Viola
5d0f0138a5 peloton power zone metrics fail #1033 2022-11-09 16:47:36 +01:00
Roberto Viola
827285ede0 JK fitness 577 bike #1032 2022-11-09 09:57:03 +01:00
Roberto Viola
df759a14a1 Android version 2.11.89 2022-11-09 08:10:41 +01:00
Roberto Viola
2b38d4fbe3 JK fitness 577 bike #1032 2022-11-09 08:09:54 +01:00
Roberto Viola
2dccd4016a qmdnsengine doesn't work anymore with iOS 16 or Ventura #1011 2022-11-08 14:59:00 +01:00
Roberto Viola
06ccf9136b Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-11-08 13:37:12 +01:00
Roberto Viola
66e3420abc JK fitness 577 bike #1032 2022-11-08 13:37:09 +01:00
Bepo7012
650fc81c6d Test Videos with higher fps Rates (#1024)
* Test Videos with higher fps Rates

* Set the speed limit higher, no longer a Problem

* iOS project updated

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
2022-11-08 12:14:47 +01:00
Roberto Viola
dff786dd2a NordiTrack T 7.0 treadmill #1030 2022-11-08 11:57:08 +01:00
Roberto Viola
78bc2b2d97 Life Fitness Treadmill FTMS #1018 2022-11-08 08:03:50 +01:00
Roberto Viola
bd79b30eda fixing integer cast for inclination for the proform wifi bike 2022-11-07 14:55:31 +01:00
Roberto Viola
2a6a4e3db8 Disable TTS prefixes for frequent repetitions #986 2022-11-07 14:23:14 +01:00
Roberto Viola
8af33b0845 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-11-06 07:28:57 +01:00
Roberto Viola
cdb09471b1 iOS project updated 2022-11-06 07:28:47 +01:00
Andrea Gelmini
f5c7b1d891 Fix typos (#1025) 2022-11-05 07:05:53 +01:00
David Mason
7908420622 #962 Bluetooth details to settings for all devices (#963)
* #962 factored out the setting of the last bluetooth device settings to a method

* #962 call setLastBluetoothDevice for every device

* #962 fixed typos

* #962 whitespace adjustments

* #962 whitespace adjustments

* #962 updated qmdnsengine submodule to HEAD

Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2022-11-04 14:01:58 +01:00
Roberto Viola
e0ba6e6f08 Octane Fitness Q37xi Support #1023 2022-11-04 12:12:26 +01:00
Roberto Viola
c9cb0e5728 QZ / ZWIFT / Treadmill / Smartwatch: Different distance value #1022 2022-11-04 08:36:55 +01:00
Roberto Viola
43c263bd22 GPX Issues on Treadmill #973 2022-11-03 14:54:31 +01:00
Roberto Viola
1f38aee4d0 GPX Issues on Treadmill #973
cesium metrics on the bottom right and with a rounded green box around
2022-11-03 12:25:52 +01:00
Roberto Viola
424d98cb80 using watt gain and watt offset even for target_watt for proform bikes 2022-11-03 12:24:42 +01:00
Roberto Viola
8869913c4e Differences in the GPX starting point #988
new pin point in the 3d map
2022-11-03 10:04:52 +01:00
Roberto Viola
69d9b23b6e Fitshow FTMS bike doesn't send metrics #1019 2022-11-03 08:20:23 +01:00
Roberto Viola
c9b215ff44 Life Fitness Treadmill FTMS #1018 2022-11-03 08:06:03 +01:00
Roberto Viola
ee8c66d3e8 bluetooth discovery fitfan improvement 2022-11-02 16:01:11 +01:00
Roberto Viola
c2589f7f26 AVG Watts per Lap #1009 2022-11-02 15:03:48 +01:00
Roberto Viola
8dd3ff6340 Preset resistance tiles #493 2022-11-02 14:36:43 +01:00
Roberto Viola
82e075798c inCondi ET660i support #1007 2022-11-02 08:42:55 +01:00
Roberto Viola
732e84d2e3 new raspberry install #1014 2022-10-31 11:05:59 +01:00
Roberto Viola
c2d0176b67 ios dircon permission fixed #1011 2022-10-28 23:46:43 +02:00
Roberto Viola
01ef11496d proformwifibike: send only 0.5 inclination 2022-10-28 14:53:48 +02:00
Roberto Viola
0c768a4943 optimizing bluetooth traffic over fitmetria 2022-10-28 14:43:43 +02:00
Roberto Viola
9e63e31954 erg mode added to proformwifiibike 2022-10-28 11:49:27 +02:00
Roberto Viola
c7efa0e5ad fixing a problem with the speed based on power setting enabled
if the wattage was evaluated after the speed in the bike module, the speed was always 0
2022-10-28 09:57:13 +02:00
Roberto Viola
0b9de9509c Differences in the GPX starting point (Issue #988) 2022-10-28 09:17:47 +02:00
Roberto Viola
92dbbcaf5a preparing version 2.11.84 2022-10-28 08:36:35 +02:00
Roberto Viola
d8951ab83e Differences in the GPX starting point #988
chartjs color typo
2022-10-28 08:35:45 +02:00
Roberto Viola
a4bd3cfd6e iOS version 2.11.83 2022-10-26 18:26:09 +02:00
Roberto Viola
83637aa626 adding ECH-UK as another name of echelon stride 2022-10-26 17:40:19 +02:00
Roberto Viola
f65ecd3df7 fixing speed gain and offset to the calculateSpeedFromPower function 2022-10-26 15:13:22 +02:00
Roberto Viola
7e11c740ac Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-10-26 14:26:12 +02:00
Roberto Viola
7b4102964e Apple Watch Miles and Km conversion #1006 2022-10-26 14:26:05 +02:00
Roberto Viola
c706b2db71 Merge pull request #1008 from Bepo7012/master
Added Debug for Video Jump Issues
2022-10-26 12:04:00 +02:00
Bepo7012
70f5b627d1 Added Debug for Video Jump Issues 2022-10-26 11:19:15 +02:00
Roberto Viola
547bd51673 build issues 2022-10-26 10:23:51 +02:00
Roberto Viola
b42f684bbf inCondi ET660i support #1007 2022-10-26 09:46:29 +02:00
Roberto Viola
8434cebdc7 version 2.11.83 2022-10-26 08:28:11 +02:00
Roberto Viola
9f7886af58 Differences in the GPX starting point #988 2022-10-26 08:27:38 +02:00
Roberto Viola
82f3cf227d Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-10-25 16:15:44 +02:00
Roberto Viola
8708bb76cc android version 2.11.82 2022-10-25 16:12:11 +02:00
Roberto Viola
3a23d6798a Merge pull request #1005 from Bepo7012/master
Fix for INF Calculation in cagnulein#973
2022-10-25 15:46:21 +02:00
Bepo7012
9d3457b53c Update trainprogram.cpp
Fix for INF Calculation in cagnulein#973
2022-10-25 15:42:42 +02:00
Roberto Viola
e0f5c90d93 Spirit XT385 not able to get working, Gets discovered but can't see Qdomyos in Zwift Discovery. #833 2022-10-25 14:24:45 +02:00
Roberto Viola
46d2d0c346 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-10-25 11:52:36 +02:00
Roberto Viola
dc2876f80a Differences in the GPX starting point #988 2022-10-25 11:52:29 +02:00
Roberto Viola
73767d68fe Merge pull request #999 from drmason789/iconcept_virtualdevice_setup_998
#998 only attempt to set up virtual device on first update
2022-10-25 11:44:19 +02:00
Roberto Viola
ee840abd5e Merge pull request #1003 from drmason789/kingsmith_searchingStop_removal_1000 2022-10-25 06:55:14 +02:00
David Mason
31d401a1df #1000 removed searchStopped check from virtual device setup 2022-10-24 21:25:40 +01:00
David Mason
05a0184f03 #998 only attempt to set up virtual device on first update 2022-10-24 20:54:50 +01:00
Roberto Viola
1707f7c8ff yesoul target resistance fixed on zwift 2022-10-24 21:22:19 +02:00
Roberto Viola
c0b4ea071e fixing typo 2022-10-24 16:46:27 +02:00
Roberto Viola
7a2528d007 Merge pull request #997 from cagnulein/preset_tiles
Preset resistance tiles (#493)
2022-10-24 15:31:02 +02:00
Roberto Viola
1a37a4c3b2 Preset resistance tiles (#493) 2022-10-24 15:27:18 +02:00
Roberto Viola
ed1568c583 Spirit XT385 not able to get working, Gets discovered but can't see Qdomyos in Zwift Discovery. #833 2022-10-24 08:45:43 +02:00
Roberto Viola
69d95ee27d Spirit XT385 not able to get working, Gets discovered but can't see Qdomyos in Zwift Discovery. #833 2022-10-22 13:07:53 +02:00
Roberto Viola
1cfb556e6c Merge pull request #992 from jwatral/ant_plus_speed_channel_controller_fix_167
fixed speed value conversion in SpeedChannelController #167
2022-10-20 08:30:02 +02:00
Roberto Viola
20a0b9e968 helper label added 2022-10-20 08:29:15 +02:00
Jaroslaw Watral
57dd826033 removed cadence reference usage in ChannelService 2022-10-20 00:09:54 +02:00
Jaroslaw Watral
fe7e259db3 fixed speed value conversion in SpeedChannelController 2022-10-20 00:01:30 +02:00
Roberto Viola
88ba5a5239 Differences in the GPX starting point #988 2022-10-19 10:24:42 +02:00
Roberto Viola
bbd586895a keeping useful modification 2022-10-18 21:40:08 +02:00
Roberto Viola
ae1d25208e Revert "Differences in the GPX starting point #988"
This reverts commit 2b19896498.
2022-10-18 21:39:11 +02:00
Roberto Viola
2b19896498 Differences in the GPX starting point #988 2022-10-18 14:33:48 +02:00
Roberto Viola
ea6c5c1190 version 2.11.75 2022-10-18 08:03:27 +02:00
Roberto Viola
50bb52c15c gpx without timestamp fixed 2022-10-17 23:19:31 +02:00
Roberto Viola
be4454563b version 2.11.74 for android 2022-10-17 16:54:42 +02:00
Roberto Viola
0ac29a4470 Disable TTS prefixes for frequent repetitions #986 2022-10-17 14:41:29 +02:00
Roberto Viola
136c807f16 Android 2 Android Wahoo Kickr direct no data #983 2022-10-17 11:58:10 +02:00
Roberto Viola
c74e3545d4 Android 2 Android Wahoo Kickr direct no data #983 2022-10-17 10:59:15 +02:00
Roberto Viola
a05345264c adding wifi permissions on android in order to collect the ip address of the wifi for dircon 2022-10-16 20:22:04 +02:00
Roberto Viola
92c10f3042 GPX Issues on Treadmill #973 2022-10-16 14:24:31 +02:00
Roberto Viola
76935090a4 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-10-16 10:43:09 +02:00
Roberto Viola
2b0accb933 Merach MRK-S02-0B8D Resistance Change #984 2022-10-16 10:43:05 +02:00
Brad Stoney
26e2146051 Update 30_usage.md (#985)
Updated -qml default and added -noqml
2022-10-16 10:39:01 +02:00
Roberto Viola
f552f27224 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-10-16 09:36:28 +02:00
Roberto Viola
05deaa76fc GPX Issues on Treadmill (Issue #973 2022-10-16 09:36:24 +02:00
Roberto Viola
8d79fb3f35 android version 2.11.70 2022-10-14 08:03:38 +02:00
Roberto Viola
ec748b695e calling watts() instead of m_watt on speed based on power formula 2022-10-14 08:02:42 +02:00
Roberto Viola
8618384bb6 Pro FlexCycle #979 2022-10-13 14:46:43 +02:00
Roberto Viola
11e1117611 adding debug on ftmsbike 2022-10-13 13:38:40 +02:00
Roberto Viola
ba08f656fe adding a setting for zwift compatibility #476 2022-10-13 13:33:58 +02:00
Roberto Viola
af875a7295 Wahoo Direct Connect #476 RGT compatibility fixed
Tested with RGT and Zwift on iOS
2022-10-13 11:49:12 +02:00
Bepo7012
56e38e650a Keep Video and Gpx Position synchronized (Addition to #838) (#945)
* Speed up debugging on Windows

* Added new way for Video Rate

* Tried another Variant

* Fixed double double Conversion

* Splitted Videopos Rate and Frame rate

* Fixed new calculation

* Very easy possible solution

* Simple try

* Not really better, another try

* Adjust both Endpoints for calculation

* Framerate set

* Collecting Data

* Use average Rate

* Adjusted Videoframe Distance

* Fixed correction

* use weighted mean rate

* Played with factor weighting

* Found logic Error in Video Rate

* Factor weighting and try reduce flickering

* Fixed weighting of Rates

* New Idea

* Bad  Idea, changed Factor weighting again

* Code cleanup before Pull Request

* added Time difference for testing spec. Video

* Test should not be in Pull Request

* reverted debug on main.cpp

* ios version 2.11.54

* Fixed rewinding Video

* Variable Weighting Videorate/Framerate

* Added changes again for windows debug

* Different Aproach again

* Fixed wrong speed calc

* Add adjustment to rate based on time difference

* try higher or lower rate by 10% first

* Adjusted the Rate Base

* Removed the Rate % adoption

* video length added

* Implemented Referencepoint at End of Video

* Corrected Video start Time

* Init Videotimestamp with Traintimestamp at Start

* Fixed comparence

* Added trainProgram::TotalGPXSecs

* Corrected return

* Time to finish

* Removed Test and Debug changes in main.cpp

* Debug Message removed for next Windows Build

* Setting Video to correct Pos if length differs

* Don't do anything if Video isn't displayed

* fixed visible

* fixed visible comparison

* added videoSeekPosition in order to change the position of the video in realtime

* Implemented Video Adjustment on start

* Correct Videotimestamp every time if needed

* As usual, fixed Typo

* Reversed Video Timestamp correction

* Implemented case that Video is shorter then gpx

* Approach should be smoother

* Corrected shorter Video

* Fixed Video starting point if hidden/redisplayed

* Reverted Debug changes in main.cpp

* adding acceleration in the calculation of the speed based on wattage

* fixing negative speed values

* Windows debugging again

* added Debug Info to calculateSpeedFromPower

* Moved Watt calc up to have it for Speed calc

* Corrected Start for shorter Videos

* Try to use smaller Frame for average Video Speed

* Use Fullrate if Diff is to high

* Changed high difference rate

* adjusted factor

* Add 1 % of Timediff to Totalrate

* Not successfull, removed again

* rolling resistance setting added

* Hopefully the last approach

* Corrected Target

* Remarked some Things to get Debug Data

* use only 90 % of rate

* Only adjust factor one time per gpx Cycle

* Try Percent adoption

* fixing changeTimestamp callback with milliseconds precision

* Removed % in-/decrease

* Removed call to changeTimestamp

* removed avgInclination for bikes #838

* Test for Debug

* fixing distance error on trxappgateusbbike when speed was calculated over wattage

* tried fake bike

* Use a 2 sec Window

* Added changed Header definition

* try to fix gaps in gps

* Added some Debug Info

* Changed Params for Fake

* Removed 2 seconds frame

* Try Speed without average

* Debug Output Trainprogram

* Add more Debug for Trainprogram

* Removed Trainprogram Debug

* Tried avg. Speed -3/+3 secs

* Fix Bug in avgSpeedCalculation

* try to limit the rate change

* Fixed limiting

* Fixed again

* Fixed init of Limitation

* Removed Limitation, not working as hoped

* Check speed Deviation between 90 and 110 %

* Search for speed in 6 Secs/clearify Property-Names

* Fixed Typo

* Fixed Bug in gpx average Speed calculation

* Changed Filerrange from +/- 15 %

* Fixed possible segmentation Fault

* improving precision in the debuglog

* fixing elapsed time #838

* changeTimestamp again when next point reached

* fixing wrong ratiodistance

* qzsettings updated

* Save currentStepDistance before set to 0

* currentStop is already incremented, use -2

* use Distance from prev.Row too

* currentStep -1 distance and -2 time

* Don't use Point 1

* just a try

* Should be correct now

* changed distance

* fixing merge issues

* fixing another merge issue

* updating ios project

* fixing circuit gpx for video

* caching the odometer for all the scheduler event and removing the changetimestamp not time based

* Calc RatioDistance with Timediff between Points

* do this only if the point get hits first

* Calc distanceRow to gpx Diff

* only use currentStepDistance added since last

* Ratio Time has to be summed

* Redesign the process

* fixed typo

* Forgot one change

* fixed crash

* hopefully fixed now

* only add ratioDistance one time

* Added debug Info

* Filter changingTimestamp if Variance to high

* added Debug Info

* fixed Variance calculation

* fixed typo

* Store last Tick/TimeStamp Ratio for next cycle

* moved ratioDistance in correct scope

* Add ratioDistance, not calculated Ratio

* Back to Ratio again, better Results

* add ms not s

* changed Variance Range to -25/+25%

* Apply filtering Speed to trainingrows

* header definition added

* Fixed typo

* fixed array access

* accessing row data

* fixed bug when timetotickratio was 0

* logic Error

* fix bug in wma calculation

* added more detail to debug

* Calculate new distance into temporary array before

* fixed typo

* removed filter in changing timestamp

* Removed some routines no longer needed

* Remove peak Filter ompletely, no longer needed

* fixed crash at end of program

* fixing ios build and applySpeedFilter only on gpx workout

* adding running cadence from apple watch to ipad

* Fix for iOS Crash?

* fixing treadmill force speed setting with applyspeedfilter on

* adding speedlimit to bike

* Update trainprogram.cpp

Max.Speed for Bikes (=2 * avg current Trainprogram Speed) implemented

* Update trainprogram.cpp

changed to max speed to get a max replay factor of 1.9

* fixing speed limit

* removing bad check on the speedlimit

* adding a new method to know if the video is visible and reset the speed limit

* Fixed Issues on video hiding/redisplaying

 Also makes the first display a little nicer

* Removed no longer needed filterSeconds

The Option in the setting can also be removed, it's no longer needed

* Try to calculate the Speedlimit +1sec

* video_playback_window setting removed

* preparing for the merge

* removed unuseful coment

Co-authored-by: Roberto Viola <cagnulein@gmail.com>
Co-authored-by: Bernhard Ponemayr <bernhard.ponemayr@voglauer.com>
2022-10-13 10:56:12 +02:00
Roberto Viola
3b75f4fa94 Zwift Workouts Over Cadence #980 2022-10-13 10:48:23 +02:00
Roberto Viola
7e18946909 Update settings.qml 2022-10-12 18:16:34 +02:00
Roberto Viola
6edde653b6 Average Speed in the Email doesn't match #977 2022-10-12 09:54:24 +02:00
Roberto Viola
caedc73901 Bike Support Merach MRK-S02-0B8D #978 2022-10-12 09:46:40 +02:00
Roberto Viola
19e552f4cd Pro FlexCycle #979 2022-10-12 08:18:08 +02:00
Roberto Viola
6dc46aa689 license request every 30s 2022-10-11 17:18:27 +02:00
Roberto Viola
2cce91beea fixed typo 2022-10-11 17:03:32 +02:00
Roberto Viola
4824b65590 GPX Issues on Treadmill #973
speed on treadmill fixed
2022-10-11 16:59:15 +02:00
Roberto Viola
f327d13252 fix typo 2022-10-10 20:45:56 +02:00
Roberto Viola
e1a4bbb19a fixin avg inclination for treadmill 2022-10-10 20:31:02 +02:00
Roberto Viola
e11d4610a9 fixing build error on iOS 2022-10-10 20:17:11 +02:00
Roberto Viola
68d1eb678f GPX Issues on Treadmill #973 2022-10-10 16:26:50 +02:00
Roberto Viola
95d1f1fd8e Merge pull request #976 from nzbrian/master
Adding ESLinker YPOO Mini Change treadmill
2022-10-10 10:05:36 +02:00
Brian Bannister
ceaa5f0fa2 Adding ESLinker YPOO Mini Change treadmill 2022-10-10 18:22:53 +13:00
Roberto Viola
efede4bee0 GPX Issues on Treadmill #973 2022-10-09 08:26:46 +02:00
Roberto Viola
18787431a6 fixed crash for nautilus treadmill 2022-10-08 19:55:17 +02:00
Roberto Viola
e30e3c85e3 GPX Issues on Treadmill #973
map icon showed only when speed forcing for treadmill is disabled
2022-10-08 15:19:05 +02:00
Roberto Viola
e5724b43db fixed qzsettings usage 2022-10-08 03:02:45 +02:00
Roberto Viola
2428b4c230 GPX Issues on Treadmill #973 2022-10-07 14:30:34 +02:00
Roberto Viola
cf111ab23c Merge pull request #974 from cagnulein/cherrypickingfromvideobranch
Cherry-picking from video branch
2022-10-07 13:59:38 +02:00
Roberto Viola
3c37f1d77b fixing another merge issue 2022-10-07 12:23:59 +02:00
Roberto Viola
e0a79b51d3 updating ios project 2022-10-07 12:23:33 +02:00
Roberto Viola
5de8e7f1d8 rolling resistance setting added 2022-10-07 12:22:13 +02:00
Roberto Viola
45ddd78624 fixing negative speed values 2022-10-07 12:19:16 +02:00
Roberto Viola
b47d605999 adding acceleration in the calculation of the speed based on wattage 2022-10-07 12:18:40 +02:00
Roberto Viola
b2ea235729 using qzsettings in kcal on fitshowtreadmill 2022-10-06 12:23:45 +02:00
Roberto Viola
875764ac5c fixing kcal and distance for fitshowtreadmills 2022-10-06 08:46:29 +02:00
David Mason
832fd25edb #948 Set string values in cpp file to lower output size (#972)
* #948 copied settings.qml to qzsettings.h

* #948 removed non-settings content

* #948 adjusted tabs

* #948 converted to C++

* #948 move defaults to next line

* #948 fixed invalid bool value from settings.qml

* #948 converted settings.value

* #948 added settings keys and defaults that are not in settings.qml. Fixed some build errors.

* #948 comment fixes

* #948 fixed comments

* #948 include qzsettings.h

* #948 added missing settings keys that are not in settings.qml

* #948 include qzsettings.h

* #948 fixed comment

* #948 changed settings key name to match the one from settings.qml

* #948 converted a QLatin1String to QStringLiteral in qzsettings.h

* #948 added placeholders for comment/documentation

* #948 added function to qDebug log the settings from the QZSettings constants

* #948 some missing usage of new constants

* #948 removed superfluous )

* #948 restored some defaults reading the settings that were not constants. Added some docs on the settings keys.

* #948 some removal of the commented out old defaults for QSettings.value. having checked they match the default obtained from settings.qml

* #948 updates based on feedback about defaults that differ from settings.qml

* #948 removed most of the remaining commented-out defaults having checked them individually against the constants the were replaced with.

* #948 removed more of the remaining commented-out defaults having checked them individually against the constants the were replaced with.

* #948 another use of settings constant

* #948 added missing keys, write settings to debug log from qzsettings in main.cpp. Sort the qdebug dump from qzsettings by key.

* #948 removed unused variable and settings read.

* #948 removed another commented, previously hardcoded default.

* #948 filled in some @briefs, deleted others where deemed to be self explanatory, or  very device specific. A few remain, for more consideration.

* #948 processed most remaining commented out hardcoded default settings values

* #948
- updates for PR review feedback
- factored out setting of last bluetooth device settings

* #948 restored original user_email defaults, and made the constant for it a QLatin1String (though not actually used)

* #948 restored defaults in homeform::sortTiles

* #948 filled in some more @briefs

* #948 added new nordictrack device setting

* Update proformbike.cpp

* removing the qdebugallsettings from main

* #948 set string values in cpp file to lower output size

Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2022-10-06 08:45:51 +02:00
Roberto Viola
c526d4e675 trying const char instead of qstring for qzsettings (#971) 2022-10-05 18:20:31 +02:00
Roberto Viola
bb8e0f0417 NordicTrack GX 2.7 U #964 2022-10-05 17:27:20 +02:00
Roberto Viola
9cbf72d594 Schwinn 510T #970 2022-10-05 16:28:13 +02:00
Roberto Viola
df65f0d951 android build fixed 2022-10-05 16:26:08 +02:00
Roberto Viola
2325635b28 NordicTrack GX 2.7 U #964 2022-10-05 14:48:40 +02:00
David Mason
1d9c24ba91 Use of named constants for settings keys and default values (#950)
* #948 copied settings.qml to qzsettings.h

* #948 removed non-settings content

* #948 adjusted tabs

* #948 converted to C++

* #948 move defaults to next line

* #948 fixed invalid bool value from settings.qml

* #948 converted settings.value

* #948 added settings keys and defaults that are not in settings.qml. Fixed some build errors.

* #948 comment fixes

* #948 fixed comments

* #948 include qzsettings.h

* #948 added missing settings keys that are not in settings.qml

* #948 include qzsettings.h

* #948 fixed comment

* #948 changed settings key name to match the one from settings.qml

* #948 converted a QLatin1String to QStringLiteral in qzsettings.h

* #948 added placeholders for comment/documentation

* #948 added function to qDebug log the settings from the QZSettings constants

* #948 some missing usage of new constants

* #948 removed superfluous )

* #948 restored some defaults reading the settings that were not constants. Added some docs on the settings keys.

* #948 some removal of the commented out old defaults for QSettings.value. having checked they match the default obtained from settings.qml

* #948 updates based on feedback about defaults that differ from settings.qml

* #948 removed most of the remaining commented-out defaults having checked them individually against the constants the were replaced with.

* #948 removed more of the remaining commented-out defaults having checked them individually against the constants the were replaced with.

* #948 another use of settings constant

* #948 added missing keys, write settings to debug log from qzsettings in main.cpp. Sort the qdebug dump from qzsettings by key.

* #948 removed unused variable and settings read.

* #948 removed another commented, previously hardcoded default.

* #948 filled in some @briefs, deleted others where deemed to be self explanatory, or  very device specific. A few remain, for more consideration.

* #948 processed most remaining commented out hardcoded default settings values

* #948
- updates for PR review feedback
- factored out setting of last bluetooth device settings

* #948 restored original user_email defaults, and made the constant for it a QLatin1String (though not actually used)

* #948 restored defaults in homeform::sortTiles

* #948 filled in some more @briefs

* #948 added new nordictrack device setting

* Update proformbike.cpp

* removing the qdebugallsettings from main

Co-authored-by: Roberto Viola <Cagnulein@gmail.com>
2022-10-05 14:13:10 +02:00
Roberto Viola
39ba7402d7 ftmsCharacteristicChanged missing on the virtualtreadmill 2022-10-05 08:56:04 +02:00
Roberto Viola
4e29df685a Open Train Program Update Suggestions[REQ] #968 2022-10-05 08:48:12 +02:00
Roberto Viola
d1f5afce4c Include elevation gain in summary email #966 2022-10-05 07:59:13 +02:00
Roberto Viola
641783d90a improving precision in the qdebug in the gpx.cpp 2022-10-04 16:04:24 +02:00
Roberto Viola
7f6cdf82cf Video again, just to show and see #838
float to double conversion for the lat and lon in the gpx file
2022-10-04 15:55:38 +02:00
Roberto Viola
6e414f8e02 Include elevation gain in summary email #966 2022-10-04 14:05:31 +02:00
Roberto Viola
5f41e9a08d NordicTrack GX 2.7 U #964 2022-10-04 12:03:23 +02:00
Roberto Viola
115cbc0fa1 fix desync from ipad to iphone #957 2022-10-03 15:26:14 +02:00
Roberto Viola
a702d7e4c3 android version 2.11.63 2022-10-03 09:01:37 +02:00
Roberto Viola
cbe3f7de78 starting NordicTrack GX 2.7 U #964 2022-10-03 08:10:26 +02:00
Roberto Viola
0803236439 Should NordicTrack Commercial X11i treadmill work with Android app? #961 2022-10-03 07:31:31 +02:00
Roberto Viola
5c8c8881e0 build issue fixed #957 2022-10-02 08:56:18 +02:00
Roberto Viola
1bbca34ca5 writing distance and kcal to iphone #957 2022-10-02 07:22:49 +02:00
Roberto Viola
37e98fa0a6 android version 2.11.62 2022-10-02 06:45:48 +02:00
Roberto Viola
9498aa5501 bidirectional Apple Watch communication to IPad #957 2022-10-01 17:24:59 +02:00
Roberto Viola
e659322a0b removing assert for wrong HR devices 2022-10-01 15:21:06 +02:00
Roberto Viola
b74a5b3f8b also the iphone should connect to the ipad to collecting distance and kcal #958 2022-10-01 07:13:20 +02:00
Roberto Viola
6e2541d1b7 Merge pull request #960 from drmason789/ios_peloton_workaround_default_959 2022-10-01 06:37:02 +02:00
David Mason
647717cd73 #959 changed default for reading ios_peloton_workaround setting to true 2022-10-01 00:22:47 +01:00
Roberto Viola
56a09fad21 Merge pull request #958 from cagnulein/AppleWatchFromIpad
Apple Watch to iPad
2022-09-30 22:31:46 +02:00
Roberto Viola
b156396d1c it's working! (at least the hr) 2022-09-30 22:27:56 +02:00
Roberto Viola
ae1f099703 not tested code, but the idea should works 2022-09-30 16:21:48 +02:00
Roberto Viola
07d62ed9ad trying the bonjour approach 2022-09-30 15:53:41 +02:00
Roberto Viola
a8cf95380c adding the multicast entitlement 2022-09-29 13:55:10 +02:00
Roberto Viola
48f2d479a3 first test for Apple Watch on iPad 2022-09-29 12:15:20 +02:00
Roberto Viola
67515b94c9 adding issuehunt account 2022-09-29 10:09:03 +02:00
Roberto Viola
f1b05c5975 #923 horizon profiles can't accept letters 2022-09-28 17:27:43 +02:00
Roberto Viola
2e1d3b03c7 iOS version 2.11.62 2022-09-28 16:54:31 +02:00
Roberto Viola
79e3be71ca Merge pull request #951 from cagnulein/horizontreadmill7_4
Horizon treadmill 7.4
2022-09-28 16:52:16 +02:00
Roberto Viola
82717a6775 Revert "trying to fix some strange init situation #923"
This reverts commit f4b9be340f.
2022-09-28 15:09:41 +02:00
Roberto Viola
1f0582e0d0 license retry 2022-09-28 14:58:29 +02:00
Roberto Viola
f4b9be340f trying to fix some strange init situation #923 2022-09-28 09:52:57 +02:00
Roberto Viola
43d6e6c233 removed the - 500 meter offset from fit file (strava seems to doesn't consider it)
https://www.strava.com/activities/7873313493
2022-09-27 09:39:02 +02:00
Roberto Viola
2e608cae22 Resistance control BH Fitness i.CARBON BIKE DUAL H8705LW with the DualKit FTMS Extension #912 2022-09-26 14:28:56 +02:00
Roberto Viola
0d8dd957ad fixing build error on iOS 2022-09-26 11:32:36 +02:00
Roberto Viola
810391f03b Apple Watch/Health integration - indoor walk for treadmill instead of indoor cycle #924 2022-09-26 11:14:01 +02:00
Roberto Viola
386484d03b Resistance control BH Fitness i.CARBON BIKE DUAL H8705LW with the DualKit FTMS Extension #912 2022-09-26 10:54:14 +02:00
Roberto Viola
2c2436a430 Resistance control BH Fitness i.CARBON BIKE DUAL H8705LW with the DualKit FTMS Extension #912 2022-09-26 09:58:58 +02:00
Roberto Viola
06c178cbff fixing profiles 2022-09-26 08:30:57 +02:00
Roberto Viola
ce22fef00d fixed wrong index and segmentation fault 2022-09-25 09:15:04 +02:00
Roberto Viola
4c49918a97 fixing wrong index #923 2022-09-24 20:24:09 +02:00
Roberto Viola
88344438a7 fixing decimal point on distance on apple watch 2022-09-22 17:25:28 +02:00
Roberto Viola
09d8881b43 profiles for horizon in the settings added 2022-09-22 14:22:29 +02:00
Roberto Viola
83fe4e19ec fixing pid heart (double issue) #427 2022-09-22 12:06:29 +02:00
Roberto Viola
5733889e8a CRC function for updating the profile messages 2022-09-22 08:59:10 +02:00
Roberto Viola
5895f5cc7c Merge branch 'master' into horizontreadmill7_4 2022-09-22 08:08:41 +02:00
Roberto Viola
94830044f6 disabling qml too if the no-gui selector is enabled 2022-09-21 08:10:09 +02:00
Roberto Viola
3200cf2b28 PID function a little pushy #427 2022-09-20 14:34:51 +02:00
Roberto Viola
38cb8f4ccd Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-09-20 11:00:35 +02:00
Roberto Viola
73a20b9980 Avoidance of compiler warning #936 2022-09-20 11:00:33 +02:00
Roberto Viola
57b06c2143 Merge pull request #937 from cagnulein/Speed-Sensor
Speed Sensor #935
2022-09-20 10:22:30 +02:00
Roberto Viola
583ab09dc4 fixing battery cscbike issue 2022-09-20 10:18:33 +02:00
Roberto Viola
67a5f8612f fixing memory overflow 2022-09-20 09:43:40 +02:00
Roberto Viola
14c91a308b Profiles seem to overwrite each other #947 2022-09-20 08:57:49 +02:00
Roberto Viola
8995cf866c disabling HR from FTMS rower is now possible 2022-09-20 08:44:35 +02:00
Roberto Viola
3808619f3e reverting tunturi fix 2022-09-18 19:40:18 +02:00
Roberto Viola
3206a28199 trying to fix communication error on TUNTURI_2 #920 2022-09-18 18:56:43 +02:00
Roberto Viola
216e6874b2 Tunturi E60 Performance combatibly (Discussion #920)Tunturi E60 Performance combatibly (Discussion #920) 2022-09-18 16:06:56 +02:00
Roberto Viola
28aaf7fbff Bodytone DS25 2022-09-18 15:41:06 +02:00
Roberto Viola
55d4467886 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-16 16:17:41 +02:00
Roberto Viola
f1887b7ea1 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-16 14:54:58 +02:00
Roberto Viola
a8bc82c2d0 2.11.53 2022-09-16 14:21:21 +02:00
Roberto Viola
3b2dcaef43 Yesoul C1H #944 2022-09-16 13:58:22 +02:00
Roberto Viola
cd217d4f38 Connecting TUNTURI Fitcycle 50i #932 2022-09-16 11:31:31 +02:00
Roberto Viola
c5e113bd20 bluetooth device setting to max width 2022-09-16 10:10:18 +02:00
Roberto Viola
d63eafe0b3 fixed build issue #838 2022-09-16 09:59:29 +02:00
Roberto Viola
ea69aa2251 adding the videotimestamp #838 2022-09-16 09:52:46 +02:00
Roberto Viola
e697842df7 Merge pull request #941 from cagnulein/quit_button
Quit option #939
2022-09-15 08:41:28 +02:00
Roberto Viola
909bc2dbc5 use "nickname" setting to profiles name #923 2022-09-14 15:14:13 +02:00
Roberto Viola
d152c5d9c6 Quit option #939 2022-09-14 10:47:16 +02:00
Roberto Viola
dad642e82d trying to remove profiles #923 2022-09-14 10:32:27 +02:00
Roberto Viola
c3d757a872 Connecting TUNTURI Fitcycle 50i #932 2022-09-12 15:16:57 +02:00
Roberto Viola
a1cd69d68f Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-12 14:48:23 +02:00
Roberto Viola
cd6edddea0 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-12 14:04:24 +02:00
Roberto Viola
22a8352963 Speed Sensor #935 2022-09-12 11:11:04 +02:00
Roberto Viola
997b04ee54 Horizon GR7 Spin Bike #477
bike without the 2AD2 characteristic
2022-09-12 10:30:15 +02:00
Roberto Viola
835b1c3956 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-12 10:16:57 +02:00
Roberto Viola
097e23d20b Support for Whipr kayak please #653 2022-09-12 08:15:42 +02:00
Roberto Viola
51e55a81e7 Video again, just to show and see #838 2022-09-10 21:01:44 +02:00
Roberto Viola
95eeae56cc Connecting TUNTURI Fitcycle 50i #932 2022-09-10 19:06:04 +02:00
Roberto Viola
90278bd6b2 ios 2.11.49 2022-09-10 17:21:37 +02:00
Roberto Viola
32c0019f89 fixing ftms rower bug in the kcal metric 2022-09-10 17:14:48 +02:00
Roberto Viola
f8df2c580b Open Video again, just to show and see #838 2022-09-10 13:10:40 +02:00
Roberto Viola
38dce24e26 Kickr Rollr #934 2022-09-10 13:09:21 +02:00
Roberto Viola
5bfa16ace1 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-09 14:43:21 +02:00
Roberto Viola
7b0819dce2 Horizon GR7 Spin Bike #477 2022-09-09 13:56:21 +02:00
Roberto Viola
c349e3d6e4 HR fixed for wifi based devices 2022-09-09 09:38:14 +02:00
Roberto Viola
e6a3ce0d3c Video again, just to show and see (Issue #838) 2022-09-09 09:26:36 +02:00
Roberto Viola
85f8d4454f Merge pull request #928 from cagnulein/VideoWorkoutFooter
Video Workout footer
2022-09-08 20:21:36 +02:00
Roberto Viola
3ea6780fe7 version 2.11.46 2022-09-08 20:17:07 +02:00
Roberto Viola
8c2598f2c6 Video again, just to show and see #838 2022-09-08 20:16:06 +02:00
Roberto Viola
6c987ef4bf Merge pull request #930 from drmason789/discovery_927 2022-09-07 21:46:39 +02:00
David Mason
970915996a #927 log a qDebug when stopDiscovery is called when the discovery agent is null 2022-09-07 20:42:32 +01:00
David Mason
7159812dbc #927 route starting and stopping of bluetooth discovery through new functions startDiscovery() and stopDiscovery() 2022-09-07 20:17:51 +01:00
Roberto Viola
515ec1605b faketreadmill HR fixed 2022-09-07 21:14:52 +02:00
Roberto Viola
00802d1374 qz immediately crashes (Issue #929) 2022-09-07 21:03:00 +02:00
Roberto Viola
428f07dc6f Video again, just to show and see (Issue #838) 2022-09-07 20:55:45 +02:00
Roberto Viola
dcfb1f9588 Video again, just to show and see #838 2022-09-07 16:52:24 +02:00
Roberto Viola
5736cc6a97 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-07 16:48:59 +02:00
Roberto Viola
146ebd156c Video again, just to show and see #838 2022-09-07 15:18:37 +02:00
Roberto Viola
0ad2c37dcb Video again, just to show and see #838 2022-09-07 12:09:08 +02:00
Roberto Viola
253244abda typo fixed! 2022-09-07 08:34:32 +02:00
Roberto Viola
0ac3d3e944 version 2.11.43 2022-09-06 15:52:35 +02:00
Roberto Viola
c6b1398aa9 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-06 15:45:55 +02:00
Roberto Viola
4ba6862c61 Cant enter colon for times in iOS app under pace options #926 #838 2022-09-06 15:36:18 +02:00
Roberto Viola
9066c4e02a typo fixed 2022-09-06 12:26:42 +02:00
Roberto Viola
9349996989 adding some debug to changeTimestamp 2022-09-06 09:25:31 +02:00
Roberto Viola
da5157970a Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2022-09-06 09:18:40 +02:00
Roberto Viola
28efbcdd9b Apple Watch/Health integration - indoor walk for treadmill instead of indoor cycle #924 2022-09-06 09:18:29 +02:00
Roberto Viola
10200c1e29 Horizon 7.4 Treadmill starts on its own after app launch #923 2022-09-06 08:45:41 +02:00
Roberto Viola
e37e0853d1 Video again, just to show and see #838 2022-09-06 08:36:15 +02:00
Roberto Viola
4b464ba041 sole f80 treadmill HR builtin handled 2022-09-05 15:56:31 +02:00
Roberto Viola
ff7863a25c Horizon 7.4 Treadmill starts on its own after app launch #923
pause handled
2022-09-05 15:46:44 +02:00
Roberto Viola
72af1701a2 Apple Watch/Health integration - indoor walk for treadmill instead of indoor cycle (Issue #924) 2022-09-05 11:36:23 +02:00
Roberto Viola
487ff2e8e9 Apple Watch/Health integration - indoor walk for treadmill instead of indoor cycle (Issue #924) 2022-09-05 11:23:15 +02:00
Roberto Viola
6cda7cd02c Apple Watch/Health integration - indoor walk for treadmill instead of indoor cycle (Issue #924) 2022-09-05 11:05:01 +02:00
Roberto Viola
77b34e2f41 start event added for horizon treadmill 7.4 2022-09-03 16:26:42 +02:00
Roberto Viola
0e27c87480 Horizon 7.4 Treadmill starts on its own after app launch (Issue #923) 2022-09-03 11:04:50 +02:00
Roberto Viola
fb1bac5e5e "Virtual Treadmill" #917 2022-09-02 09:16:41 +02:00
Roberto Viola
27ea164da1 Spirit Xt485 Treadmill Connection (Log file attached) #918 2022-09-02 08:43:57 +02:00
Roberto Viola
2ec9abc4ad Video again, just to show and see #838
trying a different videorate approach
2022-09-02 08:03:55 +02:00
Roberto Viola
bb1d903e07 Debug log using qdomyos on a proform Tour de France 10.0 bike #877 2022-08-31 14:04:46 +02:00
Roberto Viola
9ccb1ef5d5 Debug log using qdomyos on a proform Tour de France 10.0 bike #877 2022-08-31 12:08:32 +02:00
Roberto Viola
065ee078a2 Merge pull request #913 from cagnulein/android_api_31 2022-08-30 15:27:16 +02:00
Roberto Viola
8b876ac17f footer added and it's working! 2022-08-03 17:56:18 +02:00
954 changed files with 193207 additions and 18638 deletions

2
.github/FUNDING.yml vendored
View File

@@ -7,6 +7,6 @@ ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
issuehunt: cagnulein
otechie: # Replace with a single Otechie username
custom: ['https://www.buymeacoffee.com/cagnulein'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

File diff suppressed because it is too large Load Diff

7
.gitignore vendored
View File

@@ -25,7 +25,6 @@ src/secret.h
build-qdomyos-zwift-Android_Qt_5_15_2_Clang_Multi_Abi-Debug/*
**/node_modules/*
*.pro.user
template-examples/youtube-viewer/node_modules/*
template-examples/youtube-viewer/*.json
@@ -40,8 +39,14 @@ template-examples/train-program-saver/.eslintrc.js
template-examples/train-program-saver/.jshintrc
template-examples/train-program-saver/debug.js
google_test/*
# Qt-es
*.pro.user
*build-*
!build-qdomyos-zwift-Qt_*_for_iOS-Debug # Needed for Apple Watch
src/inner_templates/googlemaps/cesium-key.js
*.autosave
.vscode/settings.json
/tst/Devices/.vs
src/inner_templates/googlemaps/cesium-key.js

11
.gitmodules vendored
View File

@@ -9,3 +9,14 @@
path = src/qmdnsengine
url = https://github.com/cagnulein/qmdnsengine.git
branch = zwift
[submodule "tst/googletest"]
path = tst/googletest
url = https://github.com/google/googletest.git
branch = tags/release-1.12.1
[submodule "src/qthttpserver"]
path = src/qthttpserver
url = https://github.com/qt-labs/qthttpserver
[submodule "zwiftplay"]
path = zwiftplay
url = https://github.com/cagnulein/zwiftplay.git
branch = lib

128
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
roberto.viola83@gmail.com.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

437
QZ_ESP32/QZ_ESP32.ino Normal file
View File

@@ -0,0 +1,437 @@
/** NimBLE_Server Demo:
*
This is working to broadcast Power and Cadence under the Cycling Power Service Profile
Data tested against Edge and Phone
*
*/
#include <Arduino.h>
#include <NimBLEDevice.h>
short powerInstantaneous = 0;
short cadenceInstantaneous = 0;
short speedInstantaneous = 0;
float powerScale = 1.28; // incoming power is multiplied by this value for correction
short resistance = 0; //Not currently doing anything with this value after receiving it
bool notify = false;
// Define stuff for the Client that will receive data from Fitness Machine
// The remote service we wish to connect to.
static BLEUUID serviceUUID("1826"); // Fitness Machine
// The characteristic of the remote service we are interested in.
static BLEUUID charUUID("2ad2"); // Indoor Bike (Fitness Machine)
static BLEUUID HRserviceUUID("180D"); // HR Service
static BLEUUID HRcharUUID("2a37"); // HR Measuremente
static boolean doConnect = false;
static boolean connected = false;
static boolean doScan = false;
static BLERemoteCharacteristic *pRemoteCharacteristic;
static BLEAdvertisedDevice *myDevice;
/*
* Server Stuff
*/
static NimBLEServer *pServer;
/** None of these are required as they will be handled by the library with defaults. **
** Remove as you see fit for your needs */
class ServerCallbacks : public NimBLEServerCallbacks
{
void onConnect(NimBLEServer *pServer)
{
Serial.println("Client connected");
Serial.println("Multi-connect support: start advertising");
NimBLEDevice::startAdvertising();
};
/** Alternative onConnect() method to extract details of the connection.
* See: src/ble_gap.h for the details of the ble_gap_conn_desc struct.
*/
void onConnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)
{
Serial.print("Client address: ");
Serial.println(NimBLEAddress(desc->peer_ota_addr).toString().c_str());
/** We can use the connection handle here to ask for different connection parameters.
* Args: connection handle, min connection interval, max connection interval
* latency, supervision timeout.
* Units; Min/Max Intervals: 1.25 millisecond increments.
* Latency: number of intervals allowed to skip.
* Timeout: 10 millisecond increments, try for 5x interval time for best results.
*/
pServer->updateConnParams(desc->conn_handle, 24, 48, 0, 60);
};
void onDisconnect(NimBLEServer *pServer)
{
Serial.println("Client disconnected - start advertising");
NimBLEDevice::startAdvertising();
};
void onMTUChange(uint16_t MTU, ble_gap_conn_desc *desc)
{
Serial.printf("MTU updated: %u for connection ID: %u\n", MTU, desc->conn_handle);
};
};
/** Handler class for characteristic actions */
class CharacteristicCallbacks : public NimBLECharacteristicCallbacks
{
void onRead(NimBLECharacteristic *pCharacteristic)
{
Serial.print(pCharacteristic->getUUID().toString().c_str());
Serial.print(": onRead(), value: ");
Serial.println(pCharacteristic->getValue().c_str());
};
void onWrite(NimBLECharacteristic *pCharacteristic)
{
Serial.print(pCharacteristic->getUUID().toString().c_str());
Serial.print(": onWrite(), value: ");
Serial.println(pCharacteristic->getValue().c_str());
};
/** Called before notification or indication is sent,
* the value can be changed here before sending if desired.
*/
void onNotify(NimBLECharacteristic *pCharacteristic)
{
Serial.println("Sending notification to clients");
};
/** The status returned in status is defined in NimBLECharacteristic.h.
* The value returned in code is the NimBLE host return code.
*/
void onStatus(NimBLECharacteristic *pCharacteristic, Status status, int code)
{
String str = ("Notification/Indication status code: ");
str += status;
str += ", return code: ";
str += code;
str += ", ";
str += NimBLEUtils::returnCodeToString(code);
Serial.println(str);
};
void onSubscribe(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc, uint16_t subValue)
{
String str = "Client ID: ";
str += desc->conn_handle;
str += " Address: ";
str += std::string(NimBLEAddress(desc->peer_ota_addr)).c_str();
if (subValue == 0)
{
str += " Unsubscribed to ";
}
else if (subValue == 1)
{
str += " Subscribed to notifications for ";
}
else if (subValue == 2)
{
str += " Subscribed to indications for ";
}
else if (subValue == 3)
{
str += " Subscribed to notifications and indications for ";
}
str += std::string(pCharacteristic->getUUID()).c_str();
Serial.println(str);
};
};
/** Handler class for descriptor actions */
class DescriptorCallbacks : public NimBLEDescriptorCallbacks
{
void onWrite(NimBLEDescriptor *pDescriptor)
{
std::string dscVal((char *)pDescriptor->getValue(), pDescriptor->getLength());
Serial.print("Descriptor witten value:");
Serial.println(dscVal.c_str());
};
void onRead(NimBLEDescriptor *pDescriptor)
{
Serial.print(pDescriptor->getUUID().toString().c_str());
Serial.println(" Descriptor read");
};
};
/*
* Client Stuff
*/
// This callback is for when data is received from Server
static void notifyCallback(
BLERemoteCharacteristic *pBLERemoteCharacteristic,
uint8_t *pData,
size_t length,
bool isNotify)
{
powerInstantaneous = pData[8] | pData[9] << 8; // 2 bytes of power
cadenceInstantaneous = 60; //(pData[4] | pData[5] << 8) / 2; // 2 bytes of power in 0.5 resolution RPM, convert to RPM
resistance = pData[6]; // 1 byte of resistance
Serial.printf("Power = %d | Cadence = %d | Resistance = %d\n", powerInstantaneous, cadenceInstantaneous, resistance);
}
/** None of these are required as they will be handled by the library with defaults. **
** Remove as you see fit for your needs */
class MyClientCallback : public BLEClientCallbacks
{
void onConnect(BLEClient *pclient)
{
}
void onDisconnect(BLEClient *pclient)
{
connected = false;
Serial.println("onDisconnect");
}
};
bool connectToServer()
{
Serial.print("Forming a connection to ");
Serial.println(myDevice->getAddress().toString().c_str());
BLEClient *pClient = BLEDevice::createClient();
Serial.println(" - Created client");
pClient->setClientCallbacks(new MyClientCallback());
// Connect to the remove BLE Server.
pClient->connect(myDevice); // if you pass BLEAdvertisedDevice instead of address, it will be recognized type of peer device address (public or private)
Serial.println(" - Connected to server");
// Obtain a reference to the service we are after in the remote BLE server.
BLERemoteService *pRemoteService = pClient->getService(serviceUUID);
if (pRemoteService == nullptr)
{
Serial.print("Failed to find our service UUID: ");
Serial.println(serviceUUID.toString().c_str());
pClient->disconnect();
return false;
}
Serial.println(" - Found our service");
// Obtain a reference to the characteristic in the service of the remote BLE server.
pRemoteCharacteristic = pRemoteService->getCharacteristic(charUUID);
if (pRemoteCharacteristic == nullptr)
{
Serial.print("Failed to find our characteristic UUID: ");
Serial.println(charUUID.toString().c_str());
pClient->disconnect();
return false;
}
Serial.println(" - Found our characteristic");
// Read the value of the characteristic.
if (pRemoteCharacteristic->canRead())
{
std::string value = pRemoteCharacteristic->readValue();
Serial.print("The characteristic value was: ");
Serial.println(value.c_str());
}
if (pRemoteCharacteristic->canNotify())
pRemoteCharacteristic->registerForNotify(notifyCallback);
connected = true;
return true;
}
/**
* Scan for BLE servers and find the first one that advertises the service we are looking for.
*/
class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks
{
/**
* Called for each advertising BLE server.
*/
/*** Only a reference to the advertised device is passed now
void onResult(BLEAdvertisedDevice advertisedDevice) { **/
void onResult(BLEAdvertisedDevice *advertisedDevice)
{
Serial.print("BLE Advertised Device found: ");
Serial.println(advertisedDevice->toString().c_str());
// We have found a device, let us now see if it contains the service we are looking for.
/********************************************************************************
if (advertisedDevice.haveServiceUUID() && advertisedDevice.isAdvertisingService(serviceUUID)) {
********************************************************************************/
if (advertisedDevice->haveServiceUUID() && advertisedDevice->isAdvertisingService(serviceUUID))
{
BLEDevice::getScan()->stop();
/*******************************************************************
myDevice = new BLEAdvertisedDevice(advertisedDevice);
*******************************************************************/
myDevice = advertisedDevice; /** Just save the reference now, no need to copy the object */
doConnect = true;
doScan = true;
} // Found our server
} // onResult
}; // MyAdvertisedDeviceCallbacks
//delays for X ms, should not block execution
void softDelay(unsigned long delayTime)
{
unsigned long startTime = millis();
while ((millis() - startTime) < delayTime)
{
//wait
}
}
/** Define callback instances globally to use for multiple Characteristics \ Descriptors */
// This section is for the Server that will broadcast the data as Cycling Power
static DescriptorCallbacks dscCallbacks;
static CharacteristicCallbacks chrCallbacks;
NimBLECharacteristic *CyclingPowerFeature = NULL;
NimBLECharacteristic *CyclingPowerMeasurement = NULL;
NimBLECharacteristic *CyclingPowerSensorLocation = NULL;
NimBLECharacteristic *HRMeasurement = NULL;
unsigned char bleBuffer[8];
unsigned char slBuffer[1];
unsigned char fBuffer[4];
unsigned short revolutions = 0;
unsigned short timestamp = 0;
unsigned short flags = 0x20;
byte sensorlocation = 0x0D;
long lastNotify = 0;
long lastRevolution = 0;
void setup()
{
Serial.begin(115200);
Serial.println("Starting NimBLE Server");
/** sets device name */
NimBLEDevice::init("QZESP");
/** Optional: set the transmit power, default is 3db */
NimBLEDevice::setPower(ESP_PWR_LVL_P9); /** +9db */
pServer = NimBLEDevice::createServer();
pServer->setCallbacks(new ServerCallbacks());
fBuffer[0] = 0x00;
fBuffer[1] = 0x00;
fBuffer[2] = 0x00;
fBuffer[3] = 0x08;
slBuffer[0] = sensorlocation & 0xff;
NimBLEService *pDeadService = pServer->createService("1818");
CyclingPowerFeature = pDeadService->createCharacteristic(
"2A65",
NIMBLE_PROPERTY::READ);
CyclingPowerSensorLocation = pDeadService->createCharacteristic(
"2A5D",
NIMBLE_PROPERTY::READ);
CyclingPowerMeasurement = pDeadService->createCharacteristic(
"2A63",
NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::NOTIFY);
CyclingPowerFeature->setValue(fBuffer, 4);
CyclingPowerSensorLocation->setValue(slBuffer, 1);
CyclingPowerMeasurement->setValue(slBuffer, 1);
/** Start the services when finished creating all Characteristics and Descriptors */
pDeadService->start();
#if 0
// HR service
NimBLEService *pHRService = pServer->createService("180D");
HRMeasurement = pHRService->createCharacteristic(
"2A37",
NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::NOTIFY);
HRMeasurement->setValue(fBuffer, 2);
/** Start the services when finished creating all Characteristics and Descriptors */
pHRService->start();
#endif
NimBLEAdvertising *pAdvertising = NimBLEDevice::getAdvertising();
/** Add the services to the advertisement data **/
// pAdvertising->addServiceUUID(pHRService->getUUID());
pAdvertising->addServiceUUID(pDeadService->getUUID());
pAdvertising->setScanResponse(true);
pAdvertising->start();
Serial.println("Advertising Started");
Serial.println("Starting Arduino BLE Client application...");
BLEDevice::init("");
// Retrieve a Scanner and set the callback we want to use to be informed when we
// have detected a new device. Specify that we want active scanning and start the
// scan to run for 5 seconds.
BLEScan *pBLEScan = BLEDevice::getScan();
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setInterval(1349);
pBLEScan->setWindow(449);
pBLEScan->setActiveScan(true);
pBLEScan->start(5, false);
}
void loop()
{
// If the flag "doConnect" is true then we have scanned for and found the desired
// BLE Server with which we wish to connect. Now we connect to it. Once we are
// connected we set the connected flag to be true.
if (doConnect == true)
{
if (connectToServer())
{
Serial.println("We are now connected to the BLE Server.");
}
else
{
Serial.println("We have failed to connect to the server; there is nothing more we will do.");
}
doConnect = false;
}
// If we are connected to a peer BLE Server, update the characteristic each time we are reached
// with the current time since boot.
if (connected)
{
//Stuff to do when connected to Client
}
else if (doScan)
{
BLEDevice::getScan()->start(0); // this is just sample to start scan after disconnect, most likely there is better way to do it in arduino
}
// convert RPM to timestamp
if (cadenceInstantaneous != 0 && (millis()) >= (lastRevolution + (60000 / cadenceInstantaneous)))
{
revolutions++; // One crank revolution should have passed, add one revolution
timestamp = (unsigned short)(((millis() * 1024) / 1000) % 65536); // create timestamp and format
lastRevolution = millis();
}
if (millis() - lastNotify >= 1000) // do this every second
{
//if (pServer->getConnectedCount() > 0)
{
bleBuffer[0] = flags & 0xff;
bleBuffer[1] = (flags >> 8) & 0xff;
bleBuffer[2] = powerInstantaneous & 0xff;
bleBuffer[3] = (powerInstantaneous >> 8) & 0xff;
bleBuffer[4] = revolutions & 0xff;
bleBuffer[5] = (revolutions >> 8) & 0xff;
bleBuffer[6] = timestamp & 0xff;
bleBuffer[7] = (timestamp >> 8) & 0xff;
CyclingPowerMeasurement->setValue(bleBuffer, 8);
CyclingPowerMeasurement->notify();
/*bleBuffer[0] = 0;
bleBuffer[1] = powerInstantaneous;
HRMeasurement->setValue(bleBuffer, 2);
HRMeasurement->notify();*/
lastNotify = millis();
}
}
/*if (pServer->getConnectedCount() == 0)
{
powerInstantaneous = 0;
}*/
}

113
README.md
View File

@@ -7,35 +7,100 @@ Zwift bridge for Treadmills and Bike!
[<img src="docs/img/app_store.png">](https://apps.apple.com/app/id1543684531?fbclid=IwAR10H6y3mEgwkTlGJON3e8voYOh2wt3kLFOpFzoIXaYZ_N0y0pDvKxHMUaM)
<a href="https://www.buymeacoffee.com/cagnulein" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
![UI](docs/img/treadmill-bridge-schema.png)
[![Video](https://img.youtube.com/vi/GgG3dMhmo2Y/0.jpg)](https://www.youtube.com/watch?v=GgG3dMhmo2Y)
![UI](docs/img/ui.png)
![UI](docs/img/realtime-chart.png)
UI on Linux
![UI](docs/img/ui-mac.png)
UI on MacOS
<table>
<tr>
<td>
<img src="icons/AppScreen/iOS%20Phones%20-%206.5_/screenshot1.jpeg" style="height: 400px !important; box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
</td>
<td>
<img src="icons/AppScreen/iOS%20Phones%20-%206.5_/screenshot2.jpeg" style="height: 400px !important; box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
</td>
<td>
<img src="icons/AppScreen/iOS%20Phones%20-%206.5_/screenshot3.jpeg" style="height: 400px !important; box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
</td>
<td>
<img src="icons/AppScreen/iOS%20Phones%20-%206.5_/screenshot4.jpeg" style="height: 400px !important; box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
</td>
<td>
<img src="icons/AppScreen/iOS%20Phones%20-%206.5_/screenshot5.jpeg" style="height: 400px !important; box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
</td>
</tr>
</table>
### Features
1. Domyos compatible
2. Toorx TRX Route Key compatible
3. Echelon Connect Sport compatible
4. Zwift compatible
5. Create, load and save train programs
6. Measure distance, elevation gain and watts
7. Gpx import (with difficulty slider)
8. Realtime Charts
# UI Features
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|Tiles Customization|X|X|X|X|Order and visibility of each tile|
|Profiles|X|X|X|X|Different user or different fitness device profiles|
|UI Zoom Customization|X|X|X|X||
# Peloton Features
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|Bike metrics on the peloton app|X||X|||
|Power zone with auto resistance|X|||||
|Peloton real-time resistance conversion|X||X||with the possibility to customize it|
|Peloton real-time auto-resistance|X||X||with the possibility to customize it|
|Peloton auto speed and auto inclination||X|X||with the possibility to customize it|
# Heart Rate Features
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|Heart Rate support|X|X|X|X|Apple Watch, ANT+ devices and Bluetooth devices|
|Heart Rate Zones Customizations|X|X|X|X||
|Ability to calculate Wattage from HR and Cadence|X||||for the bikes that doesn't have a power sensor|
# 3rd Apps Compatibility
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|Zwift Compatibility|X|X|X|X||
|Zwift Auto resistance|X||X|||
|Zwift Auto inclination and speed||X|X||https://www.youtube.com/watch?v=KTQ2n7yeDbo|
|Wahoo RGT Compatibility|X|X|X|X||
|VzFit Compatibility|X|X|X|X||
|Rouvy Compatibility|X|X|X|X||
|IFIT app Compatibility|X|||||
|Echelon app Compatibility|X|||||
|Wahoo Dircon Compatibility|X|X|X|X|in order to send data to Zwift or RGT with Wifi only!|
|One device only support for Zwift and Wahoo RGT|X|X|X|X|using Wahoo Dircon https://www.youtube.com/watch?v=gYYUXNWFAok|
|BitGym Compatibility|X|X|X|X||
# Training Program
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|Builtin video support (Kinomap like)|X|X|X|X|Files could be local or on the cloud!|
|GPX auto following|X|X|X|X||
|2D/3D maps for GPX|X|X|X|X||
|ZWO (Zwift workout file) compatibility|X|X|X|X||
|XML Workout file compatibility|X|X|X|X||
|Auto follow workout based on your heart rate|X|X|X|X||
|Random workout|X|X|X|X||
# Statistics
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|E-Mail report|X|X|X|X|at the end of the workout|
|Strava integration|X|X|X|X|press stop at the end of the workout to auto upload it|
# Misc
|Feature|Bike|Treadmill|Elliptical|Rower|Notes|
|:---|:---:|:---:|:---:|:---:|---:|
|Resistance shifting with bluetooth remote|X||X|||
|TTS support|X|X|X|X||
![First Success](docs/img/first_success.jpg)
### Installation
You can install on multiple platforms.
You can install it on multiple platforms.
Read the [installation procedure](docs/10_Installation.md)
@@ -45,7 +110,7 @@ You can run the app on [Macintosh or Linux devices](docs/10_Installation.md). IO
QDomyos-Zwift works on every [FTMS-compatible application](docs/20_supported_devices_and_applications.md), and virtually any [bluetooth enabled device](docs/20_supported_devices_and_applications.md).
### No gui version
### No GUI version
run as
@@ -57,7 +122,7 @@ https://github.com/ProH4Ck/treadmill-bridge
https://www.livestrong.com/article/422012-what-is-10-degrees-in-incline-on-a-treadmill/
Icons used in this documentation comes from [flaticon.com](https://www.flaticon.com)
Icons used in this documentation come from [flaticon.com](https://www.flaticon.com)
### Blog

View File

@@ -2,3 +2,4 @@
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "swiftDebug.h"

View File

@@ -53,12 +53,17 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_accessibility_support_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bluetooth.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bluetooth_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bodymovin_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bootstrap_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_charts.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_charts_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_clipboard_support_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_concurrent.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_concurrent_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_core.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_core_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_datavisualization.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_datavisualization_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_devicediscovery_support_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_edid_support_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri \
@@ -71,6 +76,9 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_gui_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_help.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_help_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_httpserver.pri \
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_httpserver_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_httpserver.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_location.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_location_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_macextras.pri \
@@ -95,6 +103,8 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_positioning_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_positioningquick.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_positioningquick_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_purchasing.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_purchasing_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qml.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qml_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qmldebug_private.pri \
@@ -107,6 +117,16 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qmlworkerscript_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3d.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3d_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dassetimport.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dassetimport_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3drender.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3drender_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3druntimerender.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3druntimerender_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dutils.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dutils_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quickcontrols2.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quickcontrols2_private.pri \
@@ -120,12 +140,21 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_remoteobjects_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_repparser.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_repparser_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_script.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_script_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scripttools.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scripttools_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scxml.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scxml_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sensors.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sensors_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_serialbus.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_serialbus_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sql.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sql_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_sslserver.pri \
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_sslserver_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sslserver.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_svg.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_svg_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_testlib.pri \
@@ -136,6 +165,8 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_uiplugin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_uitools.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_uitools_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_virtualkeyboard.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_virtualkeyboard_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_webchannel.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_webchannel_private.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_websockets.pri \
@@ -194,15 +225,26 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtiff.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtmedia_audioengine.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtmultimedia_m3u.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtpassthrucanbus.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtpeakcanbus.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtposition_cl.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtposition_positionpoll.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensorgestures_plugin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensorgestures_shakeplugin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensors_generic.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensors_ios.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qttinycanbus.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtuiotouchplugin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualcanbus.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_hangul.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_openwnn.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_pinyin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_tcime.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_thai.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboardplugin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtwebview_darwin.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qwbmp.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qwebgl.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qwebp.pri \
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_scene2d.pri \
../../Qt/5.15.2/ios/mkspecs/features/qt_functions.prf \
@@ -219,6 +261,9 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/features/default_pre.prf \
../../Qt/5.15.2/ios/mkspecs/features/mac/default_pre.prf \
../../Qt/5.15.2/ios/mkspecs/features/uikit/default_pre.prf \
../defaults.pri \
../src/purchasing/purchasing.pri \
../src/qdomyos-zwift.pri \
../../Qt/5.15.2/ios/mkspecs/features/resolve_config.prf \
../../Qt/5.15.2/ios/mkspecs/features/uikit/resolve_config.prf \
../../Qt/5.15.2/ios/mkspecs/features/default_post.prf \
@@ -226,6 +271,9 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/features/uikit/default_post.prf \
../../Qt/5.15.2/ios/mkspecs/macx-ios-clang/features/default_post.prf \
../../Qt/5.15.2/ios/mkspecs/features/mac/objective_c.prf \
../../Qt/5.15.2/ios/mkspecs/features/qmltypes.prf \
../../Qt/5.15.2/ios/mkspecs/features/metatypes.prf \
../../Qt/5.15.2/ios/mkspecs/features/ltcg.prf \
../../Qt/5.15.2/ios/mkspecs/features/qml_debug.prf \
../../Qt/5.15.2/ios/mkspecs/features/mac/mac.prf \
../../Qt/5.15.2/ios/mkspecs/features/uikit/bitcode.prf \
@@ -264,6 +312,18 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/lib/libqtharfbuzz_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Core_debug.prl \
../../Qt/5.15.2/ios/lib/libqtpcre2_debug.prl \
../../Qt/5.15.2/ios/plugins/mediaservice/libqavfmediaplayer_debug.prl \
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_esri_debug.prl \
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_itemsoverlay_debug.prl \
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_mapbox_debug.prl \
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_mapboxgl_debug.prl \
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_nokia_debug.prl \
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_osm_debug.prl \
../../Qt/5.15.2/ios/plugins/webview/libqtwebview_darwin_debug.prl \
../../Qt/5.15.2/ios/plugins/mediaservice/libqavfcamera_debug.prl \
../../Qt/5.15.2/ios/plugins/mediaservice/libqtmedia_audioengine_debug.prl \
../../Qt/5.15.2/ios/plugins/audio/libqtaudio_coreaudio_debug.prl \
../../Qt/5.15.2/ios/plugins/playlistformats/libqtmultimedia_m3u_debug.prl \
../../Qt/5.15.2/ios/plugins/imageformats/libqgif_debug.prl \
../../Qt/5.15.2/ios/plugins/imageformats/libqicns_debug.prl \
../../Qt/5.15.2/ios/plugins/imageformats/libqico_debug.prl \
@@ -288,32 +348,51 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/plugins/qmltooling/libqmldbg_server_debug.prl \
../../Qt/5.15.2/ios/plugins/qmltooling/libqmldbg_tcp_debug.prl \
../../Qt/5.15.2/ios/plugins/bearer/libqgenericbearer_debug.prl \
../../Qt/5.15.2/ios/plugins/texttospeech/libqtexttospeech_speechios_debug.prl \
../../Qt/5.15.2/ios/plugins/sqldrivers/libqsqlite_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5HttpServer_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5SslServer_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Charts_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Widgets_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Location_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5PositioningQuick_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5QuickControls2_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Quick_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Multimedia_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5WebView_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Bluetooth_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Xml_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Positioning_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5QmlModels_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Qml_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5NetworkAuth_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5WebSockets_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Network_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5TextToSpeech_debug.prl \
../../Qt/5.15.2/ios/lib/libQt5Concurrent_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick.2/libqtquick2plugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Layouts/libqquicklayoutsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/libqtquickcontrols2plugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Window.2/libwindowplugin_debug.prl \
../../Qt/5.15.2/ios/qml/Qt/labs/settings/libqmlsettingsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQml/libqmlplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Templates.2/libqtquicktemplates2plugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate_debug.prl \
../../Qt/5.15.2/ios/qml/QtQml/Models.2/libmodelsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQml/WorkerScript.2/libworkerscriptplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Dialogs/libdialogplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Window.2/libwindowplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtWebView/libdeclarative_webview_debug.prl \
../../Qt/5.15.2/ios/qml/QtCharts/libqtchartsqml2_debug.prl \
../../Qt/5.15.2/ios/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin_debug.prl \
../../Qt/5.15.2/ios/qml/Qt/labs/settings/libqmlsettingsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Dialogs/libdialogplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtPositioning/libdeclarative_positioning_debug.prl \
../../Qt/5.15.2/ios/qml/QtLocation/libdeclarative_location_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Dialogs/Private/libdialogsprivateplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls/libqtquickcontrolsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/PrivateWidgets/libwidgetsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Layouts/libqquicklayoutsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin_debug.prl \
../../Qt/5.15.2/ios/qml/Qt/labs/platform/libqtlabsplatformplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtMultimedia/libdeclarative_multimedia_debug.prl \
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Fusion/libqtquickcontrols2fusionstyleplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Universal/libqtquickcontrols2universalstyleplugin_debug.prl \
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Imagine/libqtquickcontrols2imaginestyleplugin_debug.prl
@@ -361,12 +440,17 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_accessibility_support_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bluetooth.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bluetooth_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bodymovin_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_bootstrap_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_charts.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_charts_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_clipboard_support_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_concurrent.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_concurrent_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_core.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_core_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_datavisualization.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_datavisualization_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_devicediscovery_support_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_edid_support_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri:
@@ -379,6 +463,9 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_gui_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_help.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_help_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_httpserver.pri:
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_httpserver_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_httpserver.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_location.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_location_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_macextras.pri:
@@ -403,6 +490,8 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_positioning_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_positioningquick.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_positioningquick_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_purchasing.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_purchasing_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qml.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qml_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qmldebug_private.pri:
@@ -415,6 +504,16 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qmlworkerscript_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3d.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3d_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dassetimport.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dassetimport_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3drender.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3drender_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3druntimerender.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3druntimerender_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dutils.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick3dutils_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quick_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quickcontrols2.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_quickcontrols2_private.pri:
@@ -428,12 +527,21 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_remoteobjects_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_repparser.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_repparser_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_script.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_script_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scripttools.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scripttools_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scxml.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_scxml_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sensors.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sensors_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_serialbus.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_serialbus_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sql.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sql_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_sslserver.pri:
../../Qt/5.15.2/ios/mkspecs/modules-inst/qt_lib_sslserver_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_sslserver.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_svg.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_svg_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_testlib.pri:
@@ -444,6 +552,8 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_uiplugin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_uitools.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_uitools_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_virtualkeyboard.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_virtualkeyboard_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_webchannel.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_webchannel_private.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_lib_websockets.pri:
@@ -502,15 +612,26 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtiff.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtmedia_audioengine.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtmultimedia_m3u.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtpassthrucanbus.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtpeakcanbus.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtposition_cl.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtposition_positionpoll.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensorgestures_plugin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensorgestures_shakeplugin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensors_generic.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtsensors_ios.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qttinycanbus.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtuiotouchplugin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualcanbus.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_hangul.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_openwnn.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_pinyin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_tcime.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboard_thai.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtvirtualkeyboardplugin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qtwebview_darwin.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qwbmp.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qwebgl.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_qwebp.pri:
../../Qt/5.15.2/ios/mkspecs/modules/qt_plugin_scene2d.pri:
../../Qt/5.15.2/ios/mkspecs/features/qt_functions.prf:
@@ -527,6 +648,9 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/features/default_pre.prf:
../../Qt/5.15.2/ios/mkspecs/features/mac/default_pre.prf:
../../Qt/5.15.2/ios/mkspecs/features/uikit/default_pre.prf:
../defaults.pri:
../src/purchasing/purchasing.pri:
../src/qdomyos-zwift.pri:
../../Qt/5.15.2/ios/mkspecs/features/resolve_config.prf:
../../Qt/5.15.2/ios/mkspecs/features/uikit/resolve_config.prf:
../../Qt/5.15.2/ios/mkspecs/features/default_post.prf:
@@ -534,6 +658,9 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/mkspecs/features/uikit/default_post.prf:
../../Qt/5.15.2/ios/mkspecs/macx-ios-clang/features/default_post.prf:
../../Qt/5.15.2/ios/mkspecs/features/mac/objective_c.prf:
../../Qt/5.15.2/ios/mkspecs/features/qmltypes.prf:
../../Qt/5.15.2/ios/mkspecs/features/metatypes.prf:
../../Qt/5.15.2/ios/mkspecs/features/ltcg.prf:
../../Qt/5.15.2/ios/mkspecs/features/qml_debug.prf:
../../Qt/5.15.2/ios/mkspecs/features/mac/mac.prf:
../../Qt/5.15.2/ios/mkspecs/features/uikit/bitcode.prf:
@@ -572,6 +699,18 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/lib/libqtharfbuzz_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Core_debug.prl:
../../Qt/5.15.2/ios/lib/libqtpcre2_debug.prl:
../../Qt/5.15.2/ios/plugins/mediaservice/libqavfmediaplayer_debug.prl:
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_esri_debug.prl:
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_itemsoverlay_debug.prl:
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_mapbox_debug.prl:
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_mapboxgl_debug.prl:
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_nokia_debug.prl:
../../Qt/5.15.2/ios/plugins/geoservices/libqtgeoservices_osm_debug.prl:
../../Qt/5.15.2/ios/plugins/webview/libqtwebview_darwin_debug.prl:
../../Qt/5.15.2/ios/plugins/mediaservice/libqavfcamera_debug.prl:
../../Qt/5.15.2/ios/plugins/mediaservice/libqtmedia_audioengine_debug.prl:
../../Qt/5.15.2/ios/plugins/audio/libqtaudio_coreaudio_debug.prl:
../../Qt/5.15.2/ios/plugins/playlistformats/libqtmultimedia_m3u_debug.prl:
../../Qt/5.15.2/ios/plugins/imageformats/libqgif_debug.prl:
../../Qt/5.15.2/ios/plugins/imageformats/libqicns_debug.prl:
../../Qt/5.15.2/ios/plugins/imageformats/libqico_debug.prl:
@@ -596,32 +735,51 @@ qdomyoszwift.xcodeproj/project.pbxproj: ../src/qdomyos-zwift.pro ../../Qt/5.15.2
../../Qt/5.15.2/ios/plugins/qmltooling/libqmldbg_server_debug.prl:
../../Qt/5.15.2/ios/plugins/qmltooling/libqmldbg_tcp_debug.prl:
../../Qt/5.15.2/ios/plugins/bearer/libqgenericbearer_debug.prl:
../../Qt/5.15.2/ios/plugins/texttospeech/libqtexttospeech_speechios_debug.prl:
../../Qt/5.15.2/ios/plugins/sqldrivers/libqsqlite_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5HttpServer_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5SslServer_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Charts_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Widgets_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Location_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5PositioningQuick_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5QuickControls2_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Quick_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Multimedia_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5WebView_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Bluetooth_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Xml_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Positioning_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5QmlModels_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Qml_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5NetworkAuth_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5WebSockets_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Network_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5TextToSpeech_debug.prl:
../../Qt/5.15.2/ios/lib/libQt5Concurrent_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick.2/libqtquick2plugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Layouts/libqquicklayoutsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/libqtquickcontrols2plugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Window.2/libwindowplugin_debug.prl:
../../Qt/5.15.2/ios/qml/Qt/labs/settings/libqmlsettingsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQml/libqmlplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Templates.2/libqtquicktemplates2plugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate_debug.prl:
../../Qt/5.15.2/ios/qml/QtQml/Models.2/libmodelsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQml/WorkerScript.2/libworkerscriptplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Dialogs/libdialogplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Window.2/libwindowplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtWebView/libdeclarative_webview_debug.prl:
../../Qt/5.15.2/ios/qml/QtCharts/libqtchartsqml2_debug.prl:
../../Qt/5.15.2/ios/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin_debug.prl:
../../Qt/5.15.2/ios/qml/Qt/labs/settings/libqmlsettingsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Dialogs/libdialogplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtPositioning/libdeclarative_positioning_debug.prl:
../../Qt/5.15.2/ios/qml/QtLocation/libdeclarative_location_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Dialogs/Private/libdialogsprivateplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls/libqtquickcontrolsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/PrivateWidgets/libwidgetsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Layouts/libqquicklayoutsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin_debug.prl:
../../Qt/5.15.2/ios/qml/Qt/labs/platform/libqtlabsplatformplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtMultimedia/libdeclarative_multimedia_debug.prl:
../../Qt/5.15.2/ios/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Fusion/libqtquickcontrols2fusionstyleplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Universal/libqtquickcontrols2universalstyleplugin_debug.prl:
../../Qt/5.15.2/ios/qml/QtQuick/Controls.2/Imagine/libqtquickcontrols2imaginestyleplugin_debug.prl:

View File

@@ -87,8 +87,6 @@
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "876E4E102594747F00BD5714"
BuildableName = "watchkit.app"
BlueprintName = "watchkit"
ReferencedContainer = "container:qdomyoszwift.xcodeproj">

View File

@@ -17,16 +17,33 @@ class MainController: WKInterfaceController {
@IBOutlet weak var distanceLabel: WKInterfaceLabel!
@IBOutlet weak var heartRateLabel: WKInterfaceLabel!
@IBOutlet weak var startButton: WKInterfaceButton!
@IBOutlet weak var cmbSports: WKInterfacePicker!
static var start: Bool! = false
let pedometer = CMPedometer()
var sport: Int = 0
override func awake(withContext context: Any?) {
super.awake(withContext: context)
let sports: [WKPickerItem] = [WKPickerItem(),WKPickerItem(),WKPickerItem(),WKPickerItem(),WKPickerItem()]
sports[0].title = "Bike"
sports[1].title = "Run"
sports[2].title = "Walk"
sports[3].title = "Elliptical"
sports[4].title = "Rowing"
cmbSports.setItems(sports)
sport = UserDefaults.standard.value(forKey: "sport") as? Int ?? 0
cmbSports.setSelectedItemIndex(sport)
// Configure interface objects here.
print("AWAKE")
}
@IBAction func changeSport(_ value: Int) {
self.sport = value
UserDefaults.standard.set(value, forKey: "sport")
UserDefaults.standard.synchronize()
}
override func willActivate() {
// This method is called when watch view controller is about to be visible to user
super.willActivate()
@@ -57,6 +74,7 @@ extension MainController {
MainController.start = true
startButton.setTitle("Stop")
WorkoutTracking.authorizeHealthKit()
WorkoutTracking.shared.setSport(sport)
WorkoutTracking.shared.startWorkOut()
WorkoutTracking.shared.delegate = self
@@ -86,8 +104,15 @@ extension MainController: WorkoutTrackingDelegate {
"\(heartRate)" as AnyObject])
WorkoutTracking.distance = WatchKitConnection.distance
WorkoutTracking.kcal = WatchKitConnection.kcal
self.distanceLabel.setText("Distance \(Double(WorkoutTracking.distance))")
WorkoutTracking.speed = WatchKitConnection.speed
WorkoutTracking.power = WatchKitConnection.power
WorkoutTracking.cadence = WatchKitConnection.cadence
if Locale.current.measurementSystem != "Metric" {
self.distanceLabel.setText("Distance \(String(format:"%.2f", WorkoutTracking.distance))")
} else {
self.distanceLabel.setText("Distance \(String(format:"%.2f", WorkoutTracking.distance * 1.60934))")
}
self.caloriesLabel.setText("KCal \(Int(WorkoutTracking.kcal))")
//WorkoutTracking.cadenceSteps = pedometer.
}
@@ -105,3 +130,11 @@ extension MainController: WatchKitConnectionDelegate {
userNameLabel.setText(userName)
}
}
extension Locale
{
var measurementSystem : String?
{
return (self as NSLocale).object(forKey: NSLocale.Key.measurementSystem) as? String
}
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

View File

@@ -24,6 +24,9 @@ class WatchKitConnection: NSObject {
public static var distance = 0.0
public static var kcal = 0.0
public static var stepCadence = 0
public static var speed = 0.0
public static var cadence = 0.0
public static var power = 0.0
weak var delegate: WatchKitConnectionDelegate?
private override init() {
@@ -66,6 +69,13 @@ extension WatchKitConnection: WatchKitConnectionProtocol {
WatchKitConnection.distance = dDistance
let dKcal = Double(result["kcal"] as! Double)
WatchKitConnection.kcal = dKcal
let dSpeed = Double(result["speed"] as! Double)
WatchKitConnection.speed = dSpeed
let dPower = Double(result["power"] as! Double)
WatchKitConnection.power = dPower
let dCadence = Double(result["cadence"] as! Double)
WatchKitConnection.cadence = dCadence
}, errorHandler: { (error) in
print(error)
})

View File

@@ -31,6 +31,11 @@ class WorkoutTracking: NSObject {
public static var cadenceTimeStamp = NSDate().timeIntervalSince1970
public static var cadenceLastSteps = Double()
public static var cadenceSteps = 0
public static var speed = Double()
public static var power = Double()
public static var cadence = Double()
public static var lastDateMetric = Date()
var sport: Int = 0
let healthStore = HKHealthStore()
let configuration = HKWorkoutConfiguration()
var workoutSession: HKWorkoutSession!
@@ -101,8 +106,23 @@ extension WorkoutTracking {
}
}
func setSport(_ sport: Int) {
self.sport = sport
}
private func configWorkout() {
configuration.activityType = .cycling
var activityType = HKWorkoutActivityType.cycling
if self.sport == 1 {
activityType = HKWorkoutActivityType.running
} else if self.sport == 2 {
activityType = HKWorkoutActivityType.walking
} else if self.sport == 3 {
activityType = HKWorkoutActivityType.elliptical
} else if self.sport == 4 {
activityType = HKWorkoutActivityType.rowing
}
configuration.activityType = activityType
configuration.locationType = .indoor
do {
@@ -130,13 +150,37 @@ extension WorkoutTracking: WorkoutTrackingProtocol {
HKSampleType.workoutType()
])
let infoToShare = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.quantityType(forIdentifier: .distanceCycling)!,
HKSampleType.quantityType(forIdentifier: .activeEnergyBurned)!,
HKSampleType.workoutType()
])
var infoToShare: Set<HKSampleType> = []
if #available(watchOSApplicationExtension 10.0, *) {
infoToShare = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.quantityType(forIdentifier: .distanceCycling)!,
HKSampleType.quantityType(forIdentifier: .distanceWalkingRunning)!,
HKSampleType.quantityType(forIdentifier: .activeEnergyBurned)!,
HKSampleType.quantityType(forIdentifier: .cyclingPower)!,
HKSampleType.quantityType(forIdentifier: .cyclingSpeed)!,
HKSampleType.quantityType(forIdentifier: .cyclingCadence)!,
HKSampleType.quantityType(forIdentifier: .runningPower)!,
HKSampleType.quantityType(forIdentifier: .runningSpeed)!,
HKSampleType.quantityType(forIdentifier: .runningStrideLength)!,
HKSampleType.quantityType(forIdentifier: .runningVerticalOscillation)!,
HKSampleType.quantityType(forIdentifier: .walkingSpeed)!,
HKSampleType.quantityType(forIdentifier: .walkingStepLength)!,
HKSampleType.workoutType()
])
} else {
// Fallback on earlier versions
infoToShare = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.quantityType(forIdentifier: .distanceCycling)!,
HKSampleType.quantityType(forIdentifier: .distanceWalkingRunning)!,
HKSampleType.quantityType(forIdentifier: .activeEnergyBurned)!,
HKSampleType.workoutType()
])
}
HKHealthStore().requestAuthorization(toShare: infoToShare, read: infoToRead) { (success, error) in
if success {
@@ -151,6 +195,7 @@ extension WorkoutTracking: WorkoutTrackingProtocol {
}
func startWorkOut() {
WorkoutTracking.lastDateMetric = Date()
print("Start workout")
configWorkout()
workoutSession.startActivity(with: Date())
@@ -159,6 +204,10 @@ extension WorkoutTracking: WorkoutTrackingProtocol {
if let error = error {
print(error)
}
if self.sport > 0 {
self.workoutBuilder.dataSource?.enableCollection(for: HKQuantityType.quantityType(forIdentifier: .distanceWalkingRunning)!, predicate: nil)
}
}
}
@@ -183,29 +232,72 @@ extension WorkoutTracking: WorkoutTrackingProtocol {
end: Date())
workoutBuilder.add([sample]) {(success, error) in}
guard let quantityTypeDistance = HKQuantityType.quantityType(
forIdentifier: .distanceCycling) else {
return
}
let unitDistance = HKUnit.mile()
let miles = WorkoutTracking.distance
let quantityMiles = HKQuantity(unit: unitDistance,
doubleValue: miles)
let sampleDistance = HKCumulativeQuantitySeriesSample(type: quantityTypeDistance,
quantity: quantityMiles,
start: workoutSession.startDate!,
end: Date())
workoutBuilder.add([sample]) {(success, error) in}
workoutBuilder.add([sampleDistance]) {(success, error) in}
workoutBuilder.endCollection(withEnd: Date()) { (success, error) in
if(sport == 0) {
guard let quantityTypeDistance = HKQuantityType.quantityType(
forIdentifier: .distanceCycling) else {
return
}
let sampleDistance = HKCumulativeQuantitySeriesSample(type: quantityTypeDistance,
quantity: quantityMiles,
start: workoutSession.startDate!,
end: Date())
workoutBuilder.add([sampleDistance]) {(success, error) in
if let error = error {
print(error)
}
self.workoutBuilder.endCollection(withEnd: Date()) { (success, error) in
if let error = error {
print(error)
}
self.workoutBuilder.finishWorkout{ (workout, error) in
if let error = error {
print(error)
}
workout?.setValue(quantityMiles, forKey: "totalDistance")
}
}
}
} else {
guard let quantityTypeDistance = HKQuantityType.quantityType(
forIdentifier: .distanceWalkingRunning) else {
return
}
let sampleDistance = HKCumulativeQuantitySeriesSample(type: quantityTypeDistance,
quantity: quantityMiles,
start: workoutSession.startDate!,
end: Date())
workoutBuilder.add([sampleDistance]) {(success, error) in
if let error = error {
print(error)
}
self.workoutBuilder.endCollection(withEnd: Date()) { (success, error) in
if let error = error {
print(error)
}
self.workoutBuilder.finishWorkout{ (workout, error) in
if let error = error {
print(error)
}
workout?.setValue(quantityMiles, forKey: "totalDistance")
}
}
}
}
workoutBuilder.finishWorkout{ (success, error) in }
}
func fetchStepCounts() {
@@ -248,6 +340,135 @@ extension WorkoutTracking: HKLiveWorkoutBuilderDelegate {
handleSendStatisticsData(statistics)
}
}
if(sport == 0) {
if #available(watchOSApplicationExtension 10.0, *) {
let wattPerInterval = HKQuantity(unit: HKUnit.watt(),
doubleValue: WorkoutTracking.power)
if(WorkoutTracking.lastDateMetric.distance(to: Date()) < 1) {
return
}
guard let powerType = HKQuantityType.quantityType(
forIdentifier: .cyclingPower) else {
return
}
let wattPerIntervalSample = HKQuantitySample(type: powerType,
quantity: wattPerInterval,
start: WorkoutTracking.lastDateMetric,
end: Date())
workoutBuilder.add([wattPerIntervalSample]) {(success, error) in
if let error = error {
print(error)
}
}
let cadencePerInterval = HKQuantity(unit: HKUnit.count().unitDivided(by: HKUnit.second()),
doubleValue: WorkoutTracking.cadence / 60.0)
guard let cadenceType = HKQuantityType.quantityType(
forIdentifier: .cyclingCadence) else {
return
}
let cadencePerIntervalSample = HKQuantitySample(type: cadenceType,
quantity: cadencePerInterval,
start: WorkoutTracking.lastDateMetric,
end: Date())
workoutBuilder.add([cadencePerIntervalSample]) {(success, error) in
if let error = error {
print(error)
}
}
let speedPerInterval = HKQuantity(unit: HKUnit.meter().unitDivided(by: HKUnit.second()),
doubleValue: WorkoutTracking.speed * 0.277778)
guard let speedType = HKQuantityType.quantityType(
forIdentifier: .cyclingSpeed) else {
return
}
let speedPerIntervalSample = HKQuantitySample(type: speedType,
quantity: speedPerInterval,
start: WorkoutTracking.lastDateMetric,
end: Date())
workoutBuilder.add([speedPerIntervalSample]) {(success, error) in
if let error = error {
print(error)
}
}
} else {
// Fallback on earlier versions
}
} else if(sport == 1) {
if #available(watchOSApplicationExtension 10.0, *) {
let wattPerInterval = HKQuantity(unit: HKUnit.watt(),
doubleValue: WorkoutTracking.power)
if(WorkoutTracking.lastDateMetric.distance(to: Date()) < 1) {
return
}
guard let powerType = HKQuantityType.quantityType(
forIdentifier: .runningPower) else {
return
}
let wattPerIntervalSample = HKQuantitySample(type: powerType,
quantity: wattPerInterval,
start: WorkoutTracking.lastDateMetric,
end: Date())
workoutBuilder.add([wattPerIntervalSample]) {(success, error) in
if let error = error {
print(error)
}
}
let speedPerInterval = HKQuantity(unit: HKUnit.meter().unitDivided(by: HKUnit.second()),
doubleValue: WorkoutTracking.speed * 0.277778)
guard let speedType = HKQuantityType.quantityType(
forIdentifier: .runningSpeed) else {
return
}
let speedPerIntervalSample = HKQuantitySample(type: speedType,
quantity: speedPerInterval,
start: WorkoutTracking.lastDateMetric,
end: Date())
workoutBuilder.add([speedPerIntervalSample]) {(success, error) in
if let error = error {
print(error)
}
}
} else {
// Fallback on earlier versions
}
} else if(sport == 2) {
if #available(watchOSApplicationExtension 10.0, *) {
let speedPerInterval = HKQuantity(unit: HKUnit.meter().unitDivided(by: HKUnit.second()),
doubleValue: WorkoutTracking.speed * 0.277778)
guard let speedType = HKQuantityType.quantityType(
forIdentifier: .walkingSpeed) else {
return
}
let speedPerIntervalSample = HKQuantitySample(type: speedType,
quantity: speedPerInterval,
start: WorkoutTracking.lastDateMetric,
end: Date())
workoutBuilder.add([speedPerIntervalSample]) {(success, error) in
if let error = error {
print(error)
}
}
} else {
// Fallback on earlier versions
}
}
WorkoutTracking.lastDateMetric = Date()
}
func workoutBuilderDidCollectEvent(_ workoutBuilder: HKLiveWorkoutBuilder) {

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="19529" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="Tpn-rd-UUX">
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="20037" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="Tpn-rd-UUX">
<device id="watch38"/>
<dependencies>
<deployment identifier="watchOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="19514"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="20006"/>
</dependencies>
<scenes>
<!--Main-->
@@ -22,9 +22,15 @@
<label width="136" alignment="left" text="Step Counts" id="HpA-e9-6YV"/>
<label width="136" alignment="left" text="Calories" id="Szi-Jp-J3S"/>
<label width="136" alignment="left" text="Distance" id="eRf-NJ-6If"/>
<picker height="100" alignment="left" id="OTR-HF-vYb">
<connections>
<action selector="changeSport:" destination="Tpn-rd-UUX" id="3vY-lq-IhZ"/>
</connections>
</picker>
</items>
<connections>
<outlet property="caloriesLabel" destination="Szi-Jp-J3S" id="trd-YS-bJy"/>
<outlet property="cmbSports" destination="OTR-HF-vYb" id="Ws5-w9-ZT8"/>
<outlet property="distanceLabel" destination="eRf-NJ-6If" id="ZE2-OB-jqN"/>
<outlet property="heartRateLabel" destination="Nda-m1-XRw" id="1la-8R-3jG"/>
<outlet property="startButton" destination="vZg-X8-uY5" id="pJc-09-kfV"/>

15
defaults.pri Normal file
View File

@@ -0,0 +1,15 @@
QT += gui bluetooth widgets xml positioning quick networkauth websockets texttospeech location multimedia
QTPLUGIN += qavfmediaplayer
QT+= charts
unix:android: QT += androidextras gui-private
android: include(android_openssl/openssl.pri)
INCLUDEPATH += $$PWD/src/qmdnsengine/src/include
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/src/android
ANDROID_ABIS = armeabi-v7a arm64-v8a x86 x86_64
#QMAKE_CXXFLAGS += -Werror=suggest-override

View File

@@ -4,17 +4,20 @@ QDomyos-Zwift can be installed from source on MacOs, Linux, Android and IOS.
Once you've installed QDomyos-Zwift, you can access the [operation guide](30_usage.md) for more information.
These instructions build the app itself, not the test project.
## On a Linux System (from source)
```buildoutcfg
$ sudo apt update && sudo apt upgrade # this is very important on raspberry pi: you need the bluetooth firmware updated!
$ sudo apt install git qtquickcontrols2-5-dev libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-assistant libqt5networkauth5-dev libqt5websockets5-dev qml-module* libqt5texttospeech5-dev libqt5texttospeech5 libqt5location5-plugins qtlocation5-dev qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5
$ sudo apt install git qtquickcontrols2-5-dev libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-assistant libqt5networkauth5-dev libqt5websockets5-dev qml-module* libqt5texttospeech5-dev libqt5texttospeech5 libqt5location5-plugins qtlocation5-dev qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 g++ make
$ git clone https://github.com/cagnulein/qdomyos-zwift.git
$ cd qdomyos-zwift
$ git submodule update --init src/smtpclient/
$ git submodule update --init src/qmdnsengine/
$ git submodule update --init tst/googletest/
$ cd src
$ qmake
$ qmake qdomyos-zwift.pro
$ make -j4
$ sudo ./qdomyos-zwift
```
@@ -25,13 +28,13 @@ $ sudo ./qdomyos-zwift
You will need to (at a minimum) to install the xcode Command Line Tools (CLI) thanks to @richardwait
https://developer.apple.com/download/more/?=xcode
Download and install http://download.qt.io/official_releases/qt/5.12/5.12.9/qt-opensource-mac-x64-5.12.9.dmg and simply run the qdomyos-zwift relase for MacOs
Download and install https://download.qt.io/archive/qt/5.12/5.12.12/qt-opensource-mac-x64-5.12.12.dmg and simply run the qdomyos-zwift release for MacOs
## On Raspberry Pi Zero W
![raspi](../docs/img/raspi-bike.jpg)
This guide will walk you through steps to setup an autonomous, headless raspberry brigde.
This guide will walk you through steps to setup an autonomous, headless raspberry bridge.
### Initial System Preparation
@@ -74,7 +77,7 @@ Apply the changes `sudo systemctl restart dhcpcd.service` and ensure you have in
#### Enable SSH access
You might want to access your raspberry remotely while it is attached to your fitness equipement.
You might want to access your raspberry remotely while it is attached to your fitness equipment.
`sudo raspi-config` > `Interface Options` > `SSH`
@@ -102,15 +105,17 @@ This operation takes a moment to complete.
#### Install qdomyos-zwift from sources
`sudo apt install git libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-assistant libqt5networkauth5-dev libqt5websockets5-dev qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 qtlocation5-dev qtquickcontrols2-5-dev libqt5texttospeech5-dev libqt5texttospeech5`
`git clone https://github.com/cagnulein/qdomyos-zwift.git`
`cd qdomyos-zwift`
`git submodule update --init src/smtpclient/`
`git submodule update --init src/qmdnsengine/`
`cd src`
`qmake`
`make`
```bash
sudo apt install git libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-assistant libqt5networkauth5-dev libqt5websockets5-dev qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 qtlocation5-dev qtquickcontrols2-5-dev libqt5texttospeech5-dev libqt5texttospeech5 g++ make
git clone https://github.com/cagnulein/qdomyos-zwift.git
cd qdomyos-zwift
git submodule update --init src/smtpclient/
git submodule update --init src/qmdnsengine/
git submodule update --init tst/googletest/
cd src
qmake qdomyos-zwift.pro
make
```
Please note :
- Don't build the application with `-j4` option (this will fail)
@@ -170,7 +175,7 @@ Then reboot to check operations (`sudo reboot`)
### (optional) Enable overlay FS
Once that everything is working as expected, and if you dedicate your raspeberry pi to this usage, you might want to enable the read-only overlay FS.
Once that everything is working as expected, and if you dedicate your Raspberry pi to this usage, you might want to enable the read-only overlay FS.
By enabling the overlay read-only system, your SD card will be read-only only and every file written will be to RAM.
Then at each reboot the RAM is erased and you'll revert to the initial status of the overlay file-system.

View File

@@ -36,7 +36,7 @@ An android device is required for this operation.
8. Disable the option Enable Bluetooth HCI snoop log
9. in Developer Options: Bug report->Full report
10. wait a random amount of time (10-20 seconds)
11. A notification will appear at the top of the device. Click on it, share, email it to yourself
11. A notification will appear at the top of the device. Click on it, share, email it to yourself. If it doesn't appear you need to use ADB to pull the file from the phone itself
12. You'll get a zip file with the entire report. In the FS/Data/Log/bt directory of the zipfile is the file you want.
13. attach the log file in a new issue with a short description of the steps you did in the app when you used it

View File

@@ -26,5 +26,5 @@ You can have ae true 4k video stream while you ride ("extreme quality" setting)
The application do not read the FTMS value. It is required to start the application with `-heart-service` or `bike_heartrate_service: true` in settings.
### Resistance management
You can adjust resistence using arrows [up and down](img/21_zwift-resistance-buttons.jpg) rom the riding screen.
You can adjust resistance using arrows [up and down](img/21_zwift-resistance-buttons.jpg) rom the riding screen.

View File

@@ -18,14 +18,15 @@ Please refer to this article for more information under [QML Operations](https:/
## Configuration in NativeQT mode
This is the list of settings available in the application. These settings needs to be appended to the binary command line.
This is the list of settings available in the application. These settings need to be appended to the binary command line.
*Example :* `sudo ./qdomyos-zwift -no-gui` for disabling any graphical interface.
| **Option** | **Type** | **Default** | **Function** |
|:------------------------------|:---------|:------------|:-----------------------------------------------------------------------------|
| -no-gui | Boolean | False | Disable GUI |
| -qml | Boolean | False | Enables the QML interface |
| -miles | Boolean | False | Swithes to Imperial Units System |
| -qml | Boolean | True | Enables the QML interface |
| -noqml | Boolean | False | Enables the NativeQT interface |
| -miles | Boolean | False | Switches to Imperial Units System |
| -no-console | Boolean | False | Not in use |
| -test-resistance | Boolean | False | |
| -no-log | Boolean | False | Disable Logging |
@@ -34,18 +35,18 @@ This is the list of settings available in the application. These settings needs
| -heart-service | Boolean | True | Simulate HR service (required for applications not reading FTMS) |
| -only-virtualbike | Boolean | False | |
| -only-virtualtreadmill | Boolean | False | |
| -no-reconnection | Boolean | False | QZ will not try to reconnect your fitness equipement if enabled |
| -bluetooth-relaxed | Boolean | False | In case of deconnections from QZ to your fitness equipement |
| -no-reconnection | Boolean | False | QZ will not try to reconnect your fitness equipment if enabled |
| -bluetooth-relaxed | Boolean | False | In case of deconnections from QZ to your fitness equipment |
| -bike-cadence-sensor | Boolean | False | |
| -bike-power-sensor | Boolean | False | |
| -battery-service | Boolean | False | |
| -service-changed | Boolean | False | |
| -bike-wheel-revs | Boolean | False | |
| -run-cadence-sensor | Boolean | False | |
| -nordictrack-10-treadmill | Boolean | False | Enable NordicTrack compatibility mode |
| -nordictrack-10-treadmill | Boolean | False | Enable NordicTrack compatibility mode |
| -train | String | | Force training program |
| -name | String | | Force bluetooth device name (if QZ struggles finding your fitness equipment) |
| -poll-device-time | Int | 200 (ms) | Frequency to refresh informations from QZ to Fitness equipment |
| -name | String | | Force bluetooth device name (if QZ struggles to find your fitness equipment) |
| -poll-device-time | Int | 200 (ms) | Frequency to refresh information from QZ to Fitness equipment |
| -bike-resistance-gain | Int | | Adjust resistance from the fitness application |
| -bike-resistance-offset | Int | | Set another resistance point than default |

505
docs/50_writing_tests.md Normal file
View File

@@ -0,0 +1,505 @@
# QDomyos-Zwift Guide to Writing Unit Tests
## About
The testing project tst/qdomyos-zwift-tests.pro contains test code that uses the Google Test library.
## Adding a new device
New devices are added to the main QZ application by creating or modifying a subclass of the bluetoothdevice class.
At minimum, each device has a corresponding BluetoothDeviceTestData subclass in the test project, which is coded to provide information to the test framework to generate tests for device detection and potentially other things.
In the test project
* create a new folder for the device under tst/Devices. This is for anything you define for testing this device.
* add a new class with header file and optionally .cpp file to the project in that folder. Name the class DeviceNameTestData, substituting an appropriate name in place of "DeviceName".
* edit the header file to inherit the class from the BluetoothDeviceTestData abstract subclass appropriate to the device type, i.e. BikeTestData, RowerTestData, EllipticalTestData, TreadmillTestData.
* have this new subclass' constructor pass a unique test name to its superclass.
The tests are not organised around real devices that are handled, but the bluetoothdevice subclass that handles them - the "driver" of sorts.
You need to provide the following:
- patterns for valid names (e.g. equals a value, starts with a value, case sensitivity, specific length)
- invalid names to ensure the device is not identified when the name is invalid
- configuration settings that are required for the device to be detected
- invalid configurations to test that the device is not detected, e.g. when it's disabled in the settings, but the name is correct
- exclusion devices: if a device with the same name but of a higher priority type is detected, this device should not be detected
- valid and invalid QBluetoothDeviceInfo configurations, e.g. to check the device is only detected when the manufacturer data is set correctly, or certain services are available or not.
## Tools in the Test Framework
### TestSettings
The detection of many devices depends on settings that are accessed programmatically using the QSettings class and the constants in the QZSettings namespace. The TestSettings class stores a QSettings object with what is intended to be a unique application and organisation name, to keep the configuration it represents seperate from others in the system. It also makes the stored QSettings object the default by setting the QCoreApplication's organisation and application names to those of the QSettings object. The original values are restored by calling the deactivate() function or on object destruction.
i.e. a test will
* apply a configuration from a TestSettings object
* perform device detection
* use the TestSettings object to restore the previous settings either directly or by letting its destructor be called.
### DeviceDiscoveryInfo
This class contains a set of fields that store strongly typed QSettings values.
It also provides methods to read and write the values it knows about from and to a QSettings object.
It is used in conjunction with a TestSettings object to write a configuration during a test.
## Writing a device detection test
Because of the way the TestData classes currently work, it may be necessary to define multiple test data classes to cover the various cases.
For example, if any of a list of names is enough to identify a device, or another group of names but with a certain service in the bluetooth device info, that will require multiple classes.
### Recognition by Name
Consider the detection code for the Domyos Bike:
```
} else if (b.name().startsWith(QStringLiteral("Domyos-Bike")) &&
!b.name().startsWith(QStringLiteral("DomyosBridge")) && !domyosBike && filter) {
```
Reading this, to identify this device:
- bluetooth name should start with "Domyos-Bike" using a case sensitive comparison
- bluetooth name should NOT start with "DomyosBridge", also using a case sensitive comparison
- there should not have been a device using the corresponding device class detected already (i.e. domyos)
- filter has not been activated (this isn't tested)
In this case, we are not testing the last two, but can test the first two.
```
#pragma once
#include "Devices/Bike/biketestdata.h"
#include "devices/domyosbike/domyosbike.h"
class DomyosBikeTestData : public BikeTestData {
public:
DomyosBikeTestData() : BikeTestData("Domyos Bike") {
this->addDeviceName("Domyos-Bike", comparison::StartsWith);
this->addInvalidDeviceName("DomyosBridge", comparison::StartsWith);
}
// not used yet
deviceType get_expectedDeviceType() const override { return deviceType::DomyosBike; }
bool get_isExpectedDevice(bluetoothdevice * detectedDevice) const override {
return dynamic_cast<domyosbike*>(detectedDevice)!=nullptr;
}
};
```
The constructor adds a valid device name, and an invalid one. Various overloads of these methods and other members of the comparison enumeration provide other capabilities for specifying test data. If you add a valid device name that says the name should start with a value, additional names will be added automatically to the valid list with additional characters to test that it is in fact a "starts with" relationship. Also, valid and invalid names will be generated base on whether the comparison is case sensitive or not.
The get_expectedDeviceType() function is not actually used and is part of an unfinished refactoring of the device detection code, whereby the bluetoothdevice object doesn't actually get created intially. You could add a new value to the deviceType enum and return that, but it's not used yet. There's always deviceType::None.
The get_isExpectedDevice(bluetoothdevice *) function must be overridden to indicate if the specified object is of the type expected for this test data.
### Configuration Settings
Consider the CompuTrainerTestData. This device is not detected by name, but only by whether or not it is enabled in the settings.
To specify this in the test data, we override one of the configureSettings methods, the one for the simple case where there is a single valid and a single invalid configuration.
Settings from QSettings that contribute to tests should be put into the DeviceDiscoveryInfo class.
For example, for the Computrainer Bike, the "computrainer_serial_port" value from the QSettings determines if the bike should be detected or not.
```
class DeviceDiscoveryInfo {
public :
...
QString computrainer_serial_port = nullptr;
...
}
```
The getValues and setValues methods should be updated to include the addition(s):
```
void DeviceDiscoveryInfo::setValues(QSettings &settings, bool clear) const {
if(clear) settings.clear();
...
settings.setValue(QZSettings::computrainer_serialport, this->computrainer_serial_port);
...
}
void DeviceDiscoveryInfo::getValues(QSettings &settings){
...
this->computrainer_serial_port = settings.value(QZSettings::computrainer_serialport, QZSettings::default_computrainer_serialport).toString();
...
}
```
In the following example, the DeviceDiscoveryInfo class has been updated to contain the device's configuration setting (computrainer_serial_port).
- if an enabling configuration is requested (enable==true) a string that is known to be accepted is supplied
- if a disabling configuration is requested (enable==false) an empty string is supplied.
This example uses the simpler of 2 configureSettings methods returns true/false to indicate if the configuration should be used for the test.
```
#pragma once
#include "Devices/Bike/biketestdata.h"
#include "devices/computrainerbike/computrainerbike.h"
class CompuTrainerTestData : public BikeTestData {
protected:
bool configureSettings(DeviceDiscoveryInfo& info, bool enable) const override {
info.computrainer_serial_port = enable ? "X":QString();
return true;
}
public:
CompuTrainerTestData() : BikeTestData("CompuTrainer Bike") {
// any name
this->addDeviceName("", comparison::StartsWithIgnoreCase);
}
deviceType get_expectedDeviceType() const override { return deviceType::CompuTrainerBike; }
bool get_isExpectedDevice(bluetoothdevice * detectedDevice) const override {
return dynamic_cast<computrainerbike*>(detectedDevice)!=nullptr;
}
};
```
Similarly, the Pafers Bike has a simple configuration setting:
```
#include "Devices/Bike/biketestdata.h"
#include "devices/pafersbike/pafersbike.h"
class PafersBikeTestData : public BikeTestData {
protected:
bool configureSettings(DeviceDiscoveryInfo& info, bool enable) const override {
// the treadmill is given priority
info.pafers_treadmill = !enable;
return true;
}
public:
PafersBikeTestData() : BikeTestData("Pafers Bike") {
this->addDeviceName("PAFERS_", comparison::StartsWithIgnoreCase);
}
deviceType get_expectedDeviceType() const override { return deviceType::PafersBike; }
bool get_isExpectedDevice(bluetoothdevice * detectedDevice) const override {
return dynamic_cast<pafersbike*>(detectedDevice)!=nullptr;
}
};
```
A more complicated example is the Pafers Treadmill. It involves a name match, but also some configuration settings obtained earlier...
```
bool pafers_treadmill = settings.value(QZSettings::pafers_treadmill, QZSettings::default_pafers_treadmill).toBool();
...
bool pafers_treadmill_bh_iboxster_plus =
settings
.value(QZSettings::pafers_treadmill_bh_iboxster_plus, QZSettings::default_pafers_treadmill_bh_iboxster_plus)
.toBool();
...
} else if (b.name().toUpper().startsWith(QStringLiteral("PAFERS_")) && !pafersTreadmill &&
(pafers_treadmill || pafers_treadmill_bh_iboxster_plus) && filter) {
```
Here the device could be activated due to a name match and various combinations of settings.
For this, the configureSettings function that takes a vector of DeviceDiscoveryInfo objects which is populated with configurations that lead to the specified result (enable = detected, !enable=not detected). Instead of returning a boolean to indicate if a configuration has been supplied, it populates a vector of DeviceDiscoveryInfo objects.
```
#pragma once
#include "Devices/Treadmill/treadmilltestdata.h"
#include "devices/paferstreadmill/paferstreadmill.h"
class PafersTreadmillTestData : public TreadmillTestData {
protected:
void configureSettings(const DeviceDiscoveryInfo& info, bool enable, std::vector<DeviceDiscoveryInfo>& configurations) const override {
DeviceDiscoveryInfo config(info);
if (enable) {
for(int x = 1; x<=3; x++) {
config.pafers_treadmill = x & 1;
config.pafers_treadmill_bh_iboxster_plus = x & 2;
configurations.push_back(config);
}
} else {
config.pafers_treadmill = false;
config.pafers_treadmill_bh_iboxster_plus = false;
configurations.push_back(config);
}
}
public:
PafersTreadmillTestData() : TreadmillTestData("Pafers Treadmill") {
this->addDeviceName("PAFERS_", comparison::StartsWithIgnoreCase);
}
deviceType get_expectedDeviceType() const override { return deviceType::PafersTreadmill; }
bool get_isExpectedDevice(bluetoothdevice * detectedDevice) const override {
return dynamic_cast<paferstreadmill*>(detectedDevice)!=nullptr;
}
};
```
### Considering Extra QBluetoothDeviceInfo Content
Detection of some devices requires some specific bluetooth device information.
Supplying enabling and disabling QBluetoothDeviceInfo objects is done using a similar pattern to the multiple configurations scenario.
For example, the M3iBike requires specific manufacturer information.
```
void M3IBikeTestData::configureBluetoothDeviceInfos(const QBluetoothDeviceInfo& info, bool enable, std::vector<QBluetoothDeviceInfo>& bluetoothDeviceInfos) const {
// The M3I bike detector looks into the manufacturer data.
QBluetoothDeviceInfo result = info;
if(!enable) {
result.setManufacturerData(1, QByteArray("Invalid manufacturer data."));
bluetoothDeviceInfos.push_back(result);
return;
}
int key=0;
result.setManufacturerData(key++, hex2bytes("02010639009F00000000000000000014008001"));
bluetoothDeviceInfos.push_back(result);
}
```
The test framework populates the incoming QBluetoothDeviceInfo object with a name and a UUID. This is expected to have nothing else defined.
Another example is one of the test data classes for detecting a device that uses the statesbike class:
Detection code from bluetooth.cpp:
```
((b.name().toUpper().startsWith("KICKR CORE")) && !deviceHasService(b, QBluetoothUuid((quint16)0x1826)) && deviceHasService(b, QBluetoothUuid((quint16)0x1818)))
```
This condition is actually extracted from a more complicated example where the current test data classes can't cover all the detection criteria in one implementation. This is why this class inherits from StagesBikeTestData rather than BikeTestData directly.
```
class StagesBike3TestData : public StagesBikeTestData {
protected:
void configureBluetoothDeviceInfos(const QBluetoothDeviceInfo& info, bool enable, std::vector<QBluetoothDeviceInfo>& bluetoothDeviceInfos) const override {
// The condition, if the name is acceptable, is:
// !deviceHasService(b, QBluetoothUuid((quint16)0x1826)) && deviceHasService(b, QBluetoothUuid((quint16)0x1818)))
if(enable) {
QBluetoothDeviceInfo result = info;
result.setServiceUuids(QVector<QBluetoothUuid>({QBluetoothUuid((quint16)0x1818)}));
bluetoothDeviceInfos.push_back(result);
} else {
QBluetoothDeviceInfo hasInvalid = info;
hasInvalid.setServiceUuids(QVector<QBluetoothUuid>({QBluetoothUuid((quint16)0x1826)}));
QBluetoothDeviceInfo hasBoth = hasInvalid;
hasBoth.setServiceUuids(QVector<QBluetoothUuid>({QBluetoothUuid((quint16)0x1818),QBluetoothUuid((quint16)0x1826)}));
bluetoothDeviceInfos.push_back(info); // has neither
bluetoothDeviceInfos.push_back(hasInvalid);
bluetoothDeviceInfos.push_back(hasBoth);
}
}
public:
StagesBike3TestData() : StagesBikeTestData("Stages Bike (KICKR CORE)") {
this->addDeviceName("KICKR CORE", comparison::StartsWithIgnoreCase);
}
};
```
In this case, it populates the vector with the single enabling configuration if that's what's been requested, otherwise 3 disabling ones.
### Exclusions
Sometimes there might be ambiguity when multiple devices are available, and the detection code may specify that if the other conditions match, but certain specific kinds of devices (the exclusion devices) have already been detected, the newly matched device should be ignored.
The TestData class can be made to cover this by overriding the configureExclusions() method to add instances of the TestData classes for the exclusion devices to the object's internal list of exclusions.
Detection code:
```
} else if (b.name().startsWith(QStringLiteral("ECH")) && !echelonRower && !echelonStride &&
!echelonConnectSport && filter) {
```
The configureExclusions code is overridden to specify the exclusion test data objects. Note that the test for a previously detected device of the same type is not included.
```
#pragma once
#include "Devices/Bike/biketestdata.h"
#include "Devices/EchelonRower/echelonrowertestdata.h"
#include "Devices/EchelonStrideTreadmill/echelonstridetreadmilltestdata.h"
#include "devices/echelonconnectsport/echelonconnectsport.h"
class EchelonConnectSportBikeTestData : public BikeTestData {
public:
EchelonConnectSportBikeTestData() : BikeTestData("Echelon Connect Sport Bike") {
this->addDeviceName("ECH", comparison::StartsWith);
}
void configureExclusions() override {
this->exclude(new EchelonRowerTestData());
this->exclude(new EchelonStrideTreadmillTestData());
}
deviceType get_expectedDeviceType() const override { return deviceType::EchelonConnectSport; }
bool get_isExpectedDevice(bluetoothdevice * detectedDevice) const override {
return dynamic_cast<echelonconnectsport*>(detectedDevice)!=nullptr;
}
};
```
### When a single TestData Class Can't Cover all the Conditions
Detection code:
```
QString powerSensorName =
settings.value(QZSettings::power_sensor_name, QZSettings::default_power_sensor_name).toString();
...
} else if ((b.name().toUpper().startsWith(QStringLiteral("STAGES ")) ||
(b.name().toUpper().startsWith("TACX SATORI")) ||
((b.name().toUpper().startsWith("KICKR CORE")) && !deviceHasService(b, QBluetoothUuid((quint16)0x1826)) && deviceHasService(b, QBluetoothUuid((quint16)0x1818))) ||
(b.name().toUpper()==QStringLiteral("QD")) ||
(b.name().toUpper().startsWith(QStringLiteral("ASSIOMA")) &&
powerSensorName.startsWith(QStringLiteral("Disabled")))) &&
!stagesBike && !ftmsBike && filter) {
```
This presents 3 scenarios for the current test framework.
1. Match names only (starts with:"STAGES ", starts with: "TACX SATORI", equals: "QD")
2. Match the name "KICKR CORE", presence and absence of specific service ids
3. Match the name "ASSIOMA" and the power sensor name setting starts with "Disabled"
The framework is not currently capable of specifying all these scenarios in a single class.
The generated test data is approximately the combinations of these lists: names * settings * bluetoothdeviceInfo * exclusions.
If a combination should not exist, a separate class should be used.
In the example of the StagesBikeTestData classes, the exclusions, which apply to all situations, are implemented in the superclass StagesBikeTestData,
```
#pragma once
#include "Devices/Bike/biketestdata.h"
#include "devices/stagesbike/stagesbike.h"
#include "Devices/FTMSBike/ftmsbiketestdata.h"
class StagesBikeTestData : public BikeTestData {
protected:
StagesBikeTestData(std::string testName): BikeTestData(testName) {
}
void configureExclusions() override {
this->exclude(new FTMSBike1TestData());
this->exclude(new FTMSBike2TestData());
}
public:
deviceType get_expectedDeviceType() const override { return deviceType::StagesBike; }
bool get_isExpectedDevice(bluetoothdevice * detectedDevice) const override {
return dynamic_cast<stagesbike*>(detectedDevice)!=nullptr;
}
};
```
The name-match only in one subclass:
```
class StagesBike1TestData : public StagesBikeTestData {
public:
StagesBike1TestData() : StagesBikeTestData("Stages Bike") {
this->addDeviceName("STAGES ", comparison::StartsWithIgnoreCase);
this->addDeviceName("TACX SATORI", comparison::StartsWithIgnoreCase);
}
};
```
The name and setting match in another subclass:
```
class StagesBike2TestData : public StagesBikeTestData {
protected:
bool configureSettings(DeviceDiscoveryInfo& info, bool enable) const override {
info.powerSensorName = enable ? "Disabled":"Roberto";
return true;
}
public:
StagesBike2TestData() : StagesBikeTestData("Stages Bike (Assioma / Power Sensor disabled") {
this->addDeviceName("ASSIOMA", comparison::StartsWithIgnoreCase);
}
};
```
The name and bluetooth device info configurations in another:
```
class StagesBike3TestData : public StagesBikeTestData {
protected:
void configureBluetoothDeviceInfos(const QBluetoothDeviceInfo& info, bool enable, std::vector<QBluetoothDeviceInfo>& bluetoothDeviceInfos) const override {
// The condition, if the name is acceptable, is:
// !deviceHasService(b, QBluetoothUuid((quint16)0x1826)) && deviceHasService(b, QBluetoothUuid((quint16)0x1818)))
if(enable) {
QBluetoothDeviceInfo result = info;
result.setServiceUuids(QVector<QBluetoothUuid>({QBluetoothUuid((quint16)0x1818)}));
bluetoothDeviceInfos.push_back(result);
} else {
QBluetoothDeviceInfo hasInvalid = info;
hasInvalid.setServiceUuids(QVector<QBluetoothUuid>({QBluetoothUuid((quint16)0x1826)}));
QBluetoothDeviceInfo hasBoth = hasInvalid;
hasBoth.setServiceUuids(QVector<QBluetoothUuid>({QBluetoothUuid((quint16)0x1818),QBluetoothUuid((quint16)0x1826)}));
bluetoothDeviceInfos.push_back(info); // has neither
bluetoothDeviceInfos.push_back(hasInvalid);
bluetoothDeviceInfos.push_back(hasBoth);
}
}
public:
StagesBike3TestData() : StagesBikeTestData("Stages Bike (KICKR CORE)") {
this->addDeviceName("KICKR CORE", comparison::StartsWithIgnoreCase);
}
};
```
## Telling Google Test Where to Look
To register your test data class(es) with Google Test:
- open tst/Devices/devices.h
- add a #include for your new header file(s)
- add your new classes to the BluetoothDeviceTestDataTypes list.
This will add tests for your new device class to test runs of the tests in the BluetoothDeviceTestSuite class, which are about detecting, and not detecting devices in circumstances generated from the TestData classes.

View File

@@ -0,0 +1,272 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright 2017 Bluetooth SIG, Inc. All rights reserved.-->
<Characteristic xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Cross Trainer Data"
type="org.bluetooth.characteristic.cross_trainer_data" uuid="2ACE"
last-modified="2017-02-14" approved="Yes">
<InformativeText>
<Summary>The Cross Trainer Data characteristic is used to send
training-related data to the Client from a cross trainer
(Server).</Summary>
</InformativeText>
<Value>
<Field name="Flags">
<Requirement>Mandatory</Requirement>
<Format>24bit</Format>
<BitField>
<Bit index="0" size="1" name="More Data">
<Enumerations>
<Enumeration key="0" value="False" requires="C1" />
<Enumeration key="1" value="True" />
</Enumerations>
</Bit>
<Bit index="1" size="1" name="Average Speed present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C2" />
</Enumerations>
</Bit>
<Bit index="2" size="1" name="Total Distance Present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C3" />
</Enumerations>
</Bit>
<Bit index="3" size="1" name="Step Count present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C4" />
</Enumerations>
</Bit>
<Bit index="4" size="1" name="Stride Count present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C5" />
</Enumerations>
</Bit>
<Bit index="5" size="1" name="Elevation Gain present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C6" />
</Enumerations>
</Bit>
<Bit index="6" size="1"
name="Inclination and Ramp Angle Setting present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C7" />
</Enumerations>
</Bit>
<Bit index="7" size="1" name="Resistance Level Present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C8" />
</Enumerations>
</Bit>
<Bit index="8" size="1" name="Instantaneous Power present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C9" />
</Enumerations>
</Bit>
<Bit index="9" size="1" name="Average Power present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C10" />
</Enumerations>
</Bit>
<Bit index="10" size="1" name="Expended Energy present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C11" />
</Enumerations>
</Bit>
<Bit index="11" size="1" name="Heart Rate present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C12" />
</Enumerations>
</Bit>
<Bit index="12" size="1"
name="Metabolic Equivalent present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C13" />
</Enumerations>
</Bit>
<Bit index="13" size="1" name="Elapsed Time present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C14" />
</Enumerations>
</Bit>
<Bit index="14" size="1" name="Remaining Time present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C15" />
</Enumerations>
</Bit>
<Bit index="15" size="1" name="Movement Direction">
<Enumerations>
<Enumeration key="0" value="Forward" />
<Enumeration key="1" value="Backward" />
</Enumerations>
</Bit>
<ReservedForFutureUse index="16" size="8" />
</BitField>
</Field>
<Field name="Instantaneous Speed">
<InformativeText>Kilometer per hour with a resolution of
0.01</InformativeText>
<Requirement>C1</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.velocity.kilometre_per_hour</Unit>
<DecimalExponent>-2</DecimalExponent>
</Field>
<Field name="Average Speed">
<InformativeText>Kilometer per hour with a resolution of
0.01</InformativeText>
<Requirement>C2</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.velocity.kilometre_per_hour</Unit>
<DecimalExponent>-2</DecimalExponent>
</Field>
<Field name="Total Distance">
<InformativeText>Meters with a resolution of
1</InformativeText>
<Requirement>C3</Requirement>
<Format>uint24</Format>
<Unit>org.bluetooth.unit.length.metre</Unit>
</Field>
<Field name="Step Per Minute">
<InformativeText>Step/minute with a resolution of
1</InformativeText>
<Requirement>C4</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.step_per_minute</Unit>
</Field>
<Field name="Average Step Rate">
<InformativeText>Step/minute with a resolution of
1</InformativeText>
<Requirement>C4</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.step_per_minute</Unit>
</Field>
<Field name="Stride Count">
<InformativeText>Unitless with a resolution of
0.1</InformativeText>
<Requirement>C5</Requirement>
<Format>uint16</Format>
<DecimalExponent>-1</DecimalExponent>
<Unit>org.bluetooth.unit.unitless</Unit>
</Field>
<Field name="Positive Elevation Gain">
<InformativeText>Meters with a resolution of
1</InformativeText>
<Requirement>C6</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.length.metre</Unit>
</Field>
<Field name="Negative Elevation Gain">
<InformativeText>Meters with a resolution of
1</InformativeText>
<Requirement>C6</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.length.metre</Unit>
</Field>
<Field name="Inclination">
<InformativeText>Percent with a resolution of
0.1</InformativeText>
<Requirement>C7</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.percentage</Unit>
<DecimalExponent>-1</DecimalExponent>
</Field>
<Field name="Ramp Angle Setting">
<InformativeText>Degree with a resolution of
0.1</InformativeText>
<Requirement>C7</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.plane_angle.degree</Unit>
<DecimalExponent>-1</DecimalExponent>
</Field>
<Field name="Resistance Level">
<InformativeText>Unitless with a resolution of
0.1</InformativeText>
<Requirement>C8</Requirement>
<Format>sint16</Format>
<DecimalExponent>-1</DecimalExponent>
<Unit>org.bluetooth.unit.unitless</Unit>
</Field>
<Field name="Instantaneous Power">
<InformativeText>Watts with a resolution of
1</InformativeText>
<Requirement>C9</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.power.watt</Unit>
</Field>
<Field name="Average Power">
<InformativeText>Watts with a resolution of
1</InformativeText>
<Requirement>C10</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.power.watt</Unit>
</Field>
<Field name="Total Energy">
<InformativeText>Kilo Calorie with a resolution of
1</InformativeText>
<Requirement>C11</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.energy.kilogram_calorie</Unit>
</Field>
<Field name="Energy Per Hour">
<InformativeText>Kilo Calorie with a resolution of
1</InformativeText>
<Requirement>C11</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.energy.kilogram_calorie</Unit>
</Field>
<Field name="Energy Per Minute">
<InformativeText>Kilo Calorie with a resolution of
1</InformativeText>
<Requirement>C11</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.energy.kilogram_calorie</Unit>
</Field>
<Field name="Heart Rate">
<InformativeText>Beats per minute with a resolution of
1</InformativeText>
<Requirement>C12</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.period.beats_per_minute</Unit>
</Field>
<Field name="Metabolic Equivalent">
<InformativeText>Metabolic Equivalent with a resolution of
0.1</InformativeText>
<Requirement>C13</Requirement>
<Format>uint8</Format>
<DecimalExponent>-1</DecimalExponent>
<Unit>org.bluetooth.unit.metabolic_equivalent</Unit>
</Field>
<Field name="Elapsed Time">
<InformativeText>Second with a resolution of
1</InformativeText>
<Requirement>C14</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.time.second</Unit>
</Field>
<Field name="Remaining Time">
<InformativeText>Second with a resolution of
1</InformativeText>
<Requirement>C15</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.time.second</Unit>
</Field>
</Value>
<Note>The fields in the above table, reading from top to bottom,
are shown in the order of LSO to MSO, where LSO = Least
Significant Octet and MSO = Most Significant Octet. The Least
Significant Octet represents the eight bits numbered 0 to
7.</Note>
</Characteristic>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,449 @@
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
#ifndef http_parser_h
#define http_parser_h
#ifdef __cplusplus
extern "C" {
#endif
/* Also update SONAME in the Makefile whenever you change these. */
#define HTTP_PARSER_VERSION_MAJOR 2
#define HTTP_PARSER_VERSION_MINOR 9
#define HTTP_PARSER_VERSION_PATCH 4
#include <stddef.h>
#if defined(_WIN32) && !defined(__MINGW32__) && \
(!defined(_MSC_VER) || _MSC_VER<1600) && !defined(__WINE__)
#include <BaseTsd.h>
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#elif (defined(__sun) || defined(__sun__)) && defined(__SunOS_5_9)
#include <sys/inttypes.h>
#else
#include <stdint.h>
#endif
/* Compile with -DHTTP_PARSER_STRICT=0 to make less checks, but run
* faster
*/
#ifndef HTTP_PARSER_STRICT
# define HTTP_PARSER_STRICT 1
#endif
/* Maximium header size allowed. If the macro is not defined
* before including this header then the default is used. To
* change the maximum header size, define the macro in the build
* environment (e.g. -DHTTP_MAX_HEADER_SIZE=<value>). To remove
* the effective limit on the size of the header, define the macro
* to a very large number (e.g. -DHTTP_MAX_HEADER_SIZE=0x7fffffff)
*/
#ifndef HTTP_MAX_HEADER_SIZE
# define HTTP_MAX_HEADER_SIZE (80*1024)
#endif
typedef struct http_parser http_parser;
typedef struct http_parser_settings http_parser_settings;
/* Callbacks should return non-zero to indicate an error. The parser will
* then halt execution.
*
* The one exception is on_headers_complete. In a HTTP_RESPONSE parser
* returning '1' from on_headers_complete will tell the parser that it
* should not expect a body. This is used when receiving a response to a
* HEAD request which may contain 'Content-Length' or 'Transfer-Encoding:
* chunked' headers that indicate the presence of a body.
*
* Returning `2` from on_headers_complete will tell parser that it should not
* expect neither a body nor any futher responses on this connection. This is
* useful for handling responses to a CONNECT request which may not contain
* `Upgrade` or `Connection: upgrade` headers.
*
* http_data_cb does not return data chunks. It will be called arbitrarily
* many times for each string. E.G. you might get 10 callbacks for "on_url"
* each providing just a few characters more data.
*/
typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);
typedef int (*http_cb) (http_parser*);
/* Status Codes */
#define HTTP_STATUS_MAP(XX) \
XX(100, CONTINUE, Continue) \
XX(101, SWITCHING_PROTOCOLS, Switching Protocols) \
XX(102, PROCESSING, Processing) \
XX(200, OK, OK) \
XX(201, CREATED, Created) \
XX(202, ACCEPTED, Accepted) \
XX(203, NON_AUTHORITATIVE_INFORMATION, Non-Authoritative Information) \
XX(204, NO_CONTENT, No Content) \
XX(205, RESET_CONTENT, Reset Content) \
XX(206, PARTIAL_CONTENT, Partial Content) \
XX(207, MULTI_STATUS, Multi-Status) \
XX(208, ALREADY_REPORTED, Already Reported) \
XX(226, IM_USED, IM Used) \
XX(300, MULTIPLE_CHOICES, Multiple Choices) \
XX(301, MOVED_PERMANENTLY, Moved Permanently) \
XX(302, FOUND, Found) \
XX(303, SEE_OTHER, See Other) \
XX(304, NOT_MODIFIED, Not Modified) \
XX(305, USE_PROXY, Use Proxy) \
XX(307, TEMPORARY_REDIRECT, Temporary Redirect) \
XX(308, PERMANENT_REDIRECT, Permanent Redirect) \
XX(400, BAD_REQUEST, Bad Request) \
XX(401, UNAUTHORIZED, Unauthorized) \
XX(402, PAYMENT_REQUIRED, Payment Required) \
XX(403, FORBIDDEN, Forbidden) \
XX(404, NOT_FOUND, Not Found) \
XX(405, METHOD_NOT_ALLOWED, Method Not Allowed) \
XX(406, NOT_ACCEPTABLE, Not Acceptable) \
XX(407, PROXY_AUTHENTICATION_REQUIRED, Proxy Authentication Required) \
XX(408, REQUEST_TIMEOUT, Request Timeout) \
XX(409, CONFLICT, Conflict) \
XX(410, GONE, Gone) \
XX(411, LENGTH_REQUIRED, Length Required) \
XX(412, PRECONDITION_FAILED, Precondition Failed) \
XX(413, PAYLOAD_TOO_LARGE, Payload Too Large) \
XX(414, URI_TOO_LONG, URI Too Long) \
XX(415, UNSUPPORTED_MEDIA_TYPE, Unsupported Media Type) \
XX(416, RANGE_NOT_SATISFIABLE, Range Not Satisfiable) \
XX(417, EXPECTATION_FAILED, Expectation Failed) \
XX(421, MISDIRECTED_REQUEST, Misdirected Request) \
XX(422, UNPROCESSABLE_ENTITY, Unprocessable Entity) \
XX(423, LOCKED, Locked) \
XX(424, FAILED_DEPENDENCY, Failed Dependency) \
XX(426, UPGRADE_REQUIRED, Upgrade Required) \
XX(428, PRECONDITION_REQUIRED, Precondition Required) \
XX(429, TOO_MANY_REQUESTS, Too Many Requests) \
XX(431, REQUEST_HEADER_FIELDS_TOO_LARGE, Request Header Fields Too Large) \
XX(451, UNAVAILABLE_FOR_LEGAL_REASONS, Unavailable For Legal Reasons) \
XX(500, INTERNAL_SERVER_ERROR, Internal Server Error) \
XX(501, NOT_IMPLEMENTED, Not Implemented) \
XX(502, BAD_GATEWAY, Bad Gateway) \
XX(503, SERVICE_UNAVAILABLE, Service Unavailable) \
XX(504, GATEWAY_TIMEOUT, Gateway Timeout) \
XX(505, HTTP_VERSION_NOT_SUPPORTED, HTTP Version Not Supported) \
XX(506, VARIANT_ALSO_NEGOTIATES, Variant Also Negotiates) \
XX(507, INSUFFICIENT_STORAGE, Insufficient Storage) \
XX(508, LOOP_DETECTED, Loop Detected) \
XX(510, NOT_EXTENDED, Not Extended) \
XX(511, NETWORK_AUTHENTICATION_REQUIRED, Network Authentication Required) \
enum http_status
{
#define XX(num, name, string) HTTP_STATUS_##name = num,
HTTP_STATUS_MAP(XX)
#undef XX
};
/* Request Methods */
#define HTTP_METHOD_MAP(XX) \
XX(0, DELETE, DELETE) \
XX(1, GET, GET) \
XX(2, HEAD, HEAD) \
XX(3, POST, POST) \
XX(4, PUT, PUT) \
/* pathological */ \
XX(5, CONNECT, CONNECT) \
XX(6, OPTIONS, OPTIONS) \
XX(7, TRACE, TRACE) \
/* WebDAV */ \
XX(8, COPY, COPY) \
XX(9, LOCK, LOCK) \
XX(10, MKCOL, MKCOL) \
XX(11, MOVE, MOVE) \
XX(12, PROPFIND, PROPFIND) \
XX(13, PROPPATCH, PROPPATCH) \
XX(14, SEARCH, SEARCH) \
XX(15, UNLOCK, UNLOCK) \
XX(16, BIND, BIND) \
XX(17, REBIND, REBIND) \
XX(18, UNBIND, UNBIND) \
XX(19, ACL, ACL) \
/* subversion */ \
XX(20, REPORT, REPORT) \
XX(21, MKACTIVITY, MKACTIVITY) \
XX(22, CHECKOUT, CHECKOUT) \
XX(23, MERGE, MERGE) \
/* upnp */ \
XX(24, MSEARCH, M-SEARCH) \
XX(25, NOTIFY, NOTIFY) \
XX(26, SUBSCRIBE, SUBSCRIBE) \
XX(27, UNSUBSCRIBE, UNSUBSCRIBE) \
/* RFC-5789 */ \
XX(28, PATCH, PATCH) \
XX(29, PURGE, PURGE) \
/* CalDAV */ \
XX(30, MKCALENDAR, MKCALENDAR) \
/* RFC-2068, section 19.6.1.2 */ \
XX(31, LINK, LINK) \
XX(32, UNLINK, UNLINK) \
/* icecast */ \
XX(33, SOURCE, SOURCE) \
enum http_method
{
#define XX(num, name, string) HTTP_##name = num,
HTTP_METHOD_MAP(XX)
#undef XX
};
enum http_parser_type { HTTP_REQUEST, HTTP_RESPONSE, HTTP_BOTH };
/* Flag values for http_parser.flags field */
enum flags
{ F_CHUNKED = 1 << 0
, F_CONNECTION_KEEP_ALIVE = 1 << 1
, F_CONNECTION_CLOSE = 1 << 2
, F_CONNECTION_UPGRADE = 1 << 3
, F_TRAILING = 1 << 4
, F_UPGRADE = 1 << 5
, F_SKIPBODY = 1 << 6
, F_CONTENTLENGTH = 1 << 7
};
/* Map for errno-related constants
*
* The provided argument should be a macro that takes 2 arguments.
*/
#define HTTP_ERRNO_MAP(XX) \
/* No error */ \
XX(OK, "success") \
\
/* Callback-related errors */ \
XX(CB_message_begin, "the on_message_begin callback failed") \
XX(CB_url, "the on_url callback failed") \
XX(CB_header_field, "the on_header_field callback failed") \
XX(CB_header_value, "the on_header_value callback failed") \
XX(CB_headers_complete, "the on_headers_complete callback failed") \
XX(CB_body, "the on_body callback failed") \
XX(CB_message_complete, "the on_message_complete callback failed") \
XX(CB_status, "the on_status callback failed") \
XX(CB_chunk_header, "the on_chunk_header callback failed") \
XX(CB_chunk_complete, "the on_chunk_complete callback failed") \
\
/* Parsing-related errors */ \
XX(INVALID_EOF_STATE, "stream ended at an unexpected time") \
XX(HEADER_OVERFLOW, \
"too many header bytes seen; overflow detected") \
XX(CLOSED_CONNECTION, \
"data received after completed connection: close message") \
XX(INVALID_VERSION, "invalid HTTP version") \
XX(INVALID_STATUS, "invalid HTTP status code") \
XX(INVALID_METHOD, "invalid HTTP method") \
XX(INVALID_URL, "invalid URL") \
XX(INVALID_HOST, "invalid host") \
XX(INVALID_PORT, "invalid port") \
XX(INVALID_PATH, "invalid path") \
XX(INVALID_QUERY_STRING, "invalid query string") \
XX(INVALID_FRAGMENT, "invalid fragment") \
XX(LF_EXPECTED, "LF character expected") \
XX(INVALID_HEADER_TOKEN, "invalid character in header") \
XX(INVALID_CONTENT_LENGTH, \
"invalid character in content-length header") \
XX(UNEXPECTED_CONTENT_LENGTH, \
"unexpected content-length header") \
XX(INVALID_CHUNK_SIZE, \
"invalid character in chunk size header") \
XX(INVALID_CONSTANT, "invalid constant string") \
XX(INVALID_INTERNAL_STATE, "encountered unexpected internal state")\
XX(STRICT, "strict mode assertion failed") \
XX(PAUSED, "parser is paused") \
XX(UNKNOWN, "an unknown error occurred") \
XX(INVALID_TRANSFER_ENCODING, \
"request has invalid transfer-encoding") \
/* Define HPE_* values for each errno value above */
#define HTTP_ERRNO_GEN(n, s) HPE_##n,
enum http_errno {
HTTP_ERRNO_MAP(HTTP_ERRNO_GEN)
};
#undef HTTP_ERRNO_GEN
/* Get an http_errno value from an http_parser */
#define HTTP_PARSER_ERRNO(p) ((enum http_errno) (p)->http_errno)
struct http_parser {
/** PRIVATE **/
unsigned int type : 2; /* enum http_parser_type */
unsigned int flags : 8; /* F_* values from 'flags' enum; semi-public */
unsigned int state : 7; /* enum state from http_parser.c */
unsigned int header_state : 7; /* enum header_state from http_parser.c */
unsigned int index : 5; /* index into current matcher */
unsigned int uses_transfer_encoding : 1; /* Transfer-Encoding header is present */
unsigned int allow_chunked_length : 1; /* Allow headers with both
* `Content-Length` and
* `Transfer-Encoding: chunked` set */
unsigned int lenient_http_headers : 1;
uint32_t nread; /* # bytes read in various scenarios */
uint64_t content_length; /* # bytes in body. `(uint64_t) -1` (all bits one)
* if no Content-Length header.
*/
/** READ-ONLY **/
unsigned short http_major;
unsigned short http_minor;
unsigned int status_code : 16; /* responses only */
unsigned int method : 8; /* requests only */
unsigned int http_errno : 7;
/* 1 = Upgrade header was present and the parser has exited because of that.
* 0 = No upgrade header present.
* Should be checked when http_parser_execute() returns in addition to
* error checking.
*/
unsigned int upgrade : 1;
/** PUBLIC **/
void *data; /* A pointer to get hook to the "connection" or "socket" object */
};
struct http_parser_settings {
http_cb on_message_begin;
http_data_cb on_url;
http_data_cb on_status;
http_data_cb on_header_field;
http_data_cb on_header_value;
http_cb on_headers_complete;
http_data_cb on_body;
http_cb on_message_complete;
/* When on_chunk_header is called, the current chunk length is stored
* in parser->content_length.
*/
http_cb on_chunk_header;
http_cb on_chunk_complete;
};
enum http_parser_url_fields
{ UF_SCHEMA = 0
, UF_HOST = 1
, UF_PORT = 2
, UF_PATH = 3
, UF_QUERY = 4
, UF_FRAGMENT = 5
, UF_USERINFO = 6
, UF_MAX = 7
};
/* Result structure for http_parser_parse_url().
*
* Callers should index into field_data[] with UF_* values iff field_set
* has the relevant (1 << UF_*) bit set. As a courtesy to clients (and
* because we probably have padding left over), we convert any port to
* a uint16_t.
*/
struct http_parser_url {
uint16_t field_set; /* Bitmask of (1 << UF_*) values */
uint16_t port; /* Converted UF_PORT string */
struct {
uint16_t off; /* Offset into buffer in which field starts */
uint16_t len; /* Length of run in buffer */
} field_data[UF_MAX];
};
/* Returns the library version. Bits 16-23 contain the major version number,
* bits 8-15 the minor version number and bits 0-7 the patch level.
* Usage example:
*
* unsigned long version = http_parser_version();
* unsigned major = (version >> 16) & 255;
* unsigned minor = (version >> 8) & 255;
* unsigned patch = version & 255;
* printf("http_parser v%u.%u.%u\n", major, minor, patch);
*/
unsigned long http_parser_version(void);
void http_parser_init(http_parser *parser, enum http_parser_type type);
/* Initialize http_parser_settings members to 0
*/
void http_parser_settings_init(http_parser_settings *settings);
/* Executes the parser. Returns number of parsed bytes. Sets
* `parser->http_errno` on error. */
size_t http_parser_execute(http_parser *parser,
const http_parser_settings *settings,
const char *data,
size_t len);
/* If http_should_keep_alive() in the on_headers_complete or
* on_message_complete callback returns 0, then this should be
* the last message on the connection.
* If you are the server, respond with the "Connection: close" header.
* If you are the client, close the connection.
*/
int http_should_keep_alive(const http_parser *parser);
/* Returns a string version of the HTTP method. */
const char *http_method_str(enum http_method m);
/* Returns a string version of the HTTP status code. */
const char *http_status_str(enum http_status s);
/* Return a string name of the given error */
const char *http_errno_name(enum http_errno err);
/* Return a string description of the given error */
const char *http_errno_description(enum http_errno err);
/* Initialize all http_parser_url members to 0 */
void http_parser_url_init(struct http_parser_url *u);
/* Parse a URL; return nonzero on failure */
int http_parser_parse_url(const char *buf, size_t buflen,
int is_connect,
struct http_parser_url *u);
/* Pause or un-pause the parser; a nonzero value pauses */
void http_parser_pause(http_parser *parser, int paused);
/* Checks if this is the final chunk of the body. */
int http_body_is_final(const http_parser *parser);
/* Change the maximum header size provided at compile time. */
void http_parser_set_max_header_size(uint32_t size);
#ifdef __cplusplus
}
#endif
#endif

24
qdomyos-zwift.pro Normal file
View File

@@ -0,0 +1,24 @@
TEMPLATE = subdirs
CONFIG+=ordered
!ios: !android: {
SUBDIRS = \
src/qdomyos-zwift-lib.pro \
src/qdomyos-zwift.pro \
tst/qdomyos-zwift-tests.pro
tst.depends = src/qdomyos-zwift-lib.pro
}
android: {
SUBDIRS = \
src/qdomyos-zwift.pro
}
ios: {
SUBDIRS = \
src/qdomyos-zwift-lib.pro \
src/qdomyos-zwift.pro
}

Binary file not shown.

View File

@@ -1018,7 +1018,7 @@ public class QtBluetoothLE {
/*
* Already executed in GattCallback so executed by the HandlerThread. No need to
* post it to the Hander.
* post it to the Handler.
*/
private void scheduleMtuExchange() {
ReadWriteJob newJob = new ReadWriteJob();

View File

@@ -385,11 +385,11 @@ QT_USE_NAMESPACE
}
[uuids addObject:nsUuid];
// With the latest CoreBluetooth, we can synchronously retrive peripherals:
// With the latest CoreBluetooth, we can synchronously retrieve peripherals:
QT_BT_MAC_AUTORELEASEPOOL;
NSArray *const peripherals = [manager retrievePeripheralsWithIdentifiers:uuids];
if (!peripherals || peripherals.count != 1) {
qCWarning(QT_BT_OSX) << "failed to retrive a peripheral";
qCWarning(QT_BT_OSX) << "failed to retrieve a peripheral";
if (notifier)
emit notifier->CBManagerError(QLowEnergyController::UnknownRemoteDeviceError);
return;
@@ -648,7 +648,7 @@ QT_USE_NAMESPACE
servicesToDiscoverDetails.removeAll(serviceUuid);
const NSUInteger nHandles = qt_countGATTEntries(service);
Q_ASSERT_X(nHandles, Q_FUNC_INFO, "unexpected number of GATT entires");
Q_ASSERT_X(nHandles, Q_FUNC_INFO, "unexpected number of GATT entries");
const QLowEnergyHandle maxHandle = std::numeric_limits<QLowEnergyHandle>::max();
if (nHandles >= maxHandle || lastValidHandle > maxHandle - nHandles) {
@@ -1058,7 +1058,7 @@ QT_USE_NAMESPACE
// TODO: test that we NEVER have the same characteristic twice in array!
// At the moment I just protect against this by iterating in a reverse
// order (at least avoiding a potential inifite loop with '-indexOfObject:').
// order (at least avoiding a potential infinite loop with '-indexOfObject:').
NSArray *const cs = service.characteristics;
if (cs.count == 1)
return nil;
@@ -1091,7 +1091,7 @@ QT_USE_NAMESPACE
// TODO: test that we NEVER have the same characteristic twice in array!
// At the moment I just protect against this by iterating in a reverse
// order (at least avoiding a potential inifite loop with '-indexOfObject:').
// order (at least avoiding a potential infinite loop with '-indexOfObject:').
NSArray *const cs = service.characteristics;
if (cs.count == 1)
return nil;
@@ -1597,8 +1597,8 @@ QT_USE_NAMESPACE
} else {
// This is (probably) the result of update notification.
// It's very possible we can have an invalid handle here (0) -
// if something esle is wrong (we subscribed for a notification),
// disconnected (but other application is connected) and still receiveing
// if something else is wrong (we subscribed for a notification),
// disconnected (but other application is connected) and still receiving
// updated values ...
// TODO: this must be properly tested.
if (!chHandle) {

View File

@@ -0,0 +1,5 @@
QMAKE_PRL_BUILD_DIR = C:/qt-everywhere-src-5.15.2/qtconnectivity/src/bluetooth
QMAKE_PRO_INPUT = bluetooth.pro
QMAKE_PRL_TARGET = Qt5Bluetooth.lib
QMAKE_PRL_CONFIG = lex yacc depend_includepath testcase_targets import_plugins import_qpa_plugin windows prepare_docs qt_docs_targets qt_build_extra file_copies qmake_use qt warn_on release link_prl flat debug_and_release precompile_header autogen_precompile_source embed_manifest_dll embed_manifest_exe shared shared release no_plugin_manifest win32 msvc copy_dir_files sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c force_debug_info largefile precompile_header rdrnd rdseed shani x86SimdAlways prefix_build force_independent utf8_source create_prl link_prl no_private_qt_headers_warning QTDIR_build qt_example_installs exceptions_off testcase_exceptions release ReleaseBuild Release build_pass c++11 generated_privates relative_qt_rpath target_qt c++11 strict_c++ c++14 c++1z qt_install_headers need_fwd_pri qt_install_module debug_and_release build_all create_cmake skip_target_version_ext release ReleaseBuild Release build_pass have_target dll exclusive_builds debug_info no_autoqmake thread moc resources
QMAKE_PRL_VERSION = 5.15.2

View File

@@ -0,0 +1,5 @@
QMAKE_PRL_BUILD_DIR = C:/qt-everywhere-src-5.15.2/qtconnectivity/src/bluetooth
QMAKE_PRO_INPUT = bluetooth.pro
QMAKE_PRL_TARGET = Qt5Bluetoothd.lib
QMAKE_PRL_CONFIG = lex yacc debug depend_includepath testcase_targets import_plugins import_qpa_plugin windows prepare_docs qt_docs_targets qt_build_extra file_copies qmake_use qt warn_on link_prl flat debug_and_release precompile_header autogen_precompile_source embed_manifest_dll embed_manifest_exe shared shared no_plugin_manifest win32 msvc copy_dir_files sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c force_debug_info largefile precompile_header rdrnd rdseed shani x86SimdAlways prefix_build force_independent utf8_source create_prl link_prl no_private_qt_headers_warning QTDIR_build qt_example_installs exceptions_off testcase_exceptions debug DebugBuild Debug build_pass c++11 generated_privates relative_qt_rpath target_qt c++11 strict_c++ c++14 c++1z qt_install_headers need_fwd_pri qt_install_module debug_and_release build_all create_cmake skip_target_version_ext debug DebugBuild Debug build_pass have_target dll no_plist exclusive_builds debug_info no_autoqmake thread moc resources
QMAKE_PRL_VERSION = 5.15.2

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

25
src/ChartFooter.qml Normal file
View File

@@ -0,0 +1,25 @@
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.15
import QtQuick.Controls.Material 2.0
import Qt.labs.settings 1.0
ColumnLayout {
anchors.fill: parent
Loader {
id: chartFooterLoader
sourceComponent: ChartFooterInnerJS
anchors.fill: parent
active: false
}
Loader {
anchors.fill: parent
source: CHARTJS ? "ChartFooterInnerJS.qml":"ChartFooterInnerNoJS.qml"
onLoaded: {
if(CHARTJS) {
chartFooterLoader.active = true;
}
}
}
}

View File

@@ -0,0 +1,31 @@
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.15
import QtQuick.Controls.Material 2.0
import Qt.labs.settings 1.0
import QtWebView 1.1
ColumnLayout {
anchors.fill: parent
Settings {
id: settings
}
WebView {
id: webView
anchors.fill: parent
url: "http://localhost:" + settings.value("template_inner_QZWS_port") + "/chartjs/chartlive.htm"
visible: rootItem.chartFooterVisible
onLoadingChanged: {
if (loadRequest.errorString) {
console.error(loadRequest.errorString);
console.error("port " + settings.value("template_inner_QZWS_port"));
}
}
onVisibleChanged: {
console.log("onVisibleChanged" + visible)
if(visible === true) {
reload();
}
}
}
}

View File

@@ -0,0 +1,12 @@
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.15
import QtQuick.Controls.Material 2.0
import Qt.labs.settings 1.0
ColumnLayout {
anchors.fill: parent
Settings {
id: settings
}
}

View File

@@ -26,6 +26,12 @@ ColumnLayout {
}
}
Timer {
id: chartJscheckStartFromWeb
interval: 200; running: true; repeat: true
onTriggered: {if(rootItem.startRequested) {rootItem.startRequested = false; rootItem.stopRequested = false; stackView.pop(); }}
}
Button {
id: closeButton
height: 50

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-armv7_arm64</string>
<key>LibraryPath</key>
<string>ConnectIQ.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>armv7</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ConnectIQ.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>

View File

@@ -0,0 +1,237 @@
//
// ConnectIQ.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IQConstants.h"
#import "IQDevice.h"
#import "IQApp.h"
// --------------------------------------------------------------------------------
#pragma mark - PUBLIC TYPES
// --------------------------------------------------------------------------------
/// @brief SendMessage progress callback block
///
/// @param sentBytes The number of bytes that have been successfully transferred
/// to the device so far for this connection.
/// @param totalBytes The total number of bytes to transfer for this connection.
typedef void (^IQSendMessageProgress)(uint32_t sentBytes, uint32_t totalBytes);
/// @brief SendMessage completion callback block
///
/// @param result The result of the SendMessage operation.
typedef void (^IQSendMessageCompletion)(IQSendMessageResult result);
/// @brief Conforming to the IQUIOverrideDelegate protocol indicates that an
/// object handles one or more events triggered by the ConnectIQ SDK that
/// require user input.
@protocol IQUIOverrideDelegate <NSObject>
@optional
/// @brief Called by the ConnectIQ SDK when an action has been requested that
/// requires Garmin Connect Mobile to be installed.
///
/// The receiver should choose whether or not to launch the Apple App
/// Store page for GCM, ideally by presenting the user with a choice.
///
/// If the receiver of this message decides to install GCM, it must call
/// showAppStoreForConnectMobile.
- (void)needsToInstallConnectMobile;
@end
/// @brief Conforming to the IQDeviceEventDelegate protocol indicates that an
/// object handles ConnectIQ device status events.
@protocol IQDeviceEventDelegate <NSObject>
@optional
/// @brief Called by the ConnectIQ SDK when an IQDevice's connection status has
/// changed.
///
/// @param device The IQDevice whose status changed.
/// @param status The new status of the device.
- (void)deviceStatusChanged:(IQDevice *)device status:(IQDeviceStatus)status;
@end
/// @brief Conforming to the IQAppMessageDelegate protocol indicates that an
/// object handles messages from ConnectIQ apps on compatible devices.
@protocol IQAppMessageDelegate <NSObject>
@optional
/// @brief Called by the ConnectIQ SDK when a message is received from a device.
///
/// @param message The message that was received.
/// @param app The device app that sent the message.
- (void)receivedMessage:(id)message fromApp:(IQApp *)app;
@end
// --------------------------------------------------------------------------------
#pragma mark - CLASS DEFINITION
// --------------------------------------------------------------------------------
/// @brief The root of the ConnectIQ SDK API.
@interface ConnectIQ : NSObject
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
// --------------------------------------------------------------------------------
#pragma mark - SINGLETON ACCESS
// --------------------------------------------------------------------------------
/// @brief Exposes the single static instance of the ConnectIQ class.
///
/// @return The single status instance of the ConnectIQ class.
+ (ConnectIQ *)sharedInstance;
// --------------------------------------------------------------------------------
#pragma mark - INITIALIZATION
// --------------------------------------------------------------------------------
/// @brief Initializes the ConnectIQ SDK with startup parameters necessary for
/// its operation.
///
/// @param urlScheme The URL scheme for this companion app. When Garmin Connect
/// Mobile is launched, it will return to the companion app by
/// launching a URL with this scheme.
/// @param delegate The delegate that the SDK will use for notifying the
/// companion app about events that require user input. If this
/// is nil, the SDK's default UI will be used.
- (void)initializeWithUrlScheme:(NSString *)urlScheme uiOverrideDelegate:(id<IQUIOverrideDelegate>)delegate;
// --------------------------------------------------------------------------------
#pragma mark - EXTERNAL LAUNCHING
// --------------------------------------------------------------------------------
/// @brief Launches the Apple App Store page for the Garmin Connect Mobile app.
/// The companion app should only call this in response to a
/// needsToInstallConnectMobile event that gets triggered on the
/// IQUIOverrideDelegate.
- (void)showAppStoreForConnectMobile;
/// @brief Launches Garmin Connect Mobile for the purpose of retrieving a list of
/// ConnectIQ-compatible devices.
///
/// Once the user has chosen which ConnectIQ devices to share with the
/// companion app, GCM will return those devices to the companion app by
/// opening a URL with the scheme registered in
/// initializeWithUrlScheme:uiOverrideDelegate:.
///
/// The companion app should handle this URL by passing it in to the
/// parseDeviceSelectionResponseFromURL: method to get the list of devices
/// that the user permitted the companion app to communicate with.
- (void)showConnectIQDeviceSelection;
/// @brief Parses a URL opened from Garmin Connect Mobile into a list of devices.
///
/// @param url The URL to parse.
///
/// @return An array of IQDevice objects representing the ConnectIQ-compatible
/// devices that the user allowed GCM to share with the companion app.
///
/// @seealso showConnectIQDeviceSelection
- (NSArray *)parseDeviceSelectionResponseFromURL:(NSURL *)url;
/// @brief Launches Garmin Connect Mobile and shows the ConnectIQ app store page
/// for the given app.
///
/// The companion app should call this if the user would like to manage
/// the app on the device, such as to install, upgrade, uninstall, or
/// modify settings.
///
/// @param app The app to show the ConnectIQ app store page for.
- (void)showConnectIQStoreForApp:(IQApp *)app;
// --------------------------------------------------------------------------------
#pragma mark - DEVICE MANAGEMENT
// --------------------------------------------------------------------------------
/// @brief Registers an object as a listener for ConnectIQ device status events.
///
/// A device may have multiple device event listeners if this method is
/// called more than once.
///
/// @param device A device to listen for status events from.
/// @param delegate The listener which will receive status events for this device.
- (void)registerForDeviceEvents:(IQDevice *)device delegate:(id<IQDeviceEventDelegate>)delegate;
/// @brief Unregisters a listener for a specific device.
///
/// @param device The device to unregister the listener for.
/// @param delegate The listener to remove from the device.
- (void)unregisterForDeviceEvents:(IQDevice *)device delegate:(id<IQDeviceEventDelegate>)delegate;
/// @brief Unregisters the specified listener from all devices for which it had
/// previously been registered.
///
/// @param delegate The listener to unregister.
- (void)unregisterForAllDeviceEvents:(id<IQDeviceEventDelegate>)delegate;
/// @brief Gets the current connection status of a device.
///
/// The device must have been registered for event notifications by
/// calling registerForDeviceEvents:delegate: or this method will return
/// IQDeviceStatus_InvalidDevice.
///
/// @param device The device to get the status for.
///
/// @return The device's current connection status.
- (IQDeviceStatus)getDeviceStatus:(IQDevice *)device;
// --------------------------------------------------------------------------------
#pragma mark - APP MANAGEMENT
// --------------------------------------------------------------------------------
/// @brief Begins getting the status of an app on a device. This method returns
/// immediately.
///
/// @param app The IQApp to get the status for.
/// @param completion The completion block that will be triggered when the device
/// status operation is complete.
- (void)getAppStatus:(IQApp *)app completion:(void(^)(IQAppStatus *appStatus))completion;
/// @brief Registers an object as a listener for ConnectIQ messages from an app
/// on a device.
///
/// An app may have multiple message listeners if this method is called
/// more than once.
///
/// @param app The app to listen for messages from.
/// @param delegate The listener which will receive messages for this app.
- (void)registerForAppMessages:(IQApp *)app delegate:(id<IQAppMessageDelegate>)delegate;
/// @brief Unregisters a listener for a specific app.
///
/// @param app The app to unregister a listener for.
/// @param delegate The listener to remove from the app.
- (void)unregisterForAppMessages:(IQApp *)app delegate:(id<IQAppMessageDelegate>)delegate;
/// @brief Unregisters all previously registered apps for a specific listener.
///
/// @param delegate The listener to unregister.
- (void)unregisterForAllAppMessages:(id<IQAppMessageDelegate>)delegate;
/// @brief Begins sending a message to an app. This method returns immediately.
///
/// @param message The message to send to the app. This message must be one of
/// the following types: NSString, NSNumber, NSNull, NSArray,
/// or NSDictionary. Arrays and dictionaries may be nested.
/// @param app The app to send the message to.
/// @param progress A progress block that will be triggered periodically
/// throughout the transfer. This is guaranteed to be triggered
/// at least once.
/// @param completion A completion block that will be triggered when the send
/// message operation is complete.
- (void)sendMessage:(id)message toApp:(IQApp *)app progress:(IQSendMessageProgress)progress completion:(IQSendMessageCompletion)completion;
/// @brief Sends an open app request message request to the device. This method returns immediately.
///
/// @param app The app to open.
/// @param completion A completion block that will be triggered when the send
/// message operation is complete.
- (void)openAppRequest:(IQApp *)app completion:(IQSendMessageCompletion)completion;
// TODO *** Holding off on documenting this until this method actually works.
- (void)sendImage:(NSData *)bitmap toApp:(IQApp *)app progress:(IQSendMessageProgress)progress completion:(IQSendMessageCompletion)completion;
@end

View File

@@ -0,0 +1,34 @@
//
// IQApp.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IQDevice.h"
#import "IQAppStatus.h"
/// @brief Represents an instance of a ConnectIQ app that is installed on a
/// Garmin device.
@interface IQApp : NSObject <NSSecureCoding>
/// @brief The unique identifier for this app.
@property (nonatomic, readonly) NSUUID *uuid;
/// @brief The unique identifier for this app in the store.
@property (nonatomic, readonly) NSUUID *storeUuid;
/// @brief The device that this app is installed on.
@property (nonatomic, readonly) IQDevice *device;
/// @brief Creates a new app instance.
///
/// @param uuid The UUID of the app to create.
/// @param storeUuid The store UUID of the app to create.
/// @param device The device the app to create is installed on.
///
/// @return A new IQApp instance with the appropriate values set.
+ (IQApp *)appWithUUID:(NSUUID *)uuid storeUuid:(NSUUID *)storeUuid device:(IQDevice *)device;
@end

View File

@@ -0,0 +1,20 @@
//
// IQAppStatus.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
/// @brief Represents the current status of an app on a Garmin device.
@interface IQAppStatus : NSObject
/// @brief YES if the app is installed on the device, NO if it isn't.
@property (nonatomic, readonly) BOOL isInstalled;
/// @brief The version of the app that is currently installed on the device. If
/// the app is not installed, this value is unused.
@property (nonatomic, readonly) uint16_t version;
@end

View File

@@ -0,0 +1,63 @@
//
// IQConstants.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
/// @brief The current version of the ConnectIQ SDK.
extern int const IQSDKVersion;
/// @brief The bundle identifier for the Garmin Connect Mobile app.
extern NSString * const IQGCMBundle;
/// @brief The result of a SendMessage operation
typedef NS_ENUM(NSInteger, IQSendMessageResult){
///! @brief The message was sent successfully.
IQSendMessageResult_Success,
/// @brief The message failed to send due to an unknown error.
IQSendMessageResult_Failure_Unknown,
/// @brief The message failed to send. There was an error within the SDK or
/// on the device.
IQSendMessageResult_Failure_InternalError,
/// @brief The message failed to send. The device is not available right now.
IQSendMessageResult_Failure_DeviceNotAvailable,
/// @brief The message failed to send. The app is not installed on the
/// device.
IQSendMessageResult_Failure_AppNotFound,
/// @brief The message failed to send. The device is busy and cannot receive
/// the message right now.
IQSendMessageResult_Failure_DeviceIsBusy,
/// @brief The message failed to send. The message contained an unsupported
/// type.
IQSendMessageResult_Failure_UnsupportedType,
/// @brief The message failed to send. The device does not have enough memory
/// to receive the message.
IQSendMessageResult_Failure_InsufficientMemory,
/// @brief The message failed to send. The connection timed out while sending
/// the message.
IQSendMessageResult_Failure_Timeout,
/// @brief The message failed to send and was retried, but could not complete
/// after a number of tries.
IQSendMessageResult_Failure_MaxRetries,
/// @brief The message was received by the device but it chose not to display
/// a message prompt, ignoring the message.
IQSendMessageResult_Failure_PromptNotDisplayed,
/// @brief The message was received by the device but the app to open
/// was already running on the device.
IQSendMessageResult_Failure_AppAlreadyRunning,
};
NSString *NSStringFromSendMessageResult(IQSendMessageResult value);

View File

@@ -0,0 +1,61 @@
//
// IQDevice.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
/// @brief The current status of an IQDevice.
typedef NS_ENUM(NSInteger, IQDeviceStatus){
/// @brief No device with this UUID has been registered for status events
/// the SDK.
IQDeviceStatus_InvalidDevice,
/// @brief Bluetooth is either powered off or resetting.
IQDeviceStatus_BluetoothNotReady,
/// @brief This device could not be found by iOS. Perhaps the user removed
/// the device?
IQDeviceStatus_NotFound,
/// @brief The device is recognized by iOS, but it is not currently
/// connected.
IQDeviceStatus_NotConnected,
/// @brief The device is connected and ready to communicate.
IQDeviceStatus_Connected,
};
/// @brief Represents a ConnectIQ-compatible Garmin device.
@interface IQDevice : NSObject <NSSecureCoding>
/// @brief The unique identifier for this device.
@property (nonatomic, readonly) NSUUID *uuid;
/// @brief The model name of the device provided by Garmin Connect Mobile.
@property (nonatomic, readonly) NSString *modelName;
/// @brief The friendly name of the device, set by the user and provided by
/// Garmin Connect Mobile.
@property (nonatomic, readonly) NSString *friendlyName;
/// @brief Creates a new device instance.
///
/// @param uuid The UUID of the device to create.
/// @param modelName The model name of the device to create.
/// @param friendlyName The friendly name of the device to create.
///
/// @return A new IQDevice instance with the appropriate values set.
+ (IQDevice *)deviceWithId:(NSUUID *)uuid modelName:(NSString *)modelName friendlyName:(NSString *)friendlyName;
/// @brief Creates a new device instance by copying another device's values.
///
/// @param device The device to copy values from.
///
/// @return A new IQDevice instance with all values copied.
- (instancetype)initWithDevice:(IQDevice *)device;
@end

View File

@@ -0,0 +1,6 @@
framework module ConnectIQ {
umbrella header "ConnectIQ.h"
export *
module * { export * }
}

View File

@@ -0,0 +1,237 @@
//
// ConnectIQ.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IQConstants.h"
#import "IQDevice.h"
#import "IQApp.h"
// --------------------------------------------------------------------------------
#pragma mark - PUBLIC TYPES
// --------------------------------------------------------------------------------
/// @brief SendMessage progress callback block
///
/// @param sentBytes The number of bytes that have been successfully transferred
/// to the device so far for this connection.
/// @param totalBytes The total number of bytes to transfer for this connection.
typedef void (^IQSendMessageProgress)(uint32_t sentBytes, uint32_t totalBytes);
/// @brief SendMessage completion callback block
///
/// @param result The result of the SendMessage operation.
typedef void (^IQSendMessageCompletion)(IQSendMessageResult result);
/// @brief Conforming to the IQUIOverrideDelegate protocol indicates that an
/// object handles one or more events triggered by the ConnectIQ SDK that
/// require user input.
@protocol IQUIOverrideDelegate <NSObject>
@optional
/// @brief Called by the ConnectIQ SDK when an action has been requested that
/// requires Garmin Connect Mobile to be installed.
///
/// The receiver should choose whether or not to launch the Apple App
/// Store page for GCM, ideally by presenting the user with a choice.
///
/// If the receiver of this message decides to install GCM, it must call
/// showAppStoreForConnectMobile.
- (void)needsToInstallConnectMobile;
@end
/// @brief Conforming to the IQDeviceEventDelegate protocol indicates that an
/// object handles ConnectIQ device status events.
@protocol IQDeviceEventDelegate <NSObject>
@optional
/// @brief Called by the ConnectIQ SDK when an IQDevice's connection status has
/// changed.
///
/// @param device The IQDevice whose status changed.
/// @param status The new status of the device.
- (void)deviceStatusChanged:(IQDevice *)device status:(IQDeviceStatus)status;
@end
/// @brief Conforming to the IQAppMessageDelegate protocol indicates that an
/// object handles messages from ConnectIQ apps on compatible devices.
@protocol IQAppMessageDelegate <NSObject>
@optional
/// @brief Called by the ConnectIQ SDK when a message is received from a device.
///
/// @param message The message that was received.
/// @param app The device app that sent the message.
- (void)receivedMessage:(id)message fromApp:(IQApp *)app;
@end
// --------------------------------------------------------------------------------
#pragma mark - CLASS DEFINITION
// --------------------------------------------------------------------------------
/// @brief The root of the ConnectIQ SDK API.
@interface ConnectIQ : NSObject
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
// --------------------------------------------------------------------------------
#pragma mark - SINGLETON ACCESS
// --------------------------------------------------------------------------------
/// @brief Exposes the single static instance of the ConnectIQ class.
///
/// @return The single status instance of the ConnectIQ class.
+ (ConnectIQ *)sharedInstance;
// --------------------------------------------------------------------------------
#pragma mark - INITIALIZATION
// --------------------------------------------------------------------------------
/// @brief Initializes the ConnectIQ SDK with startup parameters necessary for
/// its operation.
///
/// @param urlScheme The URL scheme for this companion app. When Garmin Connect
/// Mobile is launched, it will return to the companion app by
/// launching a URL with this scheme.
/// @param delegate The delegate that the SDK will use for notifying the
/// companion app about events that require user input. If this
/// is nil, the SDK's default UI will be used.
- (void)initializeWithUrlScheme:(NSString *)urlScheme uiOverrideDelegate:(id<IQUIOverrideDelegate>)delegate;
// --------------------------------------------------------------------------------
#pragma mark - EXTERNAL LAUNCHING
// --------------------------------------------------------------------------------
/// @brief Launches the Apple App Store page for the Garmin Connect Mobile app.
/// The companion app should only call this in response to a
/// needsToInstallConnectMobile event that gets triggered on the
/// IQUIOverrideDelegate.
- (void)showAppStoreForConnectMobile;
/// @brief Launches Garmin Connect Mobile for the purpose of retrieving a list of
/// ConnectIQ-compatible devices.
///
/// Once the user has chosen which ConnectIQ devices to share with the
/// companion app, GCM will return those devices to the companion app by
/// opening a URL with the scheme registered in
/// initializeWithUrlScheme:uiOverrideDelegate:.
///
/// The companion app should handle this URL by passing it in to the
/// parseDeviceSelectionResponseFromURL: method to get the list of devices
/// that the user permitted the companion app to communicate with.
- (void)showConnectIQDeviceSelection;
/// @brief Parses a URL opened from Garmin Connect Mobile into a list of devices.
///
/// @param url The URL to parse.
///
/// @return An array of IQDevice objects representing the ConnectIQ-compatible
/// devices that the user allowed GCM to share with the companion app.
///
/// @seealso showConnectIQDeviceSelection
- (NSArray *)parseDeviceSelectionResponseFromURL:(NSURL *)url;
/// @brief Launches Garmin Connect Mobile and shows the ConnectIQ app store page
/// for the given app.
///
/// The companion app should call this if the user would like to manage
/// the app on the device, such as to install, upgrade, uninstall, or
/// modify settings.
///
/// @param app The app to show the ConnectIQ app store page for.
- (void)showConnectIQStoreForApp:(IQApp *)app;
// --------------------------------------------------------------------------------
#pragma mark - DEVICE MANAGEMENT
// --------------------------------------------------------------------------------
/// @brief Registers an object as a listener for ConnectIQ device status events.
///
/// A device may have multiple device event listeners if this method is
/// called more than once.
///
/// @param device A device to listen for status events from.
/// @param delegate The listener which will receive status events for this device.
- (void)registerForDeviceEvents:(IQDevice *)device delegate:(id<IQDeviceEventDelegate>)delegate;
/// @brief Unregisters a listener for a specific device.
///
/// @param device The device to unregister the listener for.
/// @param delegate The listener to remove from the device.
- (void)unregisterForDeviceEvents:(IQDevice *)device delegate:(id<IQDeviceEventDelegate>)delegate;
/// @brief Unregisters the specified listener from all devices for which it had
/// previously been registered.
///
/// @param delegate The listener to unregister.
- (void)unregisterForAllDeviceEvents:(id<IQDeviceEventDelegate>)delegate;
/// @brief Gets the current connection status of a device.
///
/// The device must have been registered for event notifications by
/// calling registerForDeviceEvents:delegate: or this method will return
/// IQDeviceStatus_InvalidDevice.
///
/// @param device The device to get the status for.
///
/// @return The device's current connection status.
- (IQDeviceStatus)getDeviceStatus:(IQDevice *)device;
// --------------------------------------------------------------------------------
#pragma mark - APP MANAGEMENT
// --------------------------------------------------------------------------------
/// @brief Begins getting the status of an app on a device. This method returns
/// immediately.
///
/// @param app The IQApp to get the status for.
/// @param completion The completion block that will be triggered when the device
/// status operation is complete.
- (void)getAppStatus:(IQApp *)app completion:(void(^)(IQAppStatus *appStatus))completion;
/// @brief Registers an object as a listener for ConnectIQ messages from an app
/// on a device.
///
/// An app may have multiple message listeners if this method is called
/// more than once.
///
/// @param app The app to listen for messages from.
/// @param delegate The listener which will receive messages for this app.
- (void)registerForAppMessages:(IQApp *)app delegate:(id<IQAppMessageDelegate>)delegate;
/// @brief Unregisters a listener for a specific app.
///
/// @param app The app to unregister a listener for.
/// @param delegate The listener to remove from the app.
- (void)unregisterForAppMessages:(IQApp *)app delegate:(id<IQAppMessageDelegate>)delegate;
/// @brief Unregisters all previously registered apps for a specific listener.
///
/// @param delegate The listener to unregister.
- (void)unregisterForAllAppMessages:(id<IQAppMessageDelegate>)delegate;
/// @brief Begins sending a message to an app. This method returns immediately.
///
/// @param message The message to send to the app. This message must be one of
/// the following types: NSString, NSNumber, NSNull, NSArray,
/// or NSDictionary. Arrays and dictionaries may be nested.
/// @param app The app to send the message to.
/// @param progress A progress block that will be triggered periodically
/// throughout the transfer. This is guaranteed to be triggered
/// at least once.
/// @param completion A completion block that will be triggered when the send
/// message operation is complete.
- (void)sendMessage:(id)message toApp:(IQApp *)app progress:(IQSendMessageProgress)progress completion:(IQSendMessageCompletion)completion;
/// @brief Sends an open app request message request to the device. This method returns immediately.
///
/// @param app The app to open.
/// @param completion A completion block that will be triggered when the send
/// message operation is complete.
- (void)openAppRequest:(IQApp *)app completion:(IQSendMessageCompletion)completion;
// TODO *** Holding off on documenting this until this method actually works.
- (void)sendImage:(NSData *)bitmap toApp:(IQApp *)app progress:(IQSendMessageProgress)progress completion:(IQSendMessageCompletion)completion;
@end

View File

@@ -0,0 +1,34 @@
//
// IQApp.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IQDevice.h"
#import "IQAppStatus.h"
/// @brief Represents an instance of a ConnectIQ app that is installed on a
/// Garmin device.
@interface IQApp : NSObject <NSSecureCoding>
/// @brief The unique identifier for this app.
@property (nonatomic, readonly) NSUUID *uuid;
/// @brief The unique identifier for this app in the store.
@property (nonatomic, readonly) NSUUID *storeUuid;
/// @brief The device that this app is installed on.
@property (nonatomic, readonly) IQDevice *device;
/// @brief Creates a new app instance.
///
/// @param uuid The UUID of the app to create.
/// @param storeUuid The store UUID of the app to create.
/// @param device The device the app to create is installed on.
///
/// @return A new IQApp instance with the appropriate values set.
+ (IQApp *)appWithUUID:(NSUUID *)uuid storeUuid:(NSUUID *)storeUuid device:(IQDevice *)device;
@end

View File

@@ -0,0 +1,20 @@
//
// IQAppStatus.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
/// @brief Represents the current status of an app on a Garmin device.
@interface IQAppStatus : NSObject
/// @brief YES if the app is installed on the device, NO if it isn't.
@property (nonatomic, readonly) BOOL isInstalled;
/// @brief The version of the app that is currently installed on the device. If
/// the app is not installed, this value is unused.
@property (nonatomic, readonly) uint16_t version;
@end

View File

@@ -0,0 +1,63 @@
//
// IQConstants.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
/// @brief The current version of the ConnectIQ SDK.
extern int const IQSDKVersion;
/// @brief The bundle identifier for the Garmin Connect Mobile app.
extern NSString * const IQGCMBundle;
/// @brief The result of a SendMessage operation
typedef NS_ENUM(NSInteger, IQSendMessageResult){
///! @brief The message was sent successfully.
IQSendMessageResult_Success,
/// @brief The message failed to send due to an unknown error.
IQSendMessageResult_Failure_Unknown,
/// @brief The message failed to send. There was an error within the SDK or
/// on the device.
IQSendMessageResult_Failure_InternalError,
/// @brief The message failed to send. The device is not available right now.
IQSendMessageResult_Failure_DeviceNotAvailable,
/// @brief The message failed to send. The app is not installed on the
/// device.
IQSendMessageResult_Failure_AppNotFound,
/// @brief The message failed to send. The device is busy and cannot receive
/// the message right now.
IQSendMessageResult_Failure_DeviceIsBusy,
/// @brief The message failed to send. The message contained an unsupported
/// type.
IQSendMessageResult_Failure_UnsupportedType,
/// @brief The message failed to send. The device does not have enough memory
/// to receive the message.
IQSendMessageResult_Failure_InsufficientMemory,
/// @brief The message failed to send. The connection timed out while sending
/// the message.
IQSendMessageResult_Failure_Timeout,
/// @brief The message failed to send and was retried, but could not complete
/// after a number of tries.
IQSendMessageResult_Failure_MaxRetries,
/// @brief The message was received by the device but it chose not to display
/// a message prompt, ignoring the message.
IQSendMessageResult_Failure_PromptNotDisplayed,
/// @brief The message was received by the device but the app to open
/// was already running on the device.
IQSendMessageResult_Failure_AppAlreadyRunning,
};
NSString *NSStringFromSendMessageResult(IQSendMessageResult value);

View File

@@ -0,0 +1,61 @@
//
// IQDevice.h
// ConnectIQ
//
// Copyright (c) 2014 Garmin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
/// @brief The current status of an IQDevice.
typedef NS_ENUM(NSInteger, IQDeviceStatus){
/// @brief No device with this UUID has been registered for status events
/// the SDK.
IQDeviceStatus_InvalidDevice,
/// @brief Bluetooth is either powered off or resetting.
IQDeviceStatus_BluetoothNotReady,
/// @brief This device could not be found by iOS. Perhaps the user removed
/// the device?
IQDeviceStatus_NotFound,
/// @brief The device is recognized by iOS, but it is not currently
/// connected.
IQDeviceStatus_NotConnected,
/// @brief The device is connected and ready to communicate.
IQDeviceStatus_Connected,
};
/// @brief Represents a ConnectIQ-compatible Garmin device.
@interface IQDevice : NSObject <NSSecureCoding>
/// @brief The unique identifier for this device.
@property (nonatomic, readonly) NSUUID *uuid;
/// @brief The model name of the device provided by Garmin Connect Mobile.
@property (nonatomic, readonly) NSString *modelName;
/// @brief The friendly name of the device, set by the user and provided by
/// Garmin Connect Mobile.
@property (nonatomic, readonly) NSString *friendlyName;
/// @brief Creates a new device instance.
///
/// @param uuid The UUID of the device to create.
/// @param modelName The model name of the device to create.
/// @param friendlyName The friendly name of the device to create.
///
/// @return A new IQDevice instance with the appropriate values set.
+ (IQDevice *)deviceWithId:(NSUUID *)uuid modelName:(NSString *)modelName friendlyName:(NSString *)friendlyName;
/// @brief Creates a new device instance by copying another device's values.
///
/// @param device The device to copy values from.
///
/// @return A new IQDevice instance with all values copied.
- (instancetype)initWithDevice:(IQDevice *)device;
@end

View File

@@ -0,0 +1,6 @@
framework module ConnectIQ {
umbrella header "ConnectIQ.h"
export *
module * { export * }
}

View File

@@ -0,0 +1,830 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Headers/ConnectIQ.h</key>
<data>
F1hICh90Ex4ADEjYLcSi0YPhrPA=
</data>
<key>Headers/IQApp.h</key>
<data>
R7+SmeArgBACIBWHRnEAugyFHKE=
</data>
<key>Headers/IQAppStatus.h</key>
<data>
WnybOSMMVqCKGns0rEz9C3EfQOg=
</data>
<key>Headers/IQConstants.h</key>
<data>
eI7keKSkaajUZACnuMhgtV1RuBA=
</data>
<key>Headers/IQDevice.h</key>
<data>
bl545C/cu0mw2KlRmzojKmHPom0=
</data>
<key>Info.plist</key>
<data>
sMY09qXRBL/m1OGNWejLjfNg04w=
</data>
<key>Modules/module.modulemap</key>
<data>
SSRVAtIAdFmowQqE4HzOpWYLubg=
</data>
<key>ar.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
1CDTE/Qaf1Z/HuhSt9CUnwitv4M=
</data>
<key>optional</key>
<true/>
</dict>
<key>cs.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
/jkyQ77G2Xd9wy6QptBphGNbtCY=
</data>
<key>optional</key>
<true/>
</dict>
<key>da.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
FYi0wjOu/Hw//Qe96yqxSb9yClc=
</data>
<key>optional</key>
<true/>
</dict>
<key>de.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
MitzVbGhXhTLjPvw9vuWcQQa50Q=
</data>
<key>optional</key>
<true/>
</dict>
<key>el.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
n82gLcjjjHszaroTFeJUvSrrc0o=
</data>
<key>optional</key>
<true/>
</dict>
<key>en.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
hcxxLyrTI+aElXlPc5dwr7jdqwc=
</data>
<key>optional</key>
<true/>
</dict>
<key>es.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
ff8DVQtNhO8pF7HFnXjh8foHXbo=
</data>
<key>optional</key>
<true/>
</dict>
<key>fi.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
R9cr8yqJmu91Xz31tGyprGR3t/s=
</data>
<key>optional</key>
<true/>
</dict>
<key>fr.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
PwFmqFeRTcjdHmkXYrPzNVYoe5o=
</data>
<key>optional</key>
<true/>
</dict>
<key>he.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
/jPUgFtYbbyELG5DZ3Sjoi/If9w=
</data>
<key>optional</key>
<true/>
</dict>
<key>hr.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
H2GtdTeORRPCnogvpWY69Dg9uME=
</data>
<key>optional</key>
<true/>
</dict>
<key>hu.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
QIimMhNyYmqp4ZW01hfj554WAMg=
</data>
<key>optional</key>
<true/>
</dict>
<key>id.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
2/54a0gkcVuk1I3m4ulDAXOLL5o=
</data>
<key>optional</key>
<true/>
</dict>
<key>it.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
hNIKYIcP/87e6g7AUP+zKRtJ52M=
</data>
<key>optional</key>
<true/>
</dict>
<key>ja.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
0iU2PbJ/3xgXMZ20ffsqaWpxKWc=
</data>
<key>optional</key>
<true/>
</dict>
<key>ko.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
ERH8oHR9H9jMHjP0EAgaTtVhnX4=
</data>
<key>optional</key>
<true/>
</dict>
<key>ms.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
DkbQA2+v/qSgQWma/fg3647Bkqs=
</data>
<key>optional</key>
<true/>
</dict>
<key>nb.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
T3zFOvuvrJt5Vnmfqt2Mf/du8as=
</data>
<key>optional</key>
<true/>
</dict>
<key>nl.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
t9PD5JEbfoSLaQ7f8M2cLghOReI=
</data>
<key>optional</key>
<true/>
</dict>
<key>pl.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
wfTnhBccAm6JfwH/JkZKNRKTUAU=
</data>
<key>optional</key>
<true/>
</dict>
<key>pt-PT.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
7yXkcZEpJ4UiRHAzhK+vw/Q857Y=
</data>
<key>optional</key>
<true/>
</dict>
<key>pt.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
tZPncsQs8weCDJa03AKLpijXSUw=
</data>
<key>optional</key>
<true/>
</dict>
<key>ru.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
Ct+byJ3rWeigvg0q6rB/kQaR+yE=
</data>
<key>optional</key>
<true/>
</dict>
<key>sk.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
1yTM1nAsAYpSH7NrYU6/nFlqk5E=
</data>
<key>optional</key>
<true/>
</dict>
<key>sv.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
i84z6vuHLrFpO0qZ2V0zYjixIws=
</data>
<key>optional</key>
<true/>
</dict>
<key>th.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
oW5npy+pDJM1wUOgTkw9FY1Ave4=
</data>
<key>optional</key>
<true/>
</dict>
<key>tr.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
76rD7PLrQMiT5YTlI8IjEFgsiU4=
</data>
<key>optional</key>
<true/>
</dict>
<key>zh-Hans.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
DNlMxUKypOvKArzi7ioJUiFfFXg=
</data>
<key>optional</key>
<true/>
</dict>
<key>zh-Hant.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
U6I+uL07KIv2b77w0c0glaJlhMg=
</data>
<key>optional</key>
<true/>
</dict>
</dict>
<key>files2</key>
<dict>
<key>Headers/ConnectIQ.h</key>
<dict>
<key>hash</key>
<data>
F1hICh90Ex4ADEjYLcSi0YPhrPA=
</data>
<key>hash2</key>
<data>
ABtgvHbvmly4QpZO/KmmrwYkL0N+AqV3gXdPVrseysY=
</data>
</dict>
<key>Headers/IQApp.h</key>
<dict>
<key>hash</key>
<data>
R7+SmeArgBACIBWHRnEAugyFHKE=
</data>
<key>hash2</key>
<data>
X4vXt0sO9gxQNzQalIaLqMpSGNRC9ue2USDcfjBYkec=
</data>
</dict>
<key>Headers/IQAppStatus.h</key>
<dict>
<key>hash</key>
<data>
WnybOSMMVqCKGns0rEz9C3EfQOg=
</data>
<key>hash2</key>
<data>
tg9qNXtTmFUvNoJtq7O/aEXBNngcGENVRhvxLJ8C/xo=
</data>
</dict>
<key>Headers/IQConstants.h</key>
<dict>
<key>hash</key>
<data>
eI7keKSkaajUZACnuMhgtV1RuBA=
</data>
<key>hash2</key>
<data>
bqDpm8yikc2FIqaSUHcLqPY6TPXLlXSUo+Dl9NUYwmA=
</data>
</dict>
<key>Headers/IQDevice.h</key>
<dict>
<key>hash</key>
<data>
bl545C/cu0mw2KlRmzojKmHPom0=
</data>
<key>hash2</key>
<data>
4N4+64IHeb9iBwyziNxo0SMuCM75ez9Em4UfmtgtTHA=
</data>
</dict>
<key>Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
SSRVAtIAdFmowQqE4HzOpWYLubg=
</data>
<key>hash2</key>
<data>
lQGjVO5Q0wfztjETCwDkwAkQ7nZInCgWdStnHL3o6Co=
</data>
</dict>
<key>ar.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
1CDTE/Qaf1Z/HuhSt9CUnwitv4M=
</data>
<key>hash2</key>
<data>
CWyQue2TCS0heGoGbN4ffetM2QZSk7lqgc2Wer2fgTg=
</data>
<key>optional</key>
<true/>
</dict>
<key>cs.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
/jkyQ77G2Xd9wy6QptBphGNbtCY=
</data>
<key>hash2</key>
<data>
1mSn+EYeYcTV1dArgHz7PkmZrV6mHWfnuG5aDa6Y87E=
</data>
<key>optional</key>
<true/>
</dict>
<key>da.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
FYi0wjOu/Hw//Qe96yqxSb9yClc=
</data>
<key>hash2</key>
<data>
yLkvGzd+smkOjicvW/+Oe6wGGyirHS+/YfjuSzyVoMM=
</data>
<key>optional</key>
<true/>
</dict>
<key>de.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
MitzVbGhXhTLjPvw9vuWcQQa50Q=
</data>
<key>hash2</key>
<data>
DFHv7MWBJmyAkOj993NmSFKbS2t8/vtSev603sBUtjI=
</data>
<key>optional</key>
<true/>
</dict>
<key>el.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
n82gLcjjjHszaroTFeJUvSrrc0o=
</data>
<key>hash2</key>
<data>
i4FAK4mi+SgS6oZv8zM74kRZToakn49E8GD7FcJBLoQ=
</data>
<key>optional</key>
<true/>
</dict>
<key>en.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
hcxxLyrTI+aElXlPc5dwr7jdqwc=
</data>
<key>hash2</key>
<data>
vmBi9DFJzFcG0OwaWKSDjgklNi407U8u2pz3EnEENN4=
</data>
<key>optional</key>
<true/>
</dict>
<key>es.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
ff8DVQtNhO8pF7HFnXjh8foHXbo=
</data>
<key>hash2</key>
<data>
z6RjynaWjrRKHmv4sLirc4eXwKOtQdylzj5+TiHpaTc=
</data>
<key>optional</key>
<true/>
</dict>
<key>fi.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
R9cr8yqJmu91Xz31tGyprGR3t/s=
</data>
<key>hash2</key>
<data>
6BI0iPRVWaP63/XFdjLBz6z7DsvvuOoaEAS+mYzrx8E=
</data>
<key>optional</key>
<true/>
</dict>
<key>fr.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
PwFmqFeRTcjdHmkXYrPzNVYoe5o=
</data>
<key>hash2</key>
<data>
geXjZzXre2CRiALecPFBGz4JSJA7MbkDnB4qrEMKNwk=
</data>
<key>optional</key>
<true/>
</dict>
<key>he.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
/jPUgFtYbbyELG5DZ3Sjoi/If9w=
</data>
<key>hash2</key>
<data>
47mcrSx16SFjWPIiN7guCAG0va8NiJ6I5s45tSVEHlY=
</data>
<key>optional</key>
<true/>
</dict>
<key>hr.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
H2GtdTeORRPCnogvpWY69Dg9uME=
</data>
<key>hash2</key>
<data>
4bQvygPax6VBpoFlyS5by1N6otnDMliHu+bWsDaWSQc=
</data>
<key>optional</key>
<true/>
</dict>
<key>hu.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
QIimMhNyYmqp4ZW01hfj554WAMg=
</data>
<key>hash2</key>
<data>
0m2fIyz26vh3RlUqqSXvoNTLovxIixrUyJoL/IDSoVk=
</data>
<key>optional</key>
<true/>
</dict>
<key>id.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
2/54a0gkcVuk1I3m4ulDAXOLL5o=
</data>
<key>hash2</key>
<data>
hQf9SrG7d8aVWsXIbCIxkKEJjbnW1FLvS+MbOI1VtHQ=
</data>
<key>optional</key>
<true/>
</dict>
<key>it.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
hNIKYIcP/87e6g7AUP+zKRtJ52M=
</data>
<key>hash2</key>
<data>
XAbEWX6cicDxGzxGgSx3DhF4rjUHX4LV+dO0X3rUEqc=
</data>
<key>optional</key>
<true/>
</dict>
<key>ja.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
0iU2PbJ/3xgXMZ20ffsqaWpxKWc=
</data>
<key>hash2</key>
<data>
YOqOvZq0WEN4DCoSwc0lcTSRc4C812DqzjIsaid1SHg=
</data>
<key>optional</key>
<true/>
</dict>
<key>ko.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
ERH8oHR9H9jMHjP0EAgaTtVhnX4=
</data>
<key>hash2</key>
<data>
WJyaRCWn1KqmcDeajRnC41MdNrlpbI+1JbPkXhbKrKY=
</data>
<key>optional</key>
<true/>
</dict>
<key>ms.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
DkbQA2+v/qSgQWma/fg3647Bkqs=
</data>
<key>hash2</key>
<data>
gztYxa4Hn58HkKmcUIZI1jCz44IETZeMsqrpZSKxJvc=
</data>
<key>optional</key>
<true/>
</dict>
<key>nb.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
T3zFOvuvrJt5Vnmfqt2Mf/du8as=
</data>
<key>hash2</key>
<data>
Oy6UOwSN+/xPIrthAEvzV8PEn27kfsHpMMLU5w1rww0=
</data>
<key>optional</key>
<true/>
</dict>
<key>nl.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
t9PD5JEbfoSLaQ7f8M2cLghOReI=
</data>
<key>hash2</key>
<data>
XbijhSaZgmsW59Vo9ZEbhDuUQH18fHizWKzsLosiM0o=
</data>
<key>optional</key>
<true/>
</dict>
<key>pl.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
wfTnhBccAm6JfwH/JkZKNRKTUAU=
</data>
<key>hash2</key>
<data>
MQYgqA+Hl03JJ261Q19K5Lt64kSTBP+pfpD+jOVE3AU=
</data>
<key>optional</key>
<true/>
</dict>
<key>pt-PT.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
7yXkcZEpJ4UiRHAzhK+vw/Q857Y=
</data>
<key>hash2</key>
<data>
seINq3QazVameLGOW+pIAtGWLa6NDl5XWRtqnObxywo=
</data>
<key>optional</key>
<true/>
</dict>
<key>pt.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
tZPncsQs8weCDJa03AKLpijXSUw=
</data>
<key>hash2</key>
<data>
GnzdqEuQwORzVCih99bwr79UHIyzXm+zuN5b9m1NrKY=
</data>
<key>optional</key>
<true/>
</dict>
<key>ru.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
Ct+byJ3rWeigvg0q6rB/kQaR+yE=
</data>
<key>hash2</key>
<data>
yCN9s/JXYqsMNZ1icaH4hUwyMQ1NtxOmV6sIAtRd9pc=
</data>
<key>optional</key>
<true/>
</dict>
<key>sk.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
1yTM1nAsAYpSH7NrYU6/nFlqk5E=
</data>
<key>hash2</key>
<data>
OFHDtkGLLSfTuSx8GOTycKDCKOKmX0Wh2QG1CHhRz3I=
</data>
<key>optional</key>
<true/>
</dict>
<key>sv.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
i84z6vuHLrFpO0qZ2V0zYjixIws=
</data>
<key>hash2</key>
<data>
a3Gk+3USOT5uundOXrNCgnbcD0rDo2lkCO7b7+zg2Is=
</data>
<key>optional</key>
<true/>
</dict>
<key>th.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
oW5npy+pDJM1wUOgTkw9FY1Ave4=
</data>
<key>hash2</key>
<data>
qxGqAqRMwm0/dMd0W7DUsvbWb9x65GT+3d1zOQEql1w=
</data>
<key>optional</key>
<true/>
</dict>
<key>tr.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
76rD7PLrQMiT5YTlI8IjEFgsiU4=
</data>
<key>hash2</key>
<data>
Y6TnKQmqO/TAx+0KYqRRG6UOz7I/gM1YmbUwgSfZSQU=
</data>
<key>optional</key>
<true/>
</dict>
<key>zh-Hans.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
DNlMxUKypOvKArzi7ioJUiFfFXg=
</data>
<key>hash2</key>
<data>
BI3m4MTMHuPI4sQKPGeQnxIlBJJrXwgVuR7Ho1Q5o6Y=
</data>
<key>optional</key>
<true/>
</dict>
<key>zh-Hant.lproj/IQLocalizable.strings</key>
<dict>
<key>hash</key>
<data>
U6I+uL07KIv2b77w0c0glaJlhMg=
</data>
<key>hash2</key>
<data>
14dQnjX3pEz2Um4J/fOdQDRe/LSuXxqkg1hEkO8E5ys=
</data>
<key>optional</key>
<true/>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

Some files were not shown because too many files have changed in this diff Show More