If you want to keep the code as it is, removing the _disconnect() call at row 80 should make it possible to read the temperature again by pressing the FAB button. There's also another solution: subscribing the characteristic with subscribeToCharacteristic with flutter_reactive_blue package (it's something that I would like to try, too). :)

--

Full-time Human-computer interpreter. Opinions are my own.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Juna Salviati

Juna Salviati

191 Followers

Full-time Human-computer interpreter. Opinions are my own.