Closed adarshsinggh closed 1 year ago
This is behaviour of Ble. What happens is that aomwrimwa it takes longer. What I would recommend is using to improve this behaviour: https://github.com/PhilipsHue/flutter_reactive_ble/blob/a8a0d6bce76dabf0cfc9a15e15bdb1a309e24ec8/packages/flutter_reactive_ble/lib/src/reactive_ble.dart#L211
Whenever i am sending the request it is taking a delay of 4 seconds approximately on every step, but sometimes it works smooth in release mode
To Reproduce Steps to reproduce the behavior: Stream manual(String deviceId) async* {
List list = [];
final r = flutterReactiveBle.subscribeToCharacteristic(
qualifiedChar(Uuid.parse(ServiceIds.MANUAL_BUTTON), deviceId));
r.map((event) {
list = event;
});
yield convertAscii(list);
}
Smartphone / tablet
Peripheral device