Closed twyatt closed 4 years ago
Plz re-request review when out of draft
Small update: This PR was brought into develop
via a fast-forwarding of develop
to internal
(that was dropped). So some slight modifications of the squashed commit may exist in the final commit that landed in develop
.
🏗️ Changes
KeepAliveGatt
uses underlyingGatt
'sonConnectionStateChange
data stream to detect connection droponCharacteristicChanged
BroadcastChannel
onConnected
,onDisconnected
, etc) exceptions are propagated to collector scopeKeepAliveGatt
's parent scopedisconnect()
) and disconnect (viakeepAliveGatt.disconnect()
) are possible directly from event handler functions📓 Notes
Since
SharedFlow
is not yet officially released, this branch was developed against internally built Coroutines artifacts; this PR will be merged intointernal
branch (see #86 for details).