Skip to content

Commit

Permalink
Add temp fix for gear hw ver stopping commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Jun 8, 2024
1 parent fbea84f commit e80077e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backend/Definitions/Device/device_definition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class BaseStatefulDevice extends ChangeNotifier {
// Add initial commands to the queue
Future.delayed(const Duration(seconds: 2), () {
commandQueue.addCommand(BluetoothMessage(message: "VER", device: this, priority: Priority.low, type: CommandType.system, responseMSG: "VER "));
commandQueue.addCommand(BluetoothMessage(message: "HWVER", device: this, priority: Priority.low, type: CommandType.system, responseMSG: "HWVER "));
commandQueue.addCommand(BluetoothMessage(message: "HWVER", device: this, priority: Priority.low, type: CommandType.system, responseMSG: baseDeviceDefinition.deviceType == DeviceType.ears ? "HWVER " : null));
});
}
});
Expand Down

0 comments on commit e80077e

Please sign in to comment.