mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-03 02:24:28 +01:00
31 lines
897 B
Dart
31 lines
897 B
Dart
//INFO: This is a stub - contact me if you need the full implementation.
|
|
|
|
import 'package:flutter/foundation.dart';
|
|
import 'package:universal_ble/universal_ble.dart';
|
|
|
|
class FtmsEmulator {
|
|
final ValueNotifier<bool> isStarted = ValueNotifier(false);
|
|
final ValueNotifier<bool> isConnected = ValueNotifier(false);
|
|
final ValueNotifier<bool> isUnlocked = ValueNotifier(false);
|
|
final ValueNotifier<bool> alreadyUnlocked = ValueNotifier(false);
|
|
final ValueNotifier<bool> waiting = ValueNotifier(false);
|
|
|
|
ValueListenable<String> data = ValueNotifier('');
|
|
|
|
DateTime get connectionDate => DateTime.now();
|
|
|
|
bool processCharacteristic(String characteristic, Uint8List bytes) {
|
|
return false;
|
|
}
|
|
|
|
void setScanResult(BleDevice scanResult) {}
|
|
|
|
Future<void> startServer() async {}
|
|
|
|
void stop() {}
|
|
|
|
void handleServices(List<BleService> services) {}
|
|
|
|
void setRetrofit(bool value) {}
|
|
}
|