Can't reconnect after disconnect
See original GitHub issueHi
On iOS when I call disconnect() the state changes directly to Disconnected, if I Connect again the state changes to Connected but on write if get the com.juul.kable.NotReadyException because the peripheral is disconnected
Debug: (Kermit) New state Disconnected(status=null)
Debug: (Kermit) New state com.juul.kable.State.Connecting.Bluetooth@83761768
Debug: (Kermit) New state com.juul.kable.State.Connecting.Services@83761528
Debug: (Kermit) New state com.juul.kable.State.Connected@83761718```
Now I call disconnect() the state never updates, if I call connect() again it updates directly to Connected
Debug: (Kermit) New state com.juul.kable.State.Connected@83761718
Now I write to the peripheral but I get the exception because the peripheral is disconnected.
com.juul.kable.NotReadyException
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Remote Desktop client disconnects and can't reconnect to the ...
In this article. After Remote Desktop client loses its connection to the remote desktop, the client can't immediately reconnect.
Read more >Why cant reconnect , after disconnecting? That is blatantly bad ...
Your character would still be vulnerable, just not moving, as you arent connected to the game for a little bit.
Read more >Can't reconnect after server disconnect - Blizzard Forums
Hi, I just got a red exclamation icon in a comp game - I've never seen it before. The server connection dropped shortly...
Read more >Cannot reconnect after disconnection from remote #4441
The only way to reconnect is to close the window or select "Close Remote Connection", which will discard all of your edits. So...
Read more >Remote Desktop client disconnects and cannot reconnect to ...
In short, Remote Desktop client after it loses connection and disconnects cannot reconnect to the same session.A work around in this case is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @twyatt thank you, I can confirm it works in version 0.12.0, great job 👍
Fixed in 0.12.0.