Skip to content

Commit be135a8

Browse files
committed
BluetoothDeviceModel: add gatt service
1 parent c09ad0d commit be135a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/view/pages/bluetooth/bluetooth_device_model.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class BluetoothDeviceModel extends SafeChangeNotifier {
6363
late bool legacyPairing;
6464
late bool wakeAllowed;
6565
late int txPower;
66+
late List<BlueZGattService> gattServices;
6667

6768
BluetoothDeviceModel(this._device) {
6869
updateFromClient();
@@ -90,6 +91,7 @@ class BluetoothDeviceModel extends SafeChangeNotifier {
9091
legacyPairing = _device.legacyPairing;
9192
wakeAllowed = _device.wakeAllowed;
9293
txPower = _device.txPower;
94+
gattServices = _device.gattServices;
9395
}
9496

9597
Future<void> connect() async {

0 commit comments

Comments
 (0)