Hi, I'm trying to connect between Android phone and Gear S2 via bluetooth. Android app is a bluetooth server, and Gear S2 app is a client.
When the client tries to connect to the server, fail callback is invoked in client side(connection succeed in server side). I don't know why it does.
I used the 'connectToServiceByUUID' method of BluetoothDevice interface in the client side, and 'listenUsingInsecureRfcommWithServiceRecord' method of BluetoothAdapter class & 'accept' method of BluetoothServerSocket class in the server side.
does anyone know about that? Why connection succeed in server side and failed in client side? How can I establish connection from Gear S2 to Android phone via bluetooth?