WinBleCharacteristic constructor
WinBleCharacteristic({})
Implementation
WinBleCharacteristic({
required this.deviceId,
required this.serviceId,
required this.characteristicId,
}) {
backend.WinBle.characteristicValueStreamOf(
address: deviceId,
serviceId: serviceId,
characteristicId: characteristicId)
.listen((value) {
notifyData(Uint8List.fromList(value));
});
}