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

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

More from Medium

CS 371p Spring 2022 Blog 10: Andrew Luo

PCMtuner ECU Operation: Infineon Tricore BSL on Bench

PCMtuner-Infineon Tricore BSL on Bench

Pulse: How the Music Scene is Evolving through Blockchain

The profile of Tour Du Zwift participants