This commit is contained in:
Jonas Bark
2025-12-09 21:56:45 +01:00
parent 37bc2110f5
commit ef1048ec08

View File

@@ -73,7 +73,7 @@ class WahooKickrHeadwind extends BluetoothDevice {
// Check if manual mode is enabled, if not enable it first
if (_currentMode != HeadwindMode.manual) {
final manualModeData = Uint8List.fromList([0x02, 0x04]);
final manualModeData = Uint8List.fromList([0x04, 0x04]);
await UniversalBle.write(
device.deviceId,
service,
@@ -100,8 +100,8 @@ class WahooKickrHeadwind extends BluetoothDevice {
final service = WahooKickrHeadwindConstants.SERVICE_UUID.toLowerCase();
final characteristic = WahooKickrHeadwindConstants.CHARACTERISTIC_UUID.toLowerCase();
// Command format: [0x02, 0x02] for HR mode
final data = Uint8List.fromList([0x02, 0x02]);
// Command format: [0x04, 0x02] for HR mode
final data = Uint8List.fromList([0x04, 0x02]);
await UniversalBle.write(
device.deviceId,