You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using autoconnect=true and a clientside timeout of 15sec. The connect() method is suspending and returns the gatt instance only when a connection has been established. Without the gatt reference, however, I can't properly close the gatt in case of a timeout. The HCI interface seems to keep trying to connect in the background. My gut tells me the .waitForConnection() should be decoupled from the ClientBleGatt.connect() and instead the API user should call it when necessary.
The text was updated successfully, but these errors were encountered:
I'm using
autoconnect=true
and a clientside timeout of 15sec. The connect() method is suspending and returns the gatt instance only when a connection has been established. Without the gatt reference, however, I can't properly close the gatt in case of a timeout. The HCI interface seems to keep trying to connect in the background. My gut tells me the.waitForConnection()
should be decoupled from theClientBleGatt.connect()
and instead the API user should call it when necessary.The text was updated successfully, but these errors were encountered: