Abász
35303547e2
Fix error on simultaneous ANT peripheral startup
...
Move the peripheral startup sequence to an async function to ensure
proper startup order and to avoid multiple simultaneous calls to the
ANT stick causing app crash.
2023-02-12 22:40:16 +01:00
Abász
405bcab55a
Code cleanup
...
Change logging level for the broadcast data of the ANT+ FE peripheral.
Fix callback signature mismatch in bleno `stopAdvertising()` method
2023-02-12 22:40:16 +01:00
Abász
a0686150a2
Update button layout styling for the GUI
...
Restyle the button layout to be responsive and fix potential overflows
2023-02-12 22:40:16 +01:00
Abász
cd1ff3d001
Fix crash when peripheral mode changed too quickly
...
Add boolean guard flag to fix potential crash when user clicks the
peripheral change buttons without waiting for the first request to
complete in the GUI (i.e. clicks too quickly).
2023-02-12 22:40:16 +01:00
Abász
4f62b2322e
Add ANT+ profile manager
...
- Implement an ANT+ profile manager similar to BLE
- Implement ANT+ Fitness Equipment profile to be able to broadcast data
- Add button to the UI to scroll through the ANT+ profiles
2023-02-12 22:40:16 +01:00
Abász
e938f5d8a0
Fix app crash when bleMode is set to OFF initially
...
Add guard clauses to notifyMetric call if bleMode is off.
Set blePeripheral and hrmPeripheral to undefined to avoid repeated call
to destroy() (i.e. calling destroy() on an already destroyed peripheral)
2023-02-12 22:40:16 +01:00
Abász
3bb0229d3a
Move to new ant-plus library
...
Move to a new, still maintained, ant-plus library that solves the
connection dropout issue experienced with the original when using HRM as
well as that provides a cleaner interface to manage the ANT device.
2023-02-12 22:40:16 +01:00
Abász
17d6a74332
Enable rotation of the heart rate monitor modes
...
Add button to the GUI so the user can switch between heart rate monitor
modes (BLE, ANT, OFF). Update peripheralManager to handle switching and
implement necessary changes to the structure of the peripheralManager.
2023-02-12 22:40:16 +01:00
Abász
a3cd6e6f39
Add OFF mode to BLE peripheral and refactoring
...
Add OFF mode to be able to turn BLE advertisement off. Rename
switchPeripheralMode function to include BLE in order to be more
descriptive.
2023-02-12 22:40:16 +01:00
Abász
7ef338d856
Refactor heart rate peripherals
...
Refactor ANT manager to be a central class managing the ANT stick state.
This state could be used for future implementation of other ANT profiles
and the peripheralManager should be responsible for creating once needed
2023-02-12 22:40:16 +01:00
Abász
3edfe22434
Refactor and restructure peripheral related code
...
- Create a new main folder to include ANT and BLE
- Move peripheralManager with other files with shared information
- Refactor static notify characteristics
- Refactor code to be more uniform across the different peripherals
2023-02-12 22:40:16 +01:00
Jaap van Ekris
0c90c18382
Small wording changes
2023-01-27 16:11:05 +01:00
Jaap van Ekris
198181dfeb
Updated to help people further
...
Added new insights based on https://github.com/laberning/openrowingmonitor/discussions/115 and https://github.com/JaapvanEkris/openrowingmonitor/discussions/11
2023-01-27 16:06:43 +01:00
Jaap van Ekris
2e3d6a4ca7
Added an example of a bouncing sensor
...
Added an example of a bouncing sensor
2023-01-27 16:00:30 +01:00
Jaap van Ekris
ca3dc3aa2a
Added depiction of maximumTimeBetweenImpulses
...
Added depiction of maximumTimeBetweenImpulses to illustrate pause behaviour
2023-01-27 15:29:33 +01:00
Jaap van Ekris
f737fdb04d
Fixed a bad example config
...
The example configuration pointed to a renamed rower....
2023-01-22 14:38:44 +01:00
Jaap van Ekris
60350f3dc7
Added recommendation of OS Lite 64Bit
2023-01-18 14:11:19 +01:00
Jaap van Ekris
6e5089d4a3
Update Supported_Rowers.md
2023-01-18 09:30:10 +01:00
Jaap van Ekris
704c2faaae
Removed the Sportplus as an option
2023-01-18 09:29:28 +01:00
Jaap van Ekris
c82a97796c
Fixed a table error
2023-01-17 23:53:41 +01:00
Jaap van Ekris
0ba86d891c
Fixed Lint errors
...
Fixed Lint errors
2023-01-17 23:49:00 +01:00
Jaap van Ekris
47316d5027
Creation to support users
2023-01-17 23:45:07 +01:00
Jaap van Ekris
89e534110e
Added a link to supported rowers
2023-01-17 23:37:56 +01:00
Jaap van Ekris
2e50a48e61
Added a list of known machines
2023-01-17 11:48:28 +01:00
Jaap van Ekris
b4739536d2
Added link to software setup
...
Added link to software setup
2023-01-17 11:14:47 +01:00
Jaap van Ekris
f7aae7b6e0
Added reason to modify hardware setup
...
Added reason to modify hardware setup in documentation
2023-01-16 17:21:03 +01:00
Jaap van Ekris
3e2f954205
Added paragraph about handle-based sensors
...
Added a paragraph about handle-based sensors.
2023-01-16 17:18:57 +01:00
Jaap van Ekris
6eed136caf
Move functionality to the Finite State Machine
...
On hindsight, the approach of letting the FSM handle all state transitions explicitly is much clearer
2023-01-16 12:18:46 +01:00
Jaap van Ekris
36953315bd
Move functionality to the Finite State Machine
...
On hindsight, the approach of letting the FSM handle all state transitions explicitly is much clearer
2023-01-16 12:18:39 +01:00
Jaap van Ekris
675c85cb59
Added restart limit to prevent bootloop
...
Added a restart limit to the service definition to prevent an infinite bootloop
2023-01-15 22:09:27 +01:00
Jaap van Ekris
f1e7d086df
Added restart limit to prevent bootloop
...
Added a restart limit to the service definition to prevent an infinite bootloop
2023-01-15 22:09:23 +01:00
Jaap van Ekris
7251a8144d
Douncheck with 0.8.4 settings
...
Checked that the sanity check would fix all mew variables, allowing a 0.8.4 config file to be used with V1Beta without any crashes or issues.
2023-01-15 21:52:55 +01:00
Jaap van Ekris
d67745c5df
Fixed Line error
...
Fixed Line error
2023-01-15 21:45:25 +01:00
Jaap van Ekris
75e2455b10
Added workout management to RowingStatistics
...
Added workout management to the role of RowingStatistics
2023-01-15 21:37:25 +01:00
Jaap van Ekris
f628a6e791
Updates to fix review comments
...
Updates to fix review comments
2023-01-15 21:18:43 +01:00
Jaap van Ekris
758f2d25ea
Added Intervals.icu compatibility
...
Added Intervals.icu to the list of compatible users of tcx files.
2023-01-15 17:57:13 +01:00
Jaap van Ekris
e5696378b0
Fixed a Lint error
2023-01-15 17:34:25 +01:00
Jaap van Ekris
1405b80bc7
Removal of surplus logging line
2023-01-15 17:31:28 +01:00
Jaap van Ekris
37edd0290b
Update to facilitate more complex workouts
...
Update to facilitate more complex workouts. RowingStatistics will now manage the intervals completely independently and alert server.js only when the session has ended.
2023-01-15 17:29:58 +01:00
Jaap van Ekris
94a2aad840
Added logic for more complex workouts
...
Added logic for more complex workouts: RowingStatistics will handle this completely independently
2023-01-15 17:07:48 +01:00
Jaap van Ekris
fcb3944848
Removed some artificial limits
2023-01-12 12:28:27 +01:00
Jaap van Ekris
fb64547e30
Allowed the config check to repair settings
...
Added the ability to automatically fix forgotten or implausible settings when possible.
2023-01-12 12:25:06 +01:00
Jaap van Ekris
3364ef38a8
Centralising parameter check
...
Removed sanity checks in RowingStatistics, as the configmanager centralises the parameter check
2023-01-11 23:30:11 +01:00
Jaap van Ekris
ce9294dfb8
Centralising parameter check
...
Removed sanity checks in RowingStatistics, as the configmanager centralises the parameter check
2023-01-11 23:29:52 +01:00
Jaap van Ekris
0378f27655
Fixed Lint errors
...
Fixed Lint errors
2023-01-11 23:19:48 +01:00
Jaap van Ekris
dc43c38e16
Improvement of code quality
...
Improvement of code quality
2023-01-11 23:17:56 +01:00
Jaap van Ekris
e29d723776
Added sanity checks to the config manager
...
Added a lot of sanity checks to the loading of the config.
2023-01-11 23:06:34 +01:00
Jaap van Ekris
11ff22eca1
Fixed a missing bracket
2023-01-11 10:15:48 +01:00
Jaap van Ekris
b4e8f16b3c
Improvement of code quality
...
Replaced the horrible ested If...then....else with a much more readable case statement to implement the Concept 2 table
2023-01-11 10:12:54 +01:00
Jaap van Ekris
733720fa44
Expansion of the Interval type
...
Addittion of the interval type, as a preperation of the more complex workout schedules
2023-01-10 11:56:37 +01:00