Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Best follow our landing page and the "Get Started" button: [bikecontrol.app](htt
- REZVIVO
- OpenRadlr
- zwoTrainer
- Incyclist
- Tacx Training
- FulGaz
- [OpenBikeControl](https://openbikecontrol.org) compatible apps
Expand Down
Binary file added assets/incyclist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions lib/utils/keymap/apps/openbikecontrol_trainer_apps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,12 @@ class OpenBikeControlTrainerApp extends SupportedApp {
logo: 'zwotrainer.png',
officialUrl: 'https://steffenr.github.io/zwo-trainer/',
),
OpenBikeControlTrainerApp(
name: 'Incyclist',
logo: 'incyclist.png',
officialUrl: 'https://incyclist.com',
mdns: true,
wifiTrainers: true,
),
];
}
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ flutter:
- assets/rezvivo.png
- assets/openradlr.png
- assets/zwotrainer.png
- assets/incyclist.png
- assets/biketerra.png
- assets/contours/
- assets/brand/
Expand Down
9 changes: 5 additions & 4 deletions test/openbikecontrol_trainer_apps_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ void main() {
'REZVIVO',
'OpenRadlr',
'zwoTrainer',
'Incyclist',
];

SupportedApp byName(String name) => SupportedApp.supportedApps.singleWhere((app) => app.name == name);
Expand All @@ -25,22 +26,22 @@ void main() {
}
});

test('they connect via OpenBikeControl over Bluetooth, VoxVelo and Vieta also over the network', () {
test('they connect via OpenBikeControl over Bluetooth, VoxVelo, Vieta and Incyclist also over the network', () {
for (final name in names) {
final app = byName(name);
expect(app.supportLevel(AppConnectionMethod.obpBle), ConnectionSupport.supported, reason: name);
final mdns = name == 'VoxVelo' || name == 'Vieta';
final mdns = name == 'VoxVelo' || name == 'Vieta' || name == 'Incyclist';
expect(app.supportLevel(AppConnectionMethod.obpMdns), mdns ? ConnectionSupport.supported : isNull, reason: name);
// OBC delivers button events over the protocol, so there is no keyboard map.
expect(app.keymap.keyPairs, isEmpty, reason: name);
}
});

test('only Vieta finds trainers over Wi-Fi as well', () {
test('only Vieta and Incyclist find trainers over Wi-Fi as well', () {
for (final name in names) {
expect(
byName(name).virtualShiftingTransports,
name == 'Vieta'
name == 'Vieta' || name == 'Incyclist'
? {TrainerConnectionType.bluetooth, TrainerConnectionType.wifi}
: {TrainerConnectionType.bluetooth},
reason: name,
Expand Down