You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
characteristicUuid: 00002a18-0000-1000-8000-00805f9b34fbserviceUuid: 00001808-0000-1000-8000-00805f9b34fb E/flutter (32044): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: PlatformException(read_characteristic_error, The READ property is not supported by this BLE characteristic, null, null) #0
#406
Flutter Blue Plus is going through some major refactoring lately. To rule out that your error would be connected to any of the recent changes could you test your code with pre 1.7.0 Flutter Blue Plus as well (let's say 1.5.2)?
The Glucose Measurement characteristic (UUID: 0x2A18) supports the following properties according to the Bluetooth SIG specifications:
Indicate: This property means that the characteristic is capable of sending indications of its value to a connected device. An indication is similar to a notification, but it also requires a response from the receiver acknowledging that it got the data.
The Glucose Measurement characteristic does not support properties like "read", "write", "notify", or "broadcast".
you'll need to use setNotifications and onValueReceived. you cannot use read()
characteristicUuid: 00002a18-0000-1000-8000-00805f9b34fbserviceUuid: 00001808-0000-1000-8000-00805f9b34fb
E/flutter (32044): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: PlatformException(read_characteristic_error, The READ property is not supported by this BLE characteristic, null, null) #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
E/flutter (32044): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
E/flutter (32044):
E/flutter (32044): #2 BluetoothCharacteristic.read. (package:flutter_blue_plus/src/bluetooth_characteristic.dart:117:7)
E/flutter (32044):
E/flutter (32044): #3 _Mutex.synchronized (package:flutter_blue_plus/src/utils.dart:311:7)
E/flutter (32044):
E/flutter (32044): #4 BluetoothCharacteristic.read (package:flutter_blue_plus/src/bluetooth_characteristic.dart:91:5)
E/flutter (32044):
E/flutter (32044):
E/flutter (32044): #0 BluetoothCharacteristic.read. (package:flutter_blue_plus/src/bluetooth_characteristic.dart:134:7)
E/flutter (32044): #1 _RootZone.runBinary (dart:async/zone.dart:1666:54)
E/flutter (32044): #2 _FutureListener.handleError (dart:async/future_impl.dart:162:22)
E/flutter (32044): #3 Future._propagateToListeners.handleError (dart:async/future_impl.dart:796:47)
E/flutter (32044): #4 Future._propagateToListeners (dart:async/future_impl.dart:817:13)
E/flutter (32044): #5 Future._completeError (dart:async/future_impl.dart:592:5)
E/flutter (32044): #6 Future._asyncCompleteError. (dart:async/future_impl.dart:683:7)
E/flutter (32044): #7 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (32044): #8 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
E/flutter (32044):
The text was updated successfully, but these errors were encountered: