-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connect exception #29
Comments
Discovering process could be an issue as it is a heavyweight procedure.
|
Same error as @xiaolingcong
E/B: Error: read failed, socket might closed or timeout, read ret: -1 It is only connecting with my macbook and HC-06 Bluetooth Module but not with any other Bluetooth device like Android. I think the issue is with UUID because supported UUID list doesn't show UUID that I have coded as Base UUID in code. Any suggestions? |
@Muhammad-Soban try to generate your own unique UUID while connecting two Android devices. |
If you are connecting to a Bluetooth headset or similar device and if the regular UUIDs don't work , you must first query it for it's supported UUIDs and then use that to connect to it. |
I have same error. I'm use SPP + BluetoothProfile.HEADSET. but add |
when bluetoothSocket.connect();
log:
getBluetoothService() called with no BluetoothManagerCallback
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
The text was updated successfully, but these errors were encountered: