flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

Flutter Blue Read Characteristics on Successful Connect

Open Alade5673 opened this issue 2 years ago • 1 comments

How do I listen to the response from my Arduino device on a successful connection?

Once connected, my Arduino devices send a list of values in this format [1111111111111111111111111111111111234].

How can I read these values using flutter blue

Alade5673 avatar Jun 28 '22 11:06 Alade5673

After you established a connection to your device, you can do a read or notify on any characteristic of your Arduino; then parse the message out the byte stream; If you want to transfer more than 20 bytes, the message must be split into several chunks and and re-composed by your app.

You should identify the service and characteristics and the encoding of the data; use the following application for debugging/testing purposes.

nRF Connect for Mobile

mi-sch-ka avatar Jul 10 '22 12:07 mi-sch-ka