Error: IllegalThreadStateException when starting a new connection after closing a previous one in V3 plugin.
Closed this issue · 2 comments
michaelgy commented
Hi, currently when you start a new connection after closing a previous one you get:
StartConnection Error: IllegalThreadStateException
Looking into stackoverflow, it seems that the line #154 is the problem:
BlueUnity/Android source code/V3/BluetoothConnector.java
Lines 152 to 156 in d7c810e
I think that the solution is to create a new thread before running ReadDatathread.start();
.
How to reproduce it
- Start a connection.
- Close the connection.
- Start a connection.
bentalebahmed commented
I ll test that and get back to you
bentalebahmed commented
Problem solved, please check the last update. Let me know if you face any further issues. thanks for your support.