问题
I am using flutter blue to connect with an adafruit feather board and read in/write some values. How would I go about setting up a new characteristic that I wished to read from? I have followed the example but am having difficulty reading the double values produced on my arduino code.
//Read Uuid
BluetoothCharacteristic readCharacter = new
BluetoothCharacteristic(uuid: null, serviceUuid: 6e400001-b5a3-f393-e0a9-
e50e24dcca9e, descriptors: null,
properties: null);
//Write UUID
I am unsure what the declaration of the specific Bluetooth Characteristic I desire requires as parameters. Documentation indicates a uuid which I am unsure how to format?
Additionally, if there are any other examples of a simple project reading and writing values with a user interface established it would be nice to view.
来源:https://stackoverflow.com/questions/51932757/flutter-blue-read-characteristic-uuid