Hi,
I wonder if you already had such troubles : I am trying to connect to a Bluetooth device (a smartwatch) that seems to initiate the connection after having been previously paired.
I say "seems" because when I try to use the serial connection, I get the famous "java.IOException:Service discovery failed". So, I arrived to the conclusion that the phone won't be able to connect directly to the smartwatch. But this was false because when you go to the Android's Bluetooth Preferences and click on the paired device, the phone connects.
I have tried : connect2 and connect3 but I always get the Success to false
To be really sure that this problem didn't come from my code, I have tried with Erel's Serial Sample too : http://www.b4x.com/android/forum/threads/android-serial-tutorial.6908/ and I've got the same error.
Do you have any idea about this ? Many thanks
I wonder if you already had such troubles : I am trying to connect to a Bluetooth device (a smartwatch) that seems to initiate the connection after having been previously paired.
I say "seems" because when I try to use the serial connection, I get the famous "java.IOException:Service discovery failed". So, I arrived to the conclusion that the phone won't be able to connect directly to the smartwatch. But this was false because when you go to the Android's Bluetooth Preferences and click on the paired device, the phone connects.
I have tried : connect2 and connect3 but I always get the Success to false
To be really sure that this problem didn't come from my code, I have tried with Erel's Serial Sample too : http://www.b4x.com/android/forum/threads/android-serial-tutorial.6908/ and I've got the same error.
Do you have any idea about this ? Many thanks
Last edited: