Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Daum realtime devices (#2952)
* train: add support for serial daum devices Add support for daum devices connected via serial port. Such device could be: - Daum Vital - Daum ergo_bike series * ergo_bike_2002 * ergo_bike 4004 TRS * ergo_bike cardio * ergo_bike vita * ergo_bike fitness The only device I own is a Daum Vital, therfore this is the only device that is known to work correctly. The default behaviour is to send the load to the device only once to allow the user to interact with the device. The profile field is used to pass a _force_ flag in form of a string containing the word _force_. Doing so will cause the implementation to send the load to the device every _poll interval_ (default 1s), except the training is paused. Signed-off-by: Florian Nairz <nairz.florian@gmail.com> * train: daum: fix unsigned/signed compare mismatch and add return value
- Loading branch information