flutter_blue
flutter_blue copied to clipboard
Flutter Blue Read Characteristics on Successful Connect
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
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.