OpenRowingCommunity / c2bluetooth

A Flutter library for interacting with Concept2 PM5 rowing machines over bluetooth
GNU Lesser General Public License v3.0
3 stars 1 forks source link

Add indicator for when the bluetooth gets disconnected #8

Closed crewlab-org closed 2 years ago

MoralCode commented 2 years ago

Thanks for filing this! In case it helps, i will likely be making use of observeConnectionState internally as documented at https://github.com/dotintent/FlutterBleLib/blob/master/REFERENCE.md#peripheral and wrapping the PeripheralConnectionState values in a new object just to abstract it and help with #5 .

Feel free to assume that you'll get a stream of connection state info from some method on Ergometer if it helps to stub out what you need. I'll do my best to get this added soon

MoralCode commented 2 years ago

resolved in 30000639ef800371dabec0f58b5d845f104e1899