arissa34 / Android-Multi-Bluetooth-Library

Android Multi Bluetooth Library http://arissa34.github.io/Android-Multi-Bluetooth-Library/
187 stars 68 forks source link

createClient(mAddressMac) never stops to work #3

Open methelas2 opened 9 years ago

methelas2 commented 9 years ago

I tried pretty much every possible thing I came up with to stop it but...

Once called "createClient(mAddressMac) it starts a new Thread, which constantly tries to establish connection with chosen device. I found myself helpless in stopping it. As I read into you library it should stop when disconnectClient() or even resetClient() is called but it won't. It keeps trying to establish connection, even if you completely turn off Bluetooth, call "closeAllConexion", try to create Connection with another "server" or change your mode from client to server.

Is there something that I'm missing? :-(