flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

how can i make the data that are received readable?

Open ghabri1997 opened this issue 2 years ago • 1 comments

ghabri1997 avatar Apr 29 '22 16:04 ghabri1997

utf8.decode(value);

This should convert the data to readable format, assuming BLE device is sending in human readable data in bytes.

use it like following : characteristic.value.listen((value) { debugPrint("received => ${utf8.decode(value)}"); });